diff options
author | Samuel Holland <samuel@sholland.org> | 2017-08-16 04:29:04 -0500 |
---|---|---|
committer | Samuel Holland <samuel@sholland.org> | 2017-08-16 04:29:04 -0500 |
commit | 4ac1a2fafc4367fe8ba653ddbb104f8d0fb48b1b (patch) | |
tree | a82a28df3e5f5403b4011f51ba0a5af86ed79537 /app/src/main/res/layout | |
parent | a5e2c1c1b3bea5606dd550cf3f14c09c428fafee (diff) |
ConfigList: Denote the primary config with bold text
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/config_list_item.xml | 5 |
1 files changed, 4 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 23935fdc..30553bc7 100644 --- a/app/src/main/res/layout/config_list_item.xml +++ b/app/src/main/res/layout/config_list_item.xml @@ -3,6 +3,8 @@ <data> + <import type="android.graphics.Typeface" /> + <import type="com.wireguard.android.VpnService" /> <variable @@ -23,7 +25,8 @@ android:layout_height="wrap_content" android:layout_alignParentStart="true" android:layout_toStartOf="@+id/config_switch" - android:text="@{item.name}" /> + android:text="@{item.name}" + android:textStyle="@{item.primary ? Typeface.DEFAULT_BOLD : Typeface.DEFAULT}" /> <TextView android:id="@+id/config_switch" |