diff options
-rw-r--r-- | ui/src/main/res/layout/tv_activity.xml | 7 |
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" |