diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-09-22 19:21:41 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2020-09-22 23:54:23 +0200 |
commit | 8c2029870f53ecae8834f73d85f6a04ab79f8050 (patch) | |
tree | 6342756e02d487e652b1380c694e53bfcb16c9b1 /ui/src/main/res/layout/tv_activity.xml | |
parent | a5031a44a0f9618e35e77121040d7ce2fd968183 (diff) |
tv: make logo almost better
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'ui/src/main/res/layout/tv_activity.xml')
-rw-r--r-- | ui/src/main/res/layout/tv_activity.xml | 26 |
1 files changed, 19 insertions, 7 deletions
diff --git a/ui/src/main/res/layout/tv_activity.xml b/ui/src/main/res/layout/tv_activity.xml index 1fd708be..62c04076 100644 --- a/ui/src/main/res/layout/tv_activity.xml +++ b/ui/src/main/res/layout/tv_activity.xml @@ -26,15 +26,27 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - <!-- TODO: Make into a neat square above the selection squares --> - <ImageView + <com.google.android.material.card.MaterialCardView android:id="@+id/banner_logo" - android:layout_width="240dp" - android:layout_height="50dp" - android:contentDescription="@string/app_name" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:layout_marginStart="5dp" + android:layout_marginTop="5dp" + app:cardElevation="2dp" + app:contentPadding="0dp" app:layout_constraintStart_toStartOf="parent" - app:layout_constraintTop_toTopOf="parent" - app:srcCompat="@drawable/tv_logo_banner" /> + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintTop_toTopOf="parent"> + + <ImageView + android:layout_width="320dp" + android:layout_height="67dp" + android:contentDescription="@string/app_name" + android:scaleType="fitXY" + app:srcCompat="@drawable/tv_logo_banner" /> + + </com.google.android.material.card.MaterialCardView> <androidx.recyclerview.widget.RecyclerView android:id="@+id/tunnel_list" |