improve widget layouts and simplify code
This commit is contained in:
parent
c6d17d7589
commit
971735b0b9
8 changed files with 98 additions and 100 deletions
|
|
@ -14,7 +14,6 @@
|
|||
android:layout_height="match_parent"
|
||||
android:adjustViewBounds="true"
|
||||
android:scaleType="centerCrop"
|
||||
tools:ignore="ContentDescription"
|
||||
tools:src="@drawable/default_album_art" />
|
||||
|
||||
<RelativeLayout
|
||||
|
|
@ -67,8 +66,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_above="@+id/media_actions"
|
||||
android:layout_alignParentTop="true"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:layout_marginHorizontal="16dp"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
|
@ -76,7 +74,7 @@
|
|||
android:id="@+id/title"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
|
||||
android:textColor="@color/ate_primary_text_light"
|
||||
|
|
@ -86,8 +84,8 @@
|
|||
android:id="@+id/text"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:singleLine="true"
|
||||
android:gravity="center"
|
||||
android:maxLines="2"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Caption"
|
||||
android:textColor="@color/ate_secondary_text_light"
|
||||
tools:text="Text" />
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue