widgets: add controls to minimal widget

Backtrack and add controls to the minimal widget, mostly for usability.
This commit is contained in:
OxygenCobalt
2021-08-03 09:05:20 -06:00
parent 8673995630
commit d3e738b973
15 changed files with 260 additions and 95 deletions
+2 -3
View File
@@ -1,6 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@android:id/background"
android:layout_width="match_parent"
android:layout_height="match_parent"
@@ -12,8 +11,8 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:alpha="0.3"
android:contentDescription="@string/description_placeholder_cover"
android:scaleType="centerCrop"
tools:ignore="contentDescription"
android:src="@drawable/ic_song" />
<android.widget.TextView
@@ -21,8 +20,8 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:gravity="center"
android:fontFamily="@font/inter"
android:gravity="center"
android:padding="@dimen/spacing_medium"
android:text="@string/placeholder_playback"
android:textAppearance="@style/TextAppearance.MaterialComponents.Headline6"