From a7ba31c4ae375429cdd722fd1d8bf56052958a63 Mon Sep 17 00:00:00 2001 From: Dmitry Tretyakov <76806170+tretdm@users.noreply.github.com> Date: Sat, 11 Feb 2023 22:19:36 +0700 Subject: [PATCH] build 15 --- app/build.gradle | 4 +- app/src/main/AndroidManifest.xml | 9 + .../ui/core/activities/AppActivity.java | 2 +- .../ui/core/activities/AuthActivity.java | 94 ++++++++- .../core/activities/MainSettingsActivity.java | 190 ++++++++++++++++++ .../app/AboutApplicationFragment.java | 2 +- .../fragments/app/MainSettingsFragment.java | 30 ++- .../app/PersonalizationFragment.java | 14 ++ .../core/fragments/app/ProfileFragment.java | 18 +- .../ui/core/fragments/auth/AuthFragment.java | 25 +++ .../fragments/auth/AuthProgressFragment.java | 21 +- .../adapters/DialogSingleChoiceAdapter.java | 17 ++ .../ui/list/adapters/FriendsAdapter.java | 2 +- .../ui/list/adapters/NewsfeedAdapter.java | 6 +- .../ui/util/OvkAlertDialogBuilder.java | 50 ++++- .../ui/view/layouts/ProfileHeader.java | 2 +- .../ui/view/layouts/ProgressLayout.java | 2 +- .../main/res/drawable/photo_placeholder.xml | 12 ++ app/src/main/res/layout-night/auth_screen.xml | 79 ++++++++ ...rogress_fragment.xml => auth_progress.xml} | 0 app/src/main/res/layout/auth_screen.xml | 95 ++++++--- app/src/main/res/menu/app_auth.xml | 10 + app/src/main/res/values/colors.xml | 4 +- app/src/main/res/xml/main_pref.xml | 17 +- app/src/main/res/xml/person_perf.xml | 4 + 25 files changed, 650 insertions(+), 59 deletions(-) create mode 100644 app/src/main/java/uk/openvk/android/refresh/ui/core/activities/MainSettingsActivity.java create mode 100644 app/src/main/res/drawable/photo_placeholder.xml create mode 100644 app/src/main/res/layout-night/auth_screen.xml rename app/src/main/res/layout/{auth_progress_fragment.xml => auth_progress.xml} (100%) create mode 100644 app/src/main/res/menu/app_auth.xml diff --git a/app/build.gradle b/app/build.gradle index 18af95a..66408dc 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -9,8 +9,8 @@ android { applicationId "uk.openvk.android.refresh" minSdk 21 targetSdk 33 - versionCode 14 - versionName "0.0.14.alpha" + versionCode 15 + versionName "0.0.15.alpha" } buildTypes { diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index b9ed44f..f2ac5a1 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -37,6 +37,15 @@ android:windowSoftInputMode="adjustResize" android:configChanges="orientation|screenSize|screenLayout|keyboardHidden|mcc|mnc|uiMode" android:label="@string/title_activity_auth" /> + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout-night/auth_screen.xml b/app/src/main/res/layout-night/auth_screen.xml new file mode 100644 index 0000000..2f55c56 --- /dev/null +++ b/app/src/main/res/layout-night/auth_screen.xml @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/layout/auth_progress_fragment.xml b/app/src/main/res/layout/auth_progress.xml similarity index 100% rename from app/src/main/res/layout/auth_progress_fragment.xml rename to app/src/main/res/layout/auth_progress.xml diff --git a/app/src/main/res/layout/auth_screen.xml b/app/src/main/res/layout/auth_screen.xml index a40cb03..afb05cf 100644 --- a/app/src/main/res/layout/auth_screen.xml +++ b/app/src/main/res/layout/auth_screen.xml @@ -1,35 +1,80 @@ - - - - + android:layout_height="match_parent"> + + + + + + - + + + + + + app:layout_constraintTop_toBottomOf="@+id/appbar"> + + + + + + + + + + - \ No newline at end of file + \ No newline at end of file diff --git a/app/src/main/res/menu/app_auth.xml b/app/src/main/res/menu/app_auth.xml new file mode 100644 index 0000000..82045a2 --- /dev/null +++ b/app/src/main/res/menu/app_auth.xml @@ -0,0 +1,10 @@ + + + + \ No newline at end of file diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index 9e2cde7..33371ad 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -54,9 +54,9 @@ #263238 - #009688 + #80cbc4 #14171a - #12009688 + #1280cbc4 #14171a #009688 #009688 diff --git a/app/src/main/res/xml/main_pref.xml b/app/src/main/res/xml/main_pref.xml index efd073b..04cd530 100644 --- a/app/src/main/res/xml/main_pref.xml +++ b/app/src/main/res/xml/main_pref.xml @@ -1,7 +1,12 @@ + xmlns:app="http://schemas.android.com/apk/res-auto" + app:key="pref_screen"> + + + app:iconSpaceReserved="false" + app:key="account_category" + app:title="@string/pref_account"> + app:title="@string/pref_logout" /> + +