aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/res
diff options
context:
space:
mode:
authorChristian Schneppe <christian@pix-art.de>2018-05-27 00:36:38 +0200
committerChristian Schneppe <christian@pix-art.de>2018-05-27 00:36:38 +0200
commita6207e7b144733d67519d7539e1c33501258f64f (patch)
tree117d5c2209a086711a23a9438cb62554be804643 /src/main/res
parent0444ee9d4a90e9a2fc2c1c377438e93b6c0dfb97 (diff)
show buttons to privacy policy and terms of use during account creation on our server pix-art.de
Diffstat (limited to 'src/main/res')
-rw-r--r--src/main/res/layout/activity_edit_account.xml30
1 files changed, 30 insertions, 0 deletions
diff --git a/src/main/res/layout/activity_edit_account.xml b/src/main/res/layout/activity_edit_account.xml
index f4f01dea1..8a77f939a 100644
--- a/src/main/res/layout/activity_edit_account.xml
+++ b/src/main/res/layout/activity_edit_account.xml
@@ -57,6 +57,7 @@
app:riv_corner_radius="5dp" />
<LinearLayout
+ android:id="@+id/jid_password_box"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/avater"
@@ -163,6 +164,35 @@
android:layout_marginTop="8dp"
android:text="@string/register_account" />
</LinearLayout>
+
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_below="@id/jid_password_box"
+ android:orientation="vertical">
+
+ <Button
+ android:id="@+id/show_privacy_policy"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_gravity="center_horizontal"
+ android:layout_marginBottom="4dp"
+ android:layout_marginTop="4dp"
+ android:text="@string/show_privacy"
+ android:visibility="gone" />
+
+ <Button
+ android:id="@+id/show_terms_of_use"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_centerHorizontal="true"
+ android:layout_gravity="center_horizontal"
+ android:layout_marginBottom="4dp"
+ android:layout_marginTop="4dp"
+ android:text="@string/show_termsofuse"
+ android:visibility="gone" />
+ </LinearLayout>
</RelativeLayout>
</android.support.v7.widget.CardView>