Statistics description layout for smaller screens (#4005)

This commit is contained in:
Tony Tam 2020-04-06 00:08:10 -07:00 committed by GitHub
parent 12781c9101
commit 06c5e4b8e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 36 additions and 32 deletions

View File

@ -10,18 +10,22 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_centerInParent="true" android:layout_centerInParent="true"
android:layout_marginLeft="8dp"
android:layout_marginRight="8dp" android:layout_marginRight="8dp"
android:maxWidth="800dp" android:maxWidth="800dp"
android:minWidth="460dp" /> android:minWidth="460dp"
android:layout_marginLeft="8dp" />
<TextView <TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:id="@+id/total_description" android:id="@+id/total_description"
android:textSize="14sp" android:layout_height="wrap_content"
android:gravity="center_horizontal" android:layout_width="wrap_content"
android:layout_above="@+id/total_time"/> android:layout_centerHorizontal="true"
android:textAlignment="center"
android:layout_marginLeft="56dp"
android:layout_marginRight="56dp"
android:maxLines="3"
android:layout_above="@id/total_time"
android:textSize="14sp" />
<TextView <TextView
android:layout_width="match_parent" android:layout_width="match_parent"