summaryrefslogtreecommitdiffhomepage
path: root/ui/src/main/res/layout/tv_activity.xml
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-09-22 18:25:46 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2020-09-22 23:54:14 +0200
commit93fb3b345b128b7a194c07dbd55f2dc810b502a5 (patch)
treef8a91aea072464b2e31725ff69134b6f20378f0b /ui/src/main/res/layout/tv_activity.xml
parent8b596697b72370ff86995cc2e957badf5c7261f0 (diff)
tv: use plus instead of text for importing
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.xml7
1 files changed, 4 insertions, 3 deletions
diff --git a/ui/src/main/res/layout/tv_activity.xml b/ui/src/main/res/layout/tv_activity.xml
index 1a45769f..376f6e1d 100644
--- a/ui/src/main/res/layout/tv_activity.xml
+++ b/ui/src/main/res/layout/tv_activity.xml
@@ -57,13 +57,14 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="16dp"
- android:text="@string/create_from_file"
- android:textColor="?attr/colorOnPrimary"
+ android:minWidth="0dp"
android:visibility="@{isDeleting ? View.GONE : View.VISIBLE}"
+ app:icon="@drawable/ic_action_add_white"
+ app:iconPadding="0dp"
+ app:iconTint="?attr/colorOnPrimary"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" />
- <!-- TODO: ic_action_generate is wrong. this should instead be a "return"/"back" icon -->
<com.google.android.material.button.MaterialButton
android:id="@+id/delete_button"
style="@style/Widget.MaterialComponents.Button"