aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/ui/src/main/res/layout/tv_tunnel_list_item.xml
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2020-09-22 19:21:41 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2020-09-22 23:54:23 +0200
commit8c2029870f53ecae8834f73d85f6a04ab79f8050 (patch)
tree6342756e02d487e652b1380c694e53bfcb16c9b1 /ui/src/main/res/layout/tv_tunnel_list_item.xml
parenttv: anchor RV bottom to top of delete button (diff)
downloadwireguard-android-8c2029870f53ecae8834f73d85f6a04ab79f8050.tar.xz
wireguard-android-8c2029870f53ecae8834f73d85f6a04ab79f8050.zip
tv: make logo almost better
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to '')
-rw-r--r--ui/src/main/res/layout/tv_tunnel_list_item.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/ui/src/main/res/layout/tv_tunnel_list_item.xml b/ui/src/main/res/layout/tv_tunnel_list_item.xml
index 00edabc5..f37f4cc6 100644
--- a/ui/src/main/res/layout/tv_tunnel_list_item.xml
+++ b/ui/src/main/res/layout/tv_tunnel_list_item.xml
@@ -26,8 +26,8 @@
<!-- Rather than changing the background tint to red for deleting mode, it should instead just change the selection color -->
<com.google.android.material.card.MaterialCardView
- android:layout_width="300dp"
- android:layout_height="150dp"
+ android:layout_width="280dp"
+ android:layout_height="130dp"
android:layout_margin="8dp"
android:backgroundTint="@{isDeleting ? @color/error_tag_color : item.state == State.UP ? @color/secondary_dark_color : @color/tv_card_background}"
android:checkable="true"