2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-05 21:20:45 +00:00

For #8673 - Don't mirror the onboarding - theme picker tiles

Don't mirror the images and keep the radio buttons fixed in place at the top
left corner of the images.
This commit is contained in:
Mugurell 2020-02-24 18:27:57 +02:00 committed by Emily Kager
parent ffc2785c1e
commit 71aba16cbf
3 changed files with 4 additions and 20 deletions

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/onboarding_dark_theme"
android:autoMirrored="true">
</bitmap>

View File

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
- License, v. 2.0. If a copy of the MPL was not distributed with this
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<bitmap xmlns:android="http://schemas.android.com/apk/res/android"
android:src="@drawable/onboarding_light_theme"
android:autoMirrored="true">
</bitmap>

View File

@ -54,7 +54,7 @@
android:elevation="1dp"
android:translationX="@dimen/onboarding_dual_pane_radio_button_translation_x"
android:translationY="@dimen/onboarding_dual_pane_radio_button_translation_y"
app:layout_constraintStart_toStartOf="@+id/theme_light_image"
app:layout_constraintLeft_toLeftOf="@+id/theme_light_image"
app:layout_constraintTop_toTopOf="@+id/theme_light_image"
app:onboardingKey="@string/pref_key_light_theme" />
@ -64,7 +64,7 @@
android:layout_height="wrap_content"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:background="@drawable/ic_onboarding_light_theme"
android:background="@drawable/onboarding_light_theme"
android:contentDescription="@string/onboarding_theme_light_title"
android:foreground="@drawable/rounded_ripple"
app:layout_constraintEnd_toStartOf="@+id/theme_dark_image"
@ -80,7 +80,7 @@
android:elevation="1dp"
android:translationX="@dimen/onboarding_dual_pane_radio_button_translation_x"
android:translationY="@dimen/onboarding_dual_pane_radio_button_translation_y"
app:layout_constraintStart_toStartOf="@+id/theme_dark_image"
app:layout_constraintLeft_toLeftOf="@+id/theme_dark_image"
app:layout_constraintTop_toTopOf="@+id/theme_dark_image"
app:onboardingKey="@string/pref_key_dark_theme" />
@ -91,7 +91,7 @@
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="16dp"
android:background="@drawable/ic_onboarding_dark_theme"
android:background="@drawable/onboarding_dark_theme"
android:contentDescription="@string/onboarding_theme_dark_title"
android:foreground="@drawable/rounded_ripple"
app:layout_constraintEnd_toEndOf="parent"