diff options
author | cyBerta <cyberta@riseup.net> | 2021-07-30 18:22:12 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2021-11-14 19:40:47 +0100 |
commit | d366b98aafdb0b211ed7b3870354477ffc250462 (patch) | |
tree | 9de2cdfdc397c627b31cb9dae1702270226dcc61 /app/src/main/res | |
parent | 645545a86bdd1bc832ad2d14f17f5727e352356c (diff) |
show bridges icon in gateway selector for locations supporting them
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/v_select_text_list_item.xml | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/app/src/main/res/layout/v_select_text_list_item.xml b/app/src/main/res/layout/v_select_text_list_item.xml index 1d7054a4..373de14f 100644 --- a/app/src/main/res/layout/v_select_text_list_item.xml +++ b/app/src/main/res/layout/v_select_text_list_item.xml @@ -16,14 +16,25 @@ tools:visibility="visible" /> + <androidx.appcompat.widget.AppCompatImageView + android:id="@+id/bridge_image" + android:layout_width="56dp" + android:layout_height="match_parent" + android:layout_toStartOf="@id/quality" + android:layout_toLeftOf="@id/quality" + android:src="@drawable/ic_bridge_36" + tools:visibility="visible" + android:visibility="gone" + /> + <androidx.appcompat.widget.AppCompatTextView android:id="@+id/location" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentStart="true" android:layout_alignParentLeft="true" - android:layout_toStartOf="@id/quality" - android:layout_toLeftOf="@id/quality" + android:layout_toStartOf="@id/bridge_image" + android:layout_toLeftOf="@id/bridge_image" android:ellipsize="end" android:gravity="center_vertical" android:minHeight="?android:attr/listPreferredItemHeightLarge" |