For #6180 - Set textAlignment to viewStart to fix RTL layouts.
parent
512aa46224
commit
a57d76eb4f
|
@ -33,6 +33,7 @@
|
||||||
android:gravity="center|start"
|
android:gravity="center|start"
|
||||||
android:layout_marginEnd="@dimen/radio_button_preference_horizontal"
|
android:layout_marginEnd="@dimen/radio_button_preference_horizontal"
|
||||||
tools:text="@tools:sample/lorem"
|
tools:text="@tools:sample/lorem"
|
||||||
|
android:textAlignment="viewStart"
|
||||||
android:textAppearance="?android:attr/textAppearanceListItem"
|
android:textAppearance="?android:attr/textAppearanceListItem"
|
||||||
app:layout_constraintTop_toTopOf="@id/radio_button"
|
app:layout_constraintTop_toTopOf="@id/radio_button"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
@ -43,6 +44,7 @@
|
||||||
android:id="@+id/widget_summary"
|
android:id="@+id/widget_summary"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:textAlignment="viewStart"
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
android:textColor="?android:attr/textColorSecondary"
|
android:textColor="?android:attr/textColorSecondary"
|
||||||
tools:text="@tools:sample/lorem/random"
|
tools:text="@tools:sample/lorem/random"
|
||||||
|
|
|
@ -33,6 +33,7 @@
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="0dp"
|
android:layout_height="0dp"
|
||||||
android:gravity="center|start"
|
android:gravity="center|start"
|
||||||
|
android:textAlignment="viewStart"
|
||||||
android:textAppearance="?android:attr/textAppearanceListItem"
|
android:textAppearance="?android:attr/textAppearanceListItem"
|
||||||
app:layout_constraintBottom_toBottomOf="@id/radio_button"
|
app:layout_constraintBottom_toBottomOf="@id/radio_button"
|
||||||
app:layout_constraintEnd_toStartOf="@+id/vertical_divider"
|
app:layout_constraintEnd_toStartOf="@+id/vertical_divider"
|
||||||
|
@ -44,6 +45,7 @@
|
||||||
android:id="@+id/widget_summary"
|
android:id="@+id/widget_summary"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:textAlignment="viewStart"
|
||||||
android:textAppearance="?android:attr/textAppearanceSmall"
|
android:textAppearance="?android:attr/textAppearanceSmall"
|
||||||
android:textColor="?android:attr/textColorSecondary"
|
android:textColor="?android:attr/textColorSecondary"
|
||||||
app:layout_constraintEnd_toStartOf="@+id/vertical_divider"
|
app:layout_constraintEnd_toStartOf="@+id/vertical_divider"
|
||||||
|
|
|
@ -30,6 +30,7 @@
|
||||||
android:scrollHorizontally="false"
|
android:scrollHorizontally="false"
|
||||||
android:singleLine="false"
|
android:singleLine="false"
|
||||||
android:text="@string/preference_enhanced_tracking_protection_explanation_title"
|
android:text="@string/preference_enhanced_tracking_protection_explanation_title"
|
||||||
|
android:textAlignment="viewStart"
|
||||||
android:textAppearance="@style/Header16TextStyle"
|
android:textAppearance="@style/Header16TextStyle"
|
||||||
android:textColor="@color/primary_text_dark_theme"
|
android:textColor="@color/primary_text_dark_theme"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
|
@ -45,6 +46,7 @@
|
||||||
android:ellipsize="none"
|
android:ellipsize="none"
|
||||||
android:scrollHorizontally="false"
|
android:scrollHorizontally="false"
|
||||||
android:text="@string/preference_enhanced_tracking_protection_explanation"
|
android:text="@string/preference_enhanced_tracking_protection_explanation"
|
||||||
|
android:textAlignment="viewStart"
|
||||||
android:textColor="@color/primary_text_dark_theme"
|
android:textColor="@color/primary_text_dark_theme"
|
||||||
android:textSize="14sp"
|
android:textSize="14sp"
|
||||||
app:layout_constraintBottom_toTopOf="@id/learn_more"
|
app:layout_constraintBottom_toTopOf="@id/learn_more"
|
||||||
|
@ -60,6 +62,7 @@
|
||||||
android:paddingBottom="12dp"
|
android:paddingBottom="12dp"
|
||||||
android:ellipsize="none"
|
android:ellipsize="none"
|
||||||
android:text="@string/preference_enhanced_tracking_protection_explanation_learn_more"
|
android:text="@string/preference_enhanced_tracking_protection_explanation_learn_more"
|
||||||
|
android:textAlignment="viewStart"
|
||||||
android:textColor="@color/primary_text_dark_theme"
|
android:textColor="@color/primary_text_dark_theme"
|
||||||
android:textSize="14sp"
|
android:textSize="14sp"
|
||||||
app:layout_constraintEnd_toStartOf="@id/guideline"
|
app:layout_constraintEnd_toStartOf="@id/guideline"
|
||||||
|
|
Loading…
Reference in New Issue