summaryrefslogtreecommitdiffhomepage
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorJason A. Donenfeld <Jason@zx2c4.com>2018-07-30 15:26:33 +0200
committerJason A. Donenfeld <Jason@zx2c4.com>2018-07-30 16:28:03 +0200
commit75dfa0643be6967b2c99f5a42f179003d41bde3f (patch)
tree7d3a759a2db83692906a230db6824a1babd8cd85 /app/src/main/res/layout
parentd5cde431589ee4de8d3d1c019e65f4b9e609a301 (diff)
Show different color for multiselection
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/tunnel_list_item.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/src/main/res/layout/tunnel_list_item.xml b/app/src/main/res/layout/tunnel_list_item.xml
index ba36fe65..cf25b83e 100644
--- a/app/src/main/res/layout/tunnel_list_item.xml
+++ b/app/src/main/res/layout/tunnel_list_item.xml
@@ -25,7 +25,7 @@
type="com.wireguard.android.fragment.TunnelListFragment" />
</data>
- <RelativeLayout
+ <com.wireguard.android.widget.MultiselectableRelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@drawable/list_item_background"
@@ -51,5 +51,5 @@
android:layout_alignParentEnd="true"
app:checked="@{item.state == State.UP}"
app:onBeforeCheckedChanged="@{fragment::setTunnelState}" />
- </RelativeLayout>
+ </com.wireguard.android.widget.MultiselectableRelativeLayout>
</layout>