diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2023-03-27 21:13:24 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2023-03-28 00:51:47 +0530 |
commit | 76423ce868e8e691fec8aec34f20d7d3f9689d48 (patch) | |
tree | f941178aab89c238d0652a232a4257a6ac6eeacd /ui/src/main/res/layout/tv_activity.xml | |
parent | b37006ce2fea12a2346c2d0fcddb4091b58b079a (diff) |
ui: use M3 styles everywhere
Signed-off-by: Harsh Shandilya <me@msfjarvis.dev>
Diffstat (limited to 'ui/src/main/res/layout/tv_activity.xml')
-rw-r--r-- | ui/src/main/res/layout/tv_activity.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ui/src/main/res/layout/tv_activity.xml b/ui/src/main/res/layout/tv_activity.xml index 16207b15..8e66c4e3 100644 --- a/ui/src/main/res/layout/tv_activity.xml +++ b/ui/src/main/res/layout/tv_activity.xml @@ -82,12 +82,12 @@ <TextView android:id="@+id/files_root_label" - style="@style/TextAppearance.MaterialComponents.Headline5" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:layout_marginStart="8dp" android:text="@{filesRoot}" + android:textAppearance="?attr/textAppearanceTitleLarge" android:visibility="@{filesRoot.isEmpty ? View.GONE : View.VISIBLE}" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/banner_logo" @@ -113,11 +113,11 @@ tools:visibility="gone" /> <TextView - style="@style/TextAppearance.MaterialComponents.Headline4" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:text="@string/tv_add_tunnel_get_started" + android:textAppearance="?attr/textAppearanceHeadlineSmall" android:visibility="@{(filesRoot.isEmpty && tunnels.isEmpty) ? View.VISIBLE : View.GONE}" app:layout_constraintBottom_toTopOf="@id/delete_button" app:layout_constraintEnd_toEndOf="parent" @@ -127,7 +127,7 @@ <com.google.android.material.button.MaterialButton android:id="@+id/import_button" - style="@style/Widget.MaterialComponents.Button" + style="@style/Widget.Material3.Button.IconButton" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="16dp" @@ -141,7 +141,7 @@ <com.google.android.material.button.MaterialButton android:id="@+id/delete_button" - style="@style/Widget.MaterialComponents.Button" + style="@style/Widget.Material3.Button.IconButton" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_margin="16dp" |