diff options
author | cyBerta <cyberta@riseup.net> | 2021-07-30 18:22:12 +0200 |
---|---|---|
committer | cyBerta <cyberta@riseup.net> | 2021-11-15 16:13:41 +0100 |
commit | 84d604de74d46c9d29d8d8ae20467c0320d2ffb3 (patch) | |
tree | 62e61755f30469272b15e2bed548044d71aefd53 /app/src/main/res | |
parent | 5c4c3cde26fafbd763e4a879dc46ca959b1a7d27 (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" |