summaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/v_location_button.xml8
1 files changed, 6 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 8cba9d70..11410c62 100644
--- a/app/src/main/res/layout/v_location_button.xml
+++ b/app/src/main/res/layout/v_location_button.xml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_gravity="center_vertical"
@@ -14,7 +15,7 @@
android:layout_height="wrap_content"
android:layout_alignTop="@+id/text_location"
android:layout_alignBottom="@+id/text_location"
- android:scaleType="fitXY"
+ android:scaleType="fitCenter"
android:src="@drawable/ic_web"
android:layout_gravity="center"
/>
@@ -42,7 +43,10 @@
android:maxLines="1"
android:ellipsize="end"
android:layout_height="wrap_content"
- android:layout_width="wrap_content"
+ android:layout_width="match_parent"
+ app:autoSizeTextType="uniform"
+ android:gravity="center_vertical"
+ app:autoSizeMinTextSize="15sp"
android:layout_toEndOf="@id/recommended_icn"
android:layout_toRightOf="@+id/recommended_icn"
android:layout_toLeftOf="@+id/bridge_icn"