diff options
author | Torsten Grote <t@grobox.de> | 2020-06-26 11:25:48 -0300 |
---|---|---|
committer | Torsten Grote <t@grobox.de> | 2020-06-26 11:25:48 -0300 |
commit | 9cbb35ccc65db7b5d8ce1afe4b3c5feae30be1eb (patch) | |
tree | 4e3c857575303b689a0e4c15915ef2ec274a9187 /anastasis-ui/src/main/res/layout/fragment_change_location.xml | |
parent | 730fbaa702b467669c4b88f6c03fa3e1823abf73 (diff) | |
download | taler-android-9cbb35ccc65db7b5d8ce1afe4b3c5feae30be1eb.tar.gz taler-android-9cbb35ccc65db7b5d8ce1afe4b3c5feae30be1eb.tar.bz2 taler-android-9cbb35ccc65db7b5d8ce1afe4b3c5feae30be1eb.zip |
[anastasis] add more countries and allow switching between them
Diffstat (limited to 'anastasis-ui/src/main/res/layout/fragment_change_location.xml')
-rw-r--r-- | anastasis-ui/src/main/res/layout/fragment_change_location.xml | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/anastasis-ui/src/main/res/layout/fragment_change_location.xml b/anastasis-ui/src/main/res/layout/fragment_change_location.xml new file mode 100644 index 0000000..93c919f --- /dev/null +++ b/anastasis-ui/src/main/res/layout/fragment_change_location.xml @@ -0,0 +1,74 @@ +<?xml version="1.0" encoding="utf-8"?><!-- + ~ This file is part of GNU Taler + ~ (C) 2020 Taler Systems S.A. + ~ + ~ GNU Taler is free software; you can redistribute it and/or modify it under the + ~ terms of the GNU General Public License as published by the Free Software + ~ Foundation; either version 3, or (at your option) any later version. + ~ + ~ GNU Taler is distributed in the hope that it will be useful, but WITHOUT ANY + ~ WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR + ~ A PARTICULAR PURPOSE. See the GNU General Public License for more details. + ~ + ~ You should have received a copy of the GNU General Public License along with + ~ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/> + --> + +<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" + xmlns:app="http://schemas.android.com/apk/res-auto" + android:layout_width="match_parent" + android:layout_height="match_parent"> + + <TextView + android:id="@+id/usaView" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_marginTop="16dp" + android:background="?selectableItemBackground" + android:padding="16dp" + android:text="United States" + android:textAppearance="@style/TextAppearance.AppCompat.Medium" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toTopOf="parent" /> + + <TextView + android:id="@+id/germanyView" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_marginTop="16dp" + android:background="?selectableItemBackground" + android:padding="16dp" + android:text="Germany" + android:textAppearance="@style/TextAppearance.AppCompat.Medium" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/usaView" /> + + <TextView + android:id="@+id/switzerlandView" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_marginTop="16dp" + android:background="?selectableItemBackground" + android:padding="16dp" + android:text="Switzerland" + android:textAppearance="@style/TextAppearance.AppCompat.Medium" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/germanyView" /> + + <TextView + android:id="@+id/indiaView" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_marginTop="16dp" + android:background="?selectableItemBackground" + android:padding="16dp" + android:text="India" + android:textAppearance="@style/TextAppearance.AppCompat.Medium" + app:layout_constraintEnd_toEndOf="parent" + app:layout_constraintStart_toStartOf="parent" + app:layout_constraintTop_toBottomOf="@+id/switzerlandView" /> + +</androidx.constraintlayout.widget.ConstraintLayout> |