From 22c5237129d0b64a7cd4563cf392fba12a3fa931 Mon Sep 17 00:00:00 2001 From: Alexander Bakker Date: Tue, 2 Jan 2018 18:49:35 +0100 Subject: [PATCH] Improve the layout of EditProfileActivity a bit It's still pretty broken --- app/src/main/AndroidManifest.xml | 5 +- .../main/res/layout/activity_edit_profile.xml | 335 +++++++++--------- app/src/main/res/values/styles.xml | 2 +- 3 files changed, 173 insertions(+), 169 deletions(-) diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index fee42525..7434242e 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -39,7 +39,7 @@ + android:theme="@style/AppTheme.Default.TransparentActionBar"> + android:launchMode="singleTop" + android:theme="@style/AppTheme.Default.NoActionBar"> diff --git a/app/src/main/res/layout/activity_edit_profile.xml b/app/src/main/res/layout/activity_edit_profile.xml index c80a4943..c92d6b44 100644 --- a/app/src/main/res/layout/activity_edit_profile.xml +++ b/app/src/main/res/layout/activity_edit_profile.xml @@ -1,185 +1,188 @@ - + android:orientation="vertical"> - + - - - - - - - + android:descendantFocusability="beforeDescendants" + android:focusableInTouchMode="true"> - - + + - - + - - - + - - - - - - - - - - - - - - - - + - - - - + + + + + + + + + + - - + android:src="@drawable/ic_info_outline_black_24dp" + android:layout_weight="1" + android:layout_marginTop="10dp" + android:tint="@color/cardview_dark_background" + android:layout_marginStart="15dp" + android:layout_marginEnd="20dp"/> - - - - - - - - + android:orientation="horizontal" + android:gravity="center_vertical"> + + + + - + - - + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index aeff5f45..94b42912 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -30,7 +30,7 @@