diff --git a/Android.bp b/Android.bp index 0a58ee8ea7c..662adbfadb7 100644 --- a/Android.bp +++ b/Android.bp @@ -42,6 +42,9 @@ java_library { libs: [ "app-compat-annotations", ], + optimize: { + proguard_flags_files: ["proguard-core.flags"], + }, } android_library { @@ -55,16 +58,24 @@ android_library { srcs: [ "src/**/*.java", "src/**/*.kt", + "crDroidSettings/src/**/*.java", + "crDroidSettings/src/**/*.kt", ], exclude_srcs: [ "src/com/android/settings/biometrics/fingerprint2/lib/**/*.kt", ], use_resource_processor: true, + + aaptflags: ["--extra-packages com.crdroid.settings"], + resource_dirs: [ "res", "res-export", // for external usage "res-product", + "crDroidSettings/res", + "SettingsGoogle/res", ], + static_libs: [ // External dependencies "androidx.navigation_navigation-fragment-ktx", @@ -83,6 +94,7 @@ android_library { "android.hardware.dumpstate-V1.0-java", "android.hardware.dumpstate-V1.1-java", "com_android_server_accessibility_flags_lib", + "glide", "net-utils-framework-common", "notification_flags_lib", "securebox", @@ -111,6 +123,18 @@ android_library { "setupdesign-lottie-loading-layout", "device_policy_aconfig_flags_lib", "keyboard_flags_lib", + + // Lineage dependencies + "org.lineageos.platform.internal", + "LineagePreferenceLib", + "vendor.lineage.fastcharge-V1.0-java", + "SystemUISharedLib", + "androidx.fragment_fragment", + "androidx.fragment_fragment-ktx", + "androidx.preference_preference-ktx", + "kotlin-stdlib", + "kotlinx_coroutines_android", + "kotlinx_coroutines", ], plugins: [ @@ -176,3 +200,13 @@ filegroup { name: "Settings_proguard_flags", srcs: ["proguard.flags"], } + +filegroup { + name: "Settings_manifest", + srcs: ["AndroidManifest.xml"], +} + +android_library_import { + name: "glide", + aars: ["libs/glide-4.16.0.aar"], +} diff --git a/AndroidManifest.xml b/AndroidManifest.xml index cc4d898403a..041dabf61a5 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -16,6 +16,11 @@ android:name="com.android.settings.USE_BIOMETRIC_PROVIDER" android:protectionLevel="signature|privileged"/> + + + @@ -148,6 +153,12 @@ + + + + + + @@ -513,6 +525,17 @@ android:value="true" /> + + + + + + + + + android:clearTaskOnLaunch="true" + android:theme="@style/Theme.SubSettingsBase"> @@ -955,6 +979,25 @@ android:value="true" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -2995,6 +3059,10 @@ android:enableOnBackInvokedCallback="false" android:excludeFromRecents="true" /> + + @@ -3183,8 +3251,14 @@ android:value="@string/menu_key_connected_devices"/> - + + + + @@ -4084,6 +4158,13 @@ + + + + + + @@ -4657,7 +4738,8 @@ @@ -4903,6 +4985,10 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/SettingsGoogle b/SettingsGoogle new file mode 120000 index 00000000000..f02870c6106 --- /dev/null +++ b/SettingsGoogle @@ -0,0 +1 @@ +../../../vendor/pixel-framework/SettingsGoogle \ No newline at end of file diff --git a/crDroidSettings b/crDroidSettings new file mode 120000 index 00000000000..90884c0e113 --- /dev/null +++ b/crDroidSettings @@ -0,0 +1 @@ +../crDroidSettings \ No newline at end of file diff --git a/libs/glide-4.16.0.aar b/libs/glide-4.16.0.aar new file mode 100644 index 00000000000..91444c3e9e3 Binary files /dev/null and b/libs/glide-4.16.0.aar differ diff --git a/proguard-core.flags b/proguard-core.flags new file mode 100644 index 00000000000..9987dc1dd12 --- /dev/null +++ b/proguard-core.flags @@ -0,0 +1,2 @@ +# crDroidSettings +-keep class com.crdroid.settings.** diff --git a/proguard.flags b/proguard.flags index d1c97f36da5..6e5f14610b6 100644 --- a/proguard.flags +++ b/proguard.flags @@ -7,6 +7,7 @@ # Keep all Fragments in this package, which are used by reflection. -keep public class com.android.settings*.** extends androidx.fragment.app.Fragment +-keep class com.crdroid.settings.** # Keep all preference controllers needed by slice and DashboardFragment. -keep class * extends com.android.settings.core.BasePreferenceController { diff --git a/res/color/audio_icon.xml b/res/color/audio_icon.xml new file mode 100644 index 00000000000..ca93eca8563 --- /dev/null +++ b/res/color/audio_icon.xml @@ -0,0 +1,20 @@ + + + + + + + diff --git a/res/drawable-night/screen_resolution_full.xml b/res/drawable-night/screen_resolution_full.xml new file mode 100644 index 00000000000..3cc91e9b715 --- /dev/null +++ b/res/drawable-night/screen_resolution_full.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/res/drawable-night/screen_resolution_high.xml b/res/drawable-night/screen_resolution_high.xml new file mode 100644 index 00000000000..d37a35e6e98 --- /dev/null +++ b/res/drawable-night/screen_resolution_high.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/res/drawable-nodpi/color_mode_preview1.jpg b/res/drawable-nodpi/color_mode_preview1.jpg deleted file mode 100644 index 71bcb7e59c2..00000000000 Binary files a/res/drawable-nodpi/color_mode_preview1.jpg and /dev/null differ diff --git a/res/drawable-nodpi/color_mode_preview1.webp b/res/drawable-nodpi/color_mode_preview1.webp new file mode 100644 index 00000000000..fa13c4e9983 Binary files /dev/null and b/res/drawable-nodpi/color_mode_preview1.webp differ diff --git a/res/drawable-nodpi/color_mode_preview2.jpg b/res/drawable-nodpi/color_mode_preview2.jpg deleted file mode 100644 index 4153d8e7538..00000000000 Binary files a/res/drawable-nodpi/color_mode_preview2.jpg and /dev/null differ diff --git a/res/drawable-nodpi/color_mode_preview2.webp b/res/drawable-nodpi/color_mode_preview2.webp new file mode 100644 index 00000000000..8448ad296aa Binary files /dev/null and b/res/drawable-nodpi/color_mode_preview2.webp differ diff --git a/res/drawable-nodpi/color_mode_preview3.jpg b/res/drawable-nodpi/color_mode_preview3.jpg deleted file mode 100644 index ab83f08c92c..00000000000 Binary files a/res/drawable-nodpi/color_mode_preview3.jpg and /dev/null differ diff --git a/res/drawable-nodpi/color_mode_preview3.webp b/res/drawable-nodpi/color_mode_preview3.webp new file mode 100644 index 00000000000..dd0d5a0645b Binary files /dev/null and b/res/drawable-nodpi/color_mode_preview3.webp differ diff --git a/res/drawable-nodpi/fingerprint_sensor_location_front_overlay.png b/res/drawable-nodpi/fingerprint_sensor_location_front_overlay.png new file mode 100644 index 00000000000..f1e5bde0edd Binary files /dev/null and b/res/drawable-nodpi/fingerprint_sensor_location_front_overlay.png differ diff --git a/res/drawable/face_enroll_check.xml b/res/drawable/face_enroll_check.xml new file mode 100644 index 00000000000..86edad08043 --- /dev/null +++ b/res/drawable/face_enroll_check.xml @@ -0,0 +1,5 @@ + + + + + diff --git a/res/drawable/ic_broadcast.xml b/res/drawable/ic_broadcast.xml new file mode 100644 index 00000000000..38671e4b14d --- /dev/null +++ b/res/drawable/ic_broadcast.xml @@ -0,0 +1,26 @@ + + + + + diff --git a/res/drawable/ic_certificate.xml b/res/drawable/ic_certificate.xml new file mode 100644 index 00000000000..53475192fad --- /dev/null +++ b/res/drawable/ic_certificate.xml @@ -0,0 +1,25 @@ + + + + diff --git a/res/drawable/ic_game.xml b/res/drawable/ic_game.xml new file mode 100644 index 00000000000..991e4075ec5 --- /dev/null +++ b/res/drawable/ic_game.xml @@ -0,0 +1,22 @@ + + + + + + + diff --git a/res/drawable/ic_hand_gesture.xml b/res/drawable/ic_hand_gesture.xml new file mode 100644 index 00000000000..2fddba17375 --- /dev/null +++ b/res/drawable/ic_hand_gesture.xml @@ -0,0 +1,4 @@ + + + + diff --git a/res/drawable/ic_homepage_search_oos.xml b/res/drawable/ic_homepage_search_oos.xml new file mode 100644 index 00000000000..e826dc62b01 --- /dev/null +++ b/res/drawable/ic_homepage_search_oos.xml @@ -0,0 +1,6 @@ + + + + + diff --git a/res/drawable/ic_launcher_background.xml b/res/drawable/ic_launcher_background.xml new file mode 100644 index 00000000000..be5ae7ae915 --- /dev/null +++ b/res/drawable/ic_launcher_background.xml @@ -0,0 +1,18 @@ + + + + + + diff --git a/res/drawable/ic_launcher_foreground.xml b/res/drawable/ic_launcher_foreground.xml new file mode 100644 index 00000000000..80368054fde --- /dev/null +++ b/res/drawable/ic_launcher_foreground.xml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + diff --git a/res/drawable/ic_launcher_monochrome.xml b/res/drawable/ic_launcher_monochrome.xml new file mode 100644 index 00000000000..087d83f82b3 --- /dev/null +++ b/res/drawable/ic_launcher_monochrome.xml @@ -0,0 +1,15 @@ + + + + + diff --git a/res/drawable/ic_launcher_settings.xml b/res/drawable/ic_launcher_settings.xml index 9ede59d3c7b..b58c81ff94f 100644 --- a/res/drawable/ic_launcher_settings.xml +++ b/res/drawable/ic_launcher_settings.xml @@ -1,5 +1,10 @@ + - - + + + diff --git a/res/drawable/ic_matrixx.xml b/res/drawable/ic_matrixx.xml new file mode 100644 index 00000000000..27ad5c714bf --- /dev/null +++ b/res/drawable/ic_matrixx.xml @@ -0,0 +1,14 @@ + + + + + diff --git a/res/drawable/ic_matrixx_logo_about.xml b/res/drawable/ic_matrixx_logo_about.xml new file mode 100644 index 00000000000..a8d7b083559 --- /dev/null +++ b/res/drawable/ic_matrixx_logo_about.xml @@ -0,0 +1,13 @@ + + + + + diff --git a/res/drawable/ic_media_output.xml b/res/drawable/ic_media_output.xml new file mode 100644 index 00000000000..8f1351f8517 --- /dev/null +++ b/res/drawable/ic_media_output.xml @@ -0,0 +1,32 @@ + + + + + + + diff --git a/res/drawable/ic_network_setup.xml b/res/drawable/ic_network_setup.xml new file mode 100644 index 00000000000..4944cbcb26a --- /dev/null +++ b/res/drawable/ic_network_setup.xml @@ -0,0 +1,26 @@ + + + + + + diff --git a/res/drawable/ic_router.xml b/res/drawable/ic_router.xml new file mode 100644 index 00000000000..7e569488048 --- /dev/null +++ b/res/drawable/ic_router.xml @@ -0,0 +1,25 @@ + + + + diff --git a/res/drawable/ic_security_pattern_3x3.xml b/res/drawable/ic_security_pattern_3x3.xml new file mode 100644 index 00000000000..b8e4df44a0f --- /dev/null +++ b/res/drawable/ic_security_pattern_3x3.xml @@ -0,0 +1,26 @@ + + + + diff --git a/res/drawable/ic_security_pattern_4x4.xml b/res/drawable/ic_security_pattern_4x4.xml new file mode 100644 index 00000000000..92c580f5e2c --- /dev/null +++ b/res/drawable/ic_security_pattern_4x4.xml @@ -0,0 +1,26 @@ + + + + diff --git a/res/drawable/ic_security_pattern_5x5.xml b/res/drawable/ic_security_pattern_5x5.xml new file mode 100644 index 00000000000..7b4dabaad79 --- /dev/null +++ b/res/drawable/ic_security_pattern_5x5.xml @@ -0,0 +1,26 @@ + + + + diff --git a/res/drawable/ic_security_pattern_6x6.xml b/res/drawable/ic_security_pattern_6x6.xml new file mode 100644 index 00000000000..1861284dbbf --- /dev/null +++ b/res/drawable/ic_security_pattern_6x6.xml @@ -0,0 +1,26 @@ + + + + diff --git a/res/drawable/ic_settings_install.xml b/res/drawable/ic_settings_install.xml index 5bd5e300eae..eefecc242a4 100644 --- a/res/drawable/ic_settings_install.xml +++ b/res/drawable/ic_settings_install.xml @@ -18,7 +18,8 @@ android:width="24dp" android:height="24dp" android:viewportWidth="24" - android:viewportHeight="24"> + android:viewportHeight="24" + android:tint="?android:attr/colorControlNormal"> diff --git a/res/drawable/ic_settings_private_dns.xml b/res/drawable/ic_settings_private_dns.xml new file mode 100644 index 00000000000..06b7f116f9f --- /dev/null +++ b/res/drawable/ic_settings_private_dns.xml @@ -0,0 +1,15 @@ + + + + + diff --git a/res/drawable/ic_wifi_off.xml b/res/drawable/ic_wifi_off.xml new file mode 100644 index 00000000000..1480a59c3a7 --- /dev/null +++ b/res/drawable/ic_wifi_off.xml @@ -0,0 +1,25 @@ + + + + \ No newline at end of file diff --git a/res/drawable/quickly_open_camera.xml b/res/drawable/quickly_open_camera.xml deleted file mode 100644 index dcbf9f4dc68..00000000000 --- a/res/drawable/quickly_open_camera.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - diff --git a/res/drawable/ring_notif_increasing.xml b/res/drawable/ring_notif_increasing.xml new file mode 100644 index 00000000000..c534e302348 --- /dev/null +++ b/res/drawable/ring_notif_increasing.xml @@ -0,0 +1,29 @@ + + + + + + + + diff --git a/res/drawable/screen_resolution_full.xml b/res/drawable/screen_resolution_full.xml index a9d89ee9997..5cdfaba78b2 100644 --- a/res/drawable/screen_resolution_full.xml +++ b/res/drawable/screen_resolution_full.xml @@ -1,19 +1,11 @@ - - - - \ No newline at end of file + + + + + + + + + + diff --git a/res/drawable/screen_resolution_high.xml b/res/drawable/screen_resolution_high.xml index a9d89ee9997..cf703f3665c 100644 --- a/res/drawable/screen_resolution_high.xml +++ b/res/drawable/screen_resolution_high.xml @@ -1,19 +1,11 @@ - - - - \ No newline at end of file + + + + + + + + + + diff --git a/res/drawable/settings_panel_background.xml b/res/drawable/settings_panel_background.xml index adb4646ccc3..15821f69272 100644 --- a/res/drawable/settings_panel_background.xml +++ b/res/drawable/settings_panel_background.xml @@ -16,7 +16,7 @@ - - + + - \ No newline at end of file + diff --git a/res/drawable/settings_panel_rounded_top_corner_background.xml b/res/drawable/settings_panel_rounded_top_corner_background.xml index 1c234cca9b3..06eae8b2818 100644 --- a/res/drawable/settings_panel_rounded_top_corner_background.xml +++ b/res/drawable/settings_panel_rounded_top_corner_background.xml @@ -21,6 +21,6 @@ android:topRightRadius="@dimen/settings_panel_corner_radius" android:bottomLeftRadius="0dp" android:bottomRightRadius="0dp"/> - + - \ No newline at end of file + diff --git a/res/layout/color_mode_preview.xml b/res/layout/color_mode_preview.xml index b8601c927bd..d25e1eaac89 100644 --- a/res/layout/color_mode_preview.xml +++ b/res/layout/color_mode_preview.xml @@ -64,5 +64,12 @@ android:src="@drawable/ic_color_arrow_right_lt"/> + + diff --git a/res/layout/conversation_message_icon.xml b/res/layout/conversation_message_icon.xml index 9f9f0ac76e8..eefee8ae7f5 100644 --- a/res/layout/conversation_message_icon.xml +++ b/res/layout/conversation_message_icon.xml @@ -18,7 +18,7 @@ android:id="@+id/conversation_icon" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:fontFamily="sans-serif" + android:fontFamily="@*android:string/config_bodyFontFamilyMedium" android:textStyle="bold" android:textSize="@dimen/conversation_message_contact_icon_text_size" android:gravity="center" /> diff --git a/res/layout/face_enroll_confirmation.xml b/res/layout/face_enroll_confirmation.xml new file mode 100644 index 00000000000..1ca5522c409 --- /dev/null +++ b/res/layout/face_enroll_confirmation.xml @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/res/layout/fingerprint_enroll_find_sensor_base.xml b/res/layout/fingerprint_enroll_find_sensor_base.xml index 62203f71c81..6c3f5d6297b 100644 --- a/res/layout/fingerprint_enroll_find_sensor_base.xml +++ b/res/layout/fingerprint_enroll_find_sensor_base.xml @@ -29,11 +29,6 @@ android:clipToPadding="false" android:clipChildren="false"> - - + android:layout_width="fill_parent" + android:layout_height="wrap_content" + android:paddingTop="@dimen/fingerprint_find_sensor_padding_top"> + + - - - + android:paddingBottom="0dp"> - - - - - - + diff --git a/res/layout/fingerprint_enroll_introduction.xml b/res/layout/fingerprint_enroll_introduction.xml index 37587db3e41..2c378b8405a 100644 --- a/res/layout/fingerprint_enroll_introduction.xml +++ b/res/layout/fingerprint_enroll_introduction.xml @@ -190,6 +190,7 @@ diff --git a/res/layout/matrixx_dashboard_pref.xml b/res/layout/matrixx_dashboard_pref.xml new file mode 100644 index 00000000000..a47edc11a7f --- /dev/null +++ b/res/layout/matrixx_dashboard_pref.xml @@ -0,0 +1,74 @@ + + + + + + + + + + + + + + + + + + diff --git a/res/layout/matrixx_dashboard_pref_google.xml b/res/layout/matrixx_dashboard_pref_google.xml new file mode 100644 index 00000000000..ee587ff6ab8 --- /dev/null +++ b/res/layout/matrixx_dashboard_pref_google.xml @@ -0,0 +1,63 @@ + + + + + + + + + + + diff --git a/res/layout/matrixx_dashboard_pref_single.xml b/res/layout/matrixx_dashboard_pref_single.xml new file mode 100644 index 00000000000..e79fb8ef305 --- /dev/null +++ b/res/layout/matrixx_dashboard_pref_single.xml @@ -0,0 +1,84 @@ + + + + + + + + + + + + + + + + + + + + diff --git a/res/layout/matrixx_dashboard_preference_bottom.xml b/res/layout/matrixx_dashboard_preference_bottom.xml new file mode 100644 index 00000000000..542a148d1cb --- /dev/null +++ b/res/layout/matrixx_dashboard_preference_bottom.xml @@ -0,0 +1,28 @@ + + + + + + + diff --git a/res/layout/matrixx_dashboard_preference_google.xml b/res/layout/matrixx_dashboard_preference_google.xml new file mode 100644 index 00000000000..159edf14dc1 --- /dev/null +++ b/res/layout/matrixx_dashboard_preference_google.xml @@ -0,0 +1,28 @@ + + + + + + + \ No newline at end of file diff --git a/res/layout/matrixx_dashboard_preference_google_v2.xml b/res/layout/matrixx_dashboard_preference_google_v2.xml new file mode 100644 index 00000000000..b479c5903d1 --- /dev/null +++ b/res/layout/matrixx_dashboard_preference_google_v2.xml @@ -0,0 +1,28 @@ + + + + + + + diff --git a/res/layout/matrixx_dashboard_preference_middle.xml b/res/layout/matrixx_dashboard_preference_middle.xml new file mode 100644 index 00000000000..a55ae222a7a --- /dev/null +++ b/res/layout/matrixx_dashboard_preference_middle.xml @@ -0,0 +1,28 @@ + + + + + + + diff --git a/res/layout/matrixx_dashboard_preference_single.xml b/res/layout/matrixx_dashboard_preference_single.xml new file mode 100644 index 00000000000..0ba234431fc --- /dev/null +++ b/res/layout/matrixx_dashboard_preference_single.xml @@ -0,0 +1,28 @@ + + + + + + + diff --git a/res/layout/matrixx_dashboard_preference_top.xml b/res/layout/matrixx_dashboard_preference_top.xml new file mode 100644 index 00000000000..c702ff18c49 --- /dev/null +++ b/res/layout/matrixx_dashboard_preference_top.xml @@ -0,0 +1,28 @@ + + + + + + + diff --git a/res/layout/matrixx_logo_about.xml b/res/layout/matrixx_logo_about.xml new file mode 100644 index 00000000000..9693422b71e --- /dev/null +++ b/res/layout/matrixx_logo_about.xml @@ -0,0 +1,45 @@ + + + + + + + + + + diff --git a/res/layout/preference_compose.xml b/res/layout/preference_compose.xml index 14cb2d79b6a..992b8261646 100644 --- a/res/layout/preference_compose.xml +++ b/res/layout/preference_compose.xml @@ -15,7 +15,38 @@ ~ limitations under the License. --> - + android:layout_height="wrap_content" + android:minHeight="?android:attr/listPreferredItemHeightSmall" + android:gravity="center_vertical" + android:paddingStart="?android:attr/listPreferredItemPaddingStart" + android:background="?android:attr/activatedBackgroundIndicator" + android:clipToPadding="false"> + + + + + + + + diff --git a/res/layout/preference_dialog_animation_scale.xml b/res/layout/preference_dialog_animation_scale.xml new file mode 100644 index 00000000000..5723ad00854 --- /dev/null +++ b/res/layout/preference_dialog_animation_scale.xml @@ -0,0 +1,48 @@ + + + + + + + + + + + + + + + diff --git a/res/layout/preference_dialog_seekbar_material.xml b/res/layout/preference_dialog_seekbar_material.xml index 09b963a8f99..e7c9132fb75 100644 --- a/res/layout/preference_dialog_seekbar_material.xml +++ b/res/layout/preference_dialog_seekbar_material.xml @@ -26,6 +26,17 @@ android:layout_height="wrap_content" android:paddingTop="?android:attr/dialogPreferredPadding" /> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/layout/preference_list_fragment.xml b/res/layout/preference_list_fragment.xml index 6dfec46fab1..3d33f3c8680 100644 --- a/res/layout/preference_list_fragment.xml +++ b/res/layout/preference_list_fragment.xml @@ -23,13 +23,11 @@ android:id="@+id/container_material" android:orientation="vertical" android:layout_width="match_parent" - android:layout_height="match_parent" - android:background="@android:color/transparent"> + android:layout_height="match_parent"> diff --git a/res/layout/private_dns_mode_dialog.xml b/res/layout/private_dns_mode_dialog.xml index 96ebd2c3955..d350e97ace5 100644 --- a/res/layout/private_dns_mode_dialog.xml +++ b/res/layout/private_dns_mode_dialog.xml @@ -35,6 +35,26 @@ android:id="@+id/private_dns_mode_off" layout="@layout/preference_widget_dialog_radiobutton"/> + + + + + + + + + + diff --git a/res/layout/set_backup_pw.xml b/res/layout/set_backup_pw.xml index ce9a39880f8..9d7a5f47dcc 100644 --- a/res/layout/set_backup_pw.xml +++ b/res/layout/set_backup_pw.xml @@ -69,6 +69,8 @@ android:id="@+id/backup_pw_cancel_button" android:layout_below="@id/confirm_new_backup_pw" android:text="@string/backup_pw_cancel_button_text" + android:backgroundTint="?android:attr/colorAccent" + android:textColor="?android:textColorPrimaryInverse" android:layout_height="wrap_content" android:layout_width="wrap_content" /> @@ -76,6 +78,8 @@ android:id="@+id/backup_pw_set_button" android:layout_below="@id/confirm_new_backup_pw" android:layout_toEndOf="@id/backup_pw_cancel_button" + android:backgroundTint="?android:attr/colorAccent" + android:textColor="?android:textColorPrimaryInverse" android:text="@string/backup_pw_set_button_text" android:layout_height="wrap_content" android:layout_width="wrap_content" /> diff --git a/res/layout/settings_homepage_app_bar_regular_phone_layout.xml b/res/layout/settings_homepage_app_bar_regular_phone_layout.xml index f817dd49f40..3548747f16a 100644 --- a/res/layout/settings_homepage_app_bar_regular_phone_layout.xml +++ b/res/layout/settings_homepage_app_bar_regular_phone_layout.xml @@ -22,27 +22,59 @@ android:background="?android:attr/colorBackground" android:orientation="vertical"> - - - + + + + + + + + + + + + + + - \ No newline at end of file diff --git a/res/layout/settings_homepage_container.xml b/res/layout/settings_homepage_container.xml index 89d40d08b44..a082854e22d 100644 --- a/res/layout/settings_homepage_container.xml +++ b/res/layout/settings_homepage_container.xml @@ -66,6 +66,7 @@ android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical" + android:gravity="bottom" app:layout_scrollFlags="scroll|exitUntilCollapsed"> + android:visibility="gone" + style="@style/SudGlifButtonBar">