summaryrefslogtreecommitdiffhomepage
path: root/android/src/main/res/layout
diff options
context:
space:
mode:
authorJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-09-03 08:13:45 +0000
committerJanito Vaqueiro Ferreira Filho <janito@mullvad.net>2020-09-03 10:13:36 +0000
commit1cbab38ade96b3df42b6165fbfb0658c68bb9ace (patch)
tree7912d4cbaec5a2da24c5d58ebe9e5829c3adfdbd /android/src/main/res/layout
parent569f33079abe275f7ba01c6dc1f9bf57b049ebe8 (diff)
downloadmullvadvpn-1cbab38ade96b3df42b6165fbfb0658c68bb9ace.tar.xz
mullvadvpn-1cbab38ade96b3df42b6165fbfb0658c68bb9ace.zip
Create `SwitchLocationButton` widget
Diffstat (limited to 'android/src/main/res/layout')
-rw-r--r--android/src/main/res/layout/switch_location_button.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/android/src/main/res/layout/switch_location_button.xml b/android/src/main/res/layout/switch_location_button.xml
new file mode 100644
index 0000000000..d9ed79956f
--- /dev/null
+++ b/android/src/main/res/layout/switch_location_button.xml
@@ -0,0 +1,14 @@
+<merge xmlns:android="http://schemas.android.com/apk/res/android">
+ <Button android:id="@+id/button_with_label"
+ android:layout_gravity="bottom"
+ android:paddingHorizontal="9dp"
+ android:text="@string/switch_location"
+ style="@style/White20Button" />
+ <Button android:id="@+id/button_with_location"
+ android:layout_gravity="bottom"
+ android:paddingHorizontal="9dp"
+ android:text="@string/switch_location"
+ android:drawableRight="@drawable/icon_chevron"
+ android:visibility="invisible"
+ style="@style/White20Button" />
+</merge>