aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorSamuel Holland <samuel@sholland.org>2017-11-08 00:07:29 -0600
committerSamuel Holland <samuel@sholland.org>2017-11-08 00:07:29 -0600
commit51ae22f211e0a17c817c9a45941c1e50bbd8d245 (patch)
tree4fa0ddb7e66d738b38b697706110e064273cdd86 /app/src/main/res/layout
parentBindings: Move to a separate package (diff)
downloadwireguard-android-51ae22f211e0a17c817c9a45941c1e50bbd8d245.tar.xz
wireguard-android-51ae22f211e0a17c817c9a45941c1e50bbd8d245.zip
Bindings: Merge bugfixes and updates
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/config_list_item.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/src/main/res/layout/config_list_item.xml b/app/src/main/res/layout/config_list_item.xml
index d15d48d6..cdc0723a 100644
--- a/app/src/main/res/layout/config_list_item.xml
+++ b/app/src/main/res/layout/config_list_item.xml
@@ -8,6 +8,10 @@
<import type="com.wireguard.android.VpnService" />
<variable
+ name="key"
+ type="String" />
+
+ <variable
name="item"
type="com.wireguard.config.Config" />
</data>
@@ -27,7 +31,7 @@
android:layout_toStartOf="@+id/config_switch"
android:ellipsize="end"
android:maxLines="1"
- android:text="@{item.name}"
+ android:text="@{key}"
android:textStyle="@{item.primary ? Typeface.DEFAULT_BOLD : Typeface.DEFAULT}" />
<TextView