From 21d9a951c4e4e91fce19d16c17f907a4fff30a4e Mon Sep 17 00:00:00 2001 From: Avinash Sharma <133222313+Avinash-Codes@users.noreply.github.com> Date: Tue, 7 Jan 2025 00:49:14 +0530 Subject: [PATCH] all: smoother mode switch (fixes #4931) (#4918) Co-authored-by: dogi --- app/build.gradle | 4 +-- .../res/layout-large-land/activity_login.xml | 27 ++++++++++++----- .../res/layout-normal-land/activity_login.xml | 27 ++++++++++++----- .../res/layout-xlarge-land/activity_login.xml | 29 +++++++++++++------ 4 files changed, 60 insertions(+), 27 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 8100b90b4e..870334e27a 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -10,8 +10,8 @@ android { applicationId "org.ole.planet.myplanet" minSdkVersion 26 targetSdkVersion 34 - versionCode 2168 - versionName "0.21.68" + versionCode 2169 + versionName "0.21.69" ndkVersion '21.3.6528147' testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" vectorDrawables.useSupportLibrary = true diff --git a/app/src/main/res/layout-large-land/activity_login.xml b/app/src/main/res/layout-large-land/activity_login.xml index 54904c34a7..92956d7d32 100644 --- a/app/src/main/res/layout-large-land/activity_login.xml +++ b/app/src/main/res/layout-large-land/activity_login.xml @@ -18,6 +18,7 @@ android:layout_height="match_parent" android:layout_weight="1" android:orientation="vertical" + android:background="@color/light_dark" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent"> @@ -43,7 +44,8 @@ android:textAlignment="center" app:layout_constraintEnd_toStartOf="@+id/imgBtnSetting" app:layout_constraintStart_toEndOf="@+id/syncIcon" - app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintTop_toTopOf="parent" + android:textColor="@color/daynight_textColor" /> + app:srcCompat="@drawable/ic_settings_black_24dp" + app:tint="@color/daynight_textColor"/> + android:textColor="@color/daynight_textColor" /> + app:passwordToggleEnabled="true" + app:passwordToggleTint="@color/daynight_textColor"> + android:textColor="@color/daynight_textColor"/>