Fix RTL alignment issue in private space education
With this change the RTL mirroring issue is fixed in the private space education screen where the icons are aligned to the right for languages requiring mirror support. Screenshot: go/ss/7AuF2HYsmTVaW5w.png go/ss/HazpLiDH92X2X26.png go/ss/4TueVkQcKmKZrAL.png Flag: EXEMPT resource only update Bug: 351141472 Test: Manual Change-Id: I33d30ad425ae17e7a8653bc6545f640ee5d09706
This commit is contained in:
@@ -53,7 +53,7 @@
|
|||||||
android:src="@drawable/counter_1_24dp" />
|
android:src="@drawable/counter_1_24dp" />
|
||||||
<TextView
|
<TextView
|
||||||
style="@style/PrivateSpaceBulletPointTextFontStyle"
|
style="@style/PrivateSpaceBulletPointTextFontStyle"
|
||||||
android:layout_toRightOf="@+id/lockIcon"
|
android:layout_toEndOf="@+id/lockIcon"
|
||||||
android:text="@string/private_space_separate_account_text"/>
|
android:text="@string/private_space_separate_account_text"/>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
@@ -64,7 +64,7 @@
|
|||||||
android:src="@drawable/counter_2_24dp" />
|
android:src="@drawable/counter_2_24dp" />
|
||||||
<TextView
|
<TextView
|
||||||
style="@style/PrivateSpaceBulletPointTextFontStyle"
|
style="@style/PrivateSpaceBulletPointTextFontStyle"
|
||||||
android:layout_toRightOf="@+id/bellIcon"
|
android:layout_toEndOf="@+id/bellIcon"
|
||||||
android:text="@string/private_space_protected_lock_text"/>
|
android:text="@string/private_space_protected_lock_text"/>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
<RelativeLayout
|
<RelativeLayout
|
||||||
@@ -77,7 +77,7 @@
|
|||||||
android:src="@drawable/counter_3_24dp" />
|
android:src="@drawable/counter_3_24dp" />
|
||||||
<TextView
|
<TextView
|
||||||
style="@style/PrivateSpaceBulletPointTextFontStyle"
|
style="@style/PrivateSpaceBulletPointTextFontStyle"
|
||||||
android:layout_toRightOf="@+id/appsIcon"
|
android:layout_toEndOf="@+id/appsIcon"
|
||||||
android:text="@string/private_space_install_apps_text"/>
|
android:text="@string/private_space_install_apps_text"/>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
<TextView
|
<TextView
|
||||||
@@ -94,7 +94,7 @@
|
|||||||
android:src="@drawable/ic_private_space_edu_icon" />
|
android:src="@drawable/ic_private_space_edu_icon" />
|
||||||
<TextView
|
<TextView
|
||||||
style="@style/PrivateSpaceBulletPointTextFontStyle"
|
style="@style/PrivateSpaceBulletPointTextFontStyle"
|
||||||
android:layout_toRightOf="@+id/eduIcon"
|
android:layout_toEndOf="@+id/eduIcon"
|
||||||
android:text="@string/private_space_apps_stopped_text"/>
|
android:text="@string/private_space_apps_stopped_text"/>
|
||||||
</RelativeLayout>
|
</RelativeLayout>
|
||||||
<Space
|
<Space
|
||||||
@@ -112,13 +112,13 @@
|
|||||||
android:id="@+id/info"
|
android:id="@+id/info"
|
||||||
style="@style/PrivateSpaceBulletPointTextFontStyle"
|
style="@style/PrivateSpaceBulletPointTextFontStyle"
|
||||||
android:textSize = "14sp"
|
android:textSize = "14sp"
|
||||||
android:layout_toRightOf="@+id/infoIcon"
|
android:layout_toEndOf="@+id/infoIcon"
|
||||||
android:text="@string/private_space_apps_permission_text"/>
|
android:text="@string/private_space_apps_permission_text"/>
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/learn_more"
|
android:id="@+id/learn_more"
|
||||||
style="@style/PrivateSpaceSetupSubHeaderStyle"
|
style="@style/PrivateSpaceSetupSubHeaderStyle"
|
||||||
android:layout_below="@id/info"
|
android:layout_below="@id/info"
|
||||||
android:layout_alignLeft="@+id/info"
|
android:layout_alignStart="@+id/info"
|
||||||
android:paddingTop="24dp"
|
android:paddingTop="24dp"
|
||||||
android:paddingLeft="16dp"
|
android:paddingLeft="16dp"
|
||||||
android:text="@string/private_space_learn_more_text"/>
|
android:text="@string/private_space_learn_more_text"/>
|
||||||
|
@@ -982,14 +982,15 @@
|
|||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="PrivateSpaceBulletPointTextFontStyle" parent="@style/PrivateSpaceSetupTextFontStyle">
|
<style name="PrivateSpaceBulletPointTextFontStyle" parent="@style/PrivateSpaceSetupTextFontStyle">
|
||||||
<item name="android:paddingLeft">16dp</item>
|
<item name="android:paddingStart">16dp</item>
|
||||||
<item name="android:textSize">16sp</item>
|
<item name="android:textSize">16sp</item>
|
||||||
|
<item name="android:textAlignment">viewStart</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
<style name="PrivateSpaceBulletPointIconStyle">
|
<style name="PrivateSpaceBulletPointIconStyle">
|
||||||
<item name="android:layout_width">wrap_content</item>
|
<item name="android:layout_width">wrap_content</item>
|
||||||
<item name="android:layout_height">wrap_content</item>
|
<item name="android:layout_height">wrap_content</item>
|
||||||
<item name="android:layout_alignParentLeft">true</item>
|
<item name="android:layout_alignParentStart">true</item>
|
||||||
<item name="android:layout_alignParentTop">true</item>
|
<item name="android:layout_alignParentTop">true</item>
|
||||||
</style>
|
</style>
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user