From f916a826b575cc98b7c0a803cc9dc987e6d9b38a Mon Sep 17 00:00:00 2001 From: Prathamesh More Date: Tue, 24 May 2022 12:14:42 +0530 Subject: [PATCH] Fixed UserInfo fragment for Landscape --- app/build.gradle | 2 +- .../res/layout-land/fragment_user_info.xml | 99 +++++++++++++++++++ .../main/res/layout/fragment_user_info.xml | 16 ++- 3 files changed, 107 insertions(+), 10 deletions(-) create mode 100644 app/src/main/res/layout-land/fragment_user_info.xml diff --git a/app/build.gradle b/app/build.gradle index 1e6fccc93..5a8e5a29c 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -14,7 +14,7 @@ android { vectorDrawables.useSupportLibrary = true applicationId "code.name.monkey.retromusic" - versionCode 10582 + versionCode 10583 versionName '5.9.0' buildConfigField("String", "GOOGLE_PLAY_LICENSING_KEY", "\"${getProperty(getProperties('../public.properties'), 'GOOGLE_PLAY_LICENSE_KEY')}\"") diff --git a/app/src/main/res/layout-land/fragment_user_info.xml b/app/src/main/res/layout-land/fragment_user_info.xml new file mode 100644 index 000000000..05d9a3ef8 --- /dev/null +++ b/app/src/main/res/layout-land/fragment_user_info.xml @@ -0,0 +1,99 @@ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_user_info.xml b/app/src/main/res/layout/fragment_user_info.xml index f355c0bd8..ac0193df6 100644 --- a/app/src/main/res/layout/fragment_user_info.xml +++ b/app/src/main/res/layout/fragment_user_info.xml @@ -35,11 +35,11 @@ android:layout_height="0dp" android:layout_margin="16dp" android:scaleType="centerCrop" + android:transitionName="banner_image" app:layout_constraintDimensionRatio="21:10" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" - android:transitionName="banner_image" app:shapeAppearanceOverlay="@style/circleImageView" app:srcCompat="@drawable/material_design_default" /> @@ -86,15 +86,13 @@ - + android:src="@drawable/ic_save" + android:text="@string/save" /> \ No newline at end of file