reduce dependence on deprecated theming library
This commit is contained in:
parent
4f43ed81df
commit
ec2162b4b7
23 changed files with 80 additions and 83 deletions
|
|
@ -5,8 +5,7 @@
|
|||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@drawable/card"
|
||||
android:orientation="horizontal"
|
||||
tools:ignore="ContentDescription">
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image"
|
||||
|
|
@ -14,6 +13,7 @@
|
|||
android:layout_height="match_parent"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
tools:ignore="ContentDescription"
|
||||
tools:src="@drawable/default_album_art" />
|
||||
|
||||
<RelativeLayout
|
||||
|
|
@ -37,8 +37,9 @@
|
|||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/widget_selector_light"
|
||||
android:contentDescription="@string/action_previous"
|
||||
tools:src="@drawable/ic_skip_previous_white_24dp"
|
||||
tools:tint="@color/ate_secondary_text_light" />
|
||||
tools:tint="?android:textColorPrimary" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/button_toggle_play_pause"
|
||||
|
|
@ -46,8 +47,9 @@
|
|||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/widget_selector_light"
|
||||
android:contentDescription="@string/action_play_pause"
|
||||
tools:src="@drawable/ic_play_arrow_white_24dp"
|
||||
tools:tint="@color/ate_secondary_text_light" />
|
||||
tools:tint="?android:textColorPrimary" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/button_next"
|
||||
|
|
@ -55,8 +57,9 @@
|
|||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/widget_selector_light"
|
||||
android:contentDescription="@string/action_next"
|
||||
tools:src="@drawable/ic_skip_next_white_24dp"
|
||||
tools:tint="@color/ate_secondary_text_light" />
|
||||
tools:tint="?android:textColorPrimary" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
|
@ -77,7 +80,7 @@
|
|||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
|
||||
android:textColor="@color/ate_primary_text_light"
|
||||
android:textColor="?android:textColorPrimary"
|
||||
tools:text="Title" />
|
||||
|
||||
<TextView
|
||||
|
|
@ -87,7 +90,7 @@
|
|||
android:gravity="center"
|
||||
android:maxLines="2"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Caption"
|
||||
android:textColor="@color/ate_secondary_text_light"
|
||||
android:textColor="?android:textColorSecondary"
|
||||
tools:text="Text" />
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue