ConfigList: Denote the primary config with bold text
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
This commit is contained in:
parent
a5e2c1c1b3
commit
4ac1a2fafc
@ -3,6 +3,8 @@
|
|||||||
|
|
||||||
<data>
|
<data>
|
||||||
|
|
||||||
|
<import type="android.graphics.Typeface" />
|
||||||
|
|
||||||
<import type="com.wireguard.android.VpnService" />
|
<import type="com.wireguard.android.VpnService" />
|
||||||
|
|
||||||
<variable
|
<variable
|
||||||
@ -23,7 +25,8 @@
|
|||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_alignParentStart="true"
|
android:layout_alignParentStart="true"
|
||||||
android:layout_toStartOf="@+id/config_switch"
|
android:layout_toStartOf="@+id/config_switch"
|
||||||
android:text="@{item.name}" />
|
android:text="@{item.name}"
|
||||||
|
android:textStyle="@{item.primary ? Typeface.DEFAULT_BOLD : Typeface.DEFAULT}" />
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/config_switch"
|
android:id="@+id/config_switch"
|
||||||
|
Loading…
Reference in New Issue
Block a user