diff options
author | Alex Ning <chineseperson5@gmail.com> | 2021-11-02 14:39:08 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2021-11-02 14:39:08 +0000 |
commit | 8716eefb47ebab3a75d184041a92e27aeae0eab2 (patch) | |
tree | 108dc62375bfa5a7ecd246edd9348c3127a988f7 /app/src/main/res/layout | |
parent | 3a8c6b0a286cf73eafa580366a6af58697b3cb55 (diff) | |
download | infinity-for-reddit-8716eefb47ebab3a75d184041a92e27aeae0eab2.tar infinity-for-reddit-8716eefb47ebab3a75d184041a92e27aeae0eab2.tar.gz infinity-for-reddit-8716eefb47ebab3a75d184041a92e27aeae0eab2.tar.bz2 infinity-for-reddit-8716eefb47ebab3a75d184041a92e27aeae0eab2.tar.lz infinity-for-reddit-8716eefb47ebab3a75d184041a92e27aeae0eab2.tar.xz infinity-for-reddit-8716eefb47ebab3a75d184041a92e27aeae0eab2.tar.zst infinity-for-reddit-8716eefb47ebab3a75d184041a92e27aeae0eab2.zip |
Minor changes in EditProfileActivity.
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/activity_edit_profile.xml | 19 |
1 files changed, 13 insertions, 6 deletions
diff --git a/app/src/main/res/layout/activity_edit_profile.xml b/app/src/main/res/layout/activity_edit_profile.xml index 6f472c9b..453ad5c4 100644 --- a/app/src/main/res/layout/activity_edit_profile.xml +++ b/app/src/main/res/layout/activity_edit_profile.xml @@ -1,11 +1,10 @@ <?xml version="1.0" encoding="utf-8"?> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" +<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:tools="http://schemas.android.com/tools" android:id="@+id/root_layout_view_edit_profile_activity" android:layout_width="match_parent" android:layout_height="match_parent" - android:orientation="vertical" tools:context=".activities.EditProfileActivity"> <com.google.android.material.appbar.AppBarLayout @@ -22,11 +21,13 @@ app:navigationIcon="?attr/homeAsUpIndicator" app:popupTheme="@style/AppTheme.PopupOverlay" app:title="@string/action_edit_profile" /> + </com.google.android.material.appbar.AppBarLayout> - <ScrollView + <androidx.core.widget.NestedScrollView android:layout_width="match_parent" - android:layout_height="match_parent"> + android:layout_height="match_parent" + app:layout_behavior="@string/appbar_scrolling_view_behavior"> <LinearLayout android:id="@+id/content_view_edit_profile_activity" @@ -62,6 +63,7 @@ android:contentDescription="@null" android:padding="4dp" app:srcCompat="@drawable/ic_outline_add_a_photo_day_night_24dp" /> + </FrameLayout> <FrameLayout @@ -89,7 +91,9 @@ android:contentDescription="@null" android:padding="4dp" app:srcCompat="@drawable/ic_outline_add_a_photo_day_night_24dp" /> + </FrameLayout> + </FrameLayout> <View @@ -131,6 +135,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:text="@string/display_name_description" /> + </LinearLayout> <LinearLayout @@ -163,7 +168,9 @@ android:paddingBottom="16dp" /> </LinearLayout> + </LinearLayout> - </ScrollView> -</LinearLayout>
\ No newline at end of file + </androidx.core.widget.NestedScrollView> + +</androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file |