summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout
diff options
context:
space:
mode:
authorcyBerta <cyberta@riseup.net>2021-11-20 13:42:59 +0100
committercyBerta <cyberta@riseup.net>2021-11-20 13:42:59 +0100
commit9cf45bbcc1e707525fecdac5e691adebf0c28cb5 (patch)
treee848eadcbafe62736b74f66bdac1321a10dd1b22 /app/src/main/res/layout
parent329800842ae9a1be97335f7de9c766b6ed728530 (diff)
show lightning bold instead of text 'You're connected to the recommended location'
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r--app/src/main/res/layout/v_location_button.xml19
1 files changed, 17 insertions, 2 deletions
diff --git a/app/src/main/res/layout/v_location_button.xml b/app/src/main/res/layout/v_location_button.xml
index 6a7214c8..8cba9d70 100644
--- a/app/src/main/res/layout/v_location_button.xml
+++ b/app/src/main/res/layout/v_location_button.xml
@@ -18,6 +18,21 @@
android:src="@drawable/ic_web"
android:layout_gravity="center"
/>
+ <androidx.appcompat.widget.AppCompatImageView
+ android:id="@+id/recommended_icn"
+ android:scaleType="fitXY"
+ android:layout_marginRight="-13dp"
+ android:layout_marginEnd="-13dp"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_alignTop="@id/text_location"
+ android:layout_alignBottom="@+id/text_location"
+ android:layout_toEndOf="@id/world_icn"
+ android:layout_toRightOf="@id/world_icn"
+ android:src="@drawable/ic_lightning_bolt"
+ android:visibility="gone"
+ tools:visibility="visible"
+ />
<androidx.appcompat.widget.AppCompatTextView
android:id="@+id/text_location"
android:paddingStart="@dimen/stdpadding"
@@ -28,8 +43,8 @@
android:ellipsize="end"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
- android:layout_toEndOf="@id/world_icn"
- android:layout_toRightOf="@+id/world_icn"
+ android:layout_toEndOf="@id/recommended_icn"
+ android:layout_toRightOf="@+id/recommended_icn"
android:layout_toLeftOf="@+id/bridge_icn"
android:layout_toStartOf="@+id/bridge_icn"
android:layout_gravity="center_vertical"