summaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/fragment_review_exchange_tos.xml
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/res/layout/fragment_review_exchange_tos.xml')
-rw-r--r--app/src/main/res/layout/fragment_review_exchange_tos.xml80
1 files changed, 38 insertions, 42 deletions
diff --git a/app/src/main/res/layout/fragment_review_exchange_tos.xml b/app/src/main/res/layout/fragment_review_exchange_tos.xml
index 15f1c91..355fe25 100644
--- a/app/src/main/res/layout/fragment_review_exchange_tos.xml
+++ b/app/src/main/res/layout/fragment_review_exchange_tos.xml
@@ -1,5 +1,4 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
+<?xml version="1.0" encoding="utf-8"?><!--
~ This file is part of GNU Taler
~ (C) 2020 Taler Systems S.A.
~
@@ -15,58 +14,55 @@
~ GNU Taler; see the file COPYING. If not, see <http://www.gnu.org/licenses/>
-->
-<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="15dp"
+ android:orientation="vertical"
tools:context=".ReviewExchangeTOS">
- <LinearLayout
+ <ScrollView
android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
-
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1"
- android:scrollbars="vertical">
- <TextView
- android:id="@+id/text_tos"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="TextView" />
- </ScrollView>
+ android:layout_height="0dp"
+ android:layout_weight="1"
+ android:fillViewport="true"
+ android:scrollbars="vertical">
- <CheckBox
- android:id="@+id/checkBox_accept_tos"
+ <TextView
+ android:id="@+id/text_tos"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_weight="0"
- android:text="Accept Terms of Service" />
+ tools:text="TextView" />
+ </ScrollView>
- <LinearLayout
- android:layout_width="match_parent"
+ <CheckBox
+ android:id="@+id/checkBox_accept_tos"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/exchange_tos_accept" />
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal">
+
+ <Button
+ android:id="@+id/button_tos_abort"
+ android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_weight="0"
- android:orientation="horizontal">
- <Button
- android:id="@+id/button_tos_abort"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Cancel" />
- <Space
- android:layout_width="0dp"
- android:layout_height="0dp"
- android:layout_weight="1"/>
+ android:text="@string/button_cancel" />
- <Button
- android:id="@+id/button_tos_accept"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Continue" />
- </LinearLayout>
+ <Space
+ android:layout_width="0dp"
+ android:layout_height="0dp"
+ android:layout_weight="1" />
+ <Button
+ android:id="@+id/button_tos_accept"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:text="@string/exchange_tos_button_continue" />
</LinearLayout>
-</FrameLayout> \ No newline at end of file
+
+</LinearLayout>