Merge "[Accessibility] Address UX comments for the contrast screen" into main
This commit is contained in:
@@ -17,6 +17,6 @@
|
|||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
|
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
|
||||||
android:shape="rectangle" >
|
android:shape="rectangle" >
|
||||||
<solid android:color="?androidprv:attr/materialColorPrimary"/>
|
<solid android:color="?androidprv:attr/materialColorPrimaryContainer"/>
|
||||||
<corners android:radius="20dp" />
|
<corners android:radius="24dp" />
|
||||||
</shape>
|
</shape>
|
@@ -17,6 +17,6 @@
|
|||||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
|
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
|
||||||
android:shape="oval" >
|
android:shape="oval" >
|
||||||
<solid android:color="?androidprv:attr/materialColorSurfaceContainer"/>
|
<solid android:color="?androidprv:attr/materialColorSurfaceContainerHighest"/>
|
||||||
<size android:width="36dp" android:height="36dp" />
|
<size android:width="36dp" android:height="36dp" />
|
||||||
</shape>
|
</shape>
|
@@ -21,6 +21,6 @@
|
|||||||
android:viewportHeight="24"
|
android:viewportHeight="24"
|
||||||
android:tint="?attr/colorControlNormal">
|
android:tint="?attr/colorControlNormal">
|
||||||
<path
|
<path
|
||||||
android:fillColor="?androidprv:attr/materialColorOnPrimary"
|
android:fillColor="?androidprv:attr/materialColorOnPrimaryContainer"
|
||||||
android:pathData="M20.41,4.94l-1.35,-1.35c-0.78,-0.78 -2.05,-0.78 -2.83,0L3,16.82L3,21h4.18L20.41,7.77c0.79,-0.78 0.79,-2.05 0,-2.83zM6.41,19.06L5,19v-1.36l9.82,-9.82 1.41,1.41 -9.82,9.83z"/>
|
android:pathData="M20.41,4.94l-1.35,-1.35c-0.78,-0.78 -2.05,-0.78 -2.83,0L3,16.82L3,21h4.18L20.41,7.77c0.79,-0.78 0.79,-2.05 0,-2.83zM6.41,19.06L5,19v-1.36l9.82,-9.82 1.41,1.41 -9.82,9.83z"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
@@ -22,5 +22,5 @@
|
|||||||
android:tint="?attr/colorControlNormal">
|
android:tint="?attr/colorControlNormal">
|
||||||
<path
|
<path
|
||||||
android:fillColor="?androidprv:attr/materialColorOnPrimary"
|
android:fillColor="?androidprv:attr/materialColorOnPrimary"
|
||||||
android:pathData="M14.43,10l-2.43,-8l-2.43,8l-7.57,0l6.18,4.41l-2.35,7.59l6.17,-4.69l6.18,4.69l-2.35,-7.59l6.17,-4.41z"/>
|
android:pathData="M12,17.27L18.18,21l-1.64,-7.03L22,9.24l-7.19,-0.61L12,2 9.19,8.63 2,9.24l5.46,4.73L5.82,21 12,17.27z"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
@@ -104,6 +104,7 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginLeft="10dp"
|
android:layout_marginLeft="10dp"
|
||||||
|
android:paddingHorizontal="4dp"
|
||||||
android:textColor="?androidprv:attr/materialColorOnSurface"
|
android:textColor="?androidprv:attr/materialColorOnSurface"
|
||||||
android:background="@drawable/color_contrast_preview_tag_background"
|
android:background="@drawable/color_contrast_preview_tag_background"
|
||||||
android:textSize="11sp"
|
android:textSize="11sp"
|
||||||
@@ -164,7 +165,9 @@
|
|||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:src="@drawable/ic_article_filled_24dp"
|
android:src="@drawable/ic_article_filled_24dp"
|
||||||
android:padding="6dp"
|
android:paddingStart="8dp"
|
||||||
|
android:paddingEnd="6dp"
|
||||||
|
android:paddingVertical="6dp"
|
||||||
app:layout_constraintStart_toStartOf="@+id/email_title"
|
app:layout_constraintStart_toStartOf="@+id/email_title"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/email_body" />
|
app:layout_constraintTop_toBottomOf="@+id/email_body" />
|
||||||
|
|
||||||
@@ -172,7 +175,7 @@
|
|||||||
android:id="@+id/email_attachment"
|
android:id="@+id/email_attachment"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:paddingRight="8dp"
|
android:paddingEnd="10dp"
|
||||||
android:textColor="?androidprv:attr/materialColorOnTertiaryContainer"
|
android:textColor="?androidprv:attr/materialColorOnTertiaryContainer"
|
||||||
android:textSize="12sp"
|
android:textSize="12sp"
|
||||||
app:layout_constraintStart_toEndOf="@+id/ic_article_filled"
|
app:layout_constraintStart_toEndOf="@+id/ic_article_filled"
|
||||||
|
@@ -20,8 +20,7 @@
|
|||||||
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
|
xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content">
|
||||||
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">
|
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -36,6 +35,7 @@
|
|||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginBottom="16dp"
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
|
|
||||||
<Space
|
<Space
|
||||||
|
@@ -4989,7 +4989,7 @@
|
|||||||
<!-- Title for the accessibility preference to high contrast text. [CHAR LIMIT=35] -->
|
<!-- Title for the accessibility preference to high contrast text. [CHAR LIMIT=35] -->
|
||||||
<string name="accessibility_toggle_maximize_text_contrast_preference_title">Maximize text contrast</string>
|
<string name="accessibility_toggle_maximize_text_contrast_preference_title">Maximize text contrast</string>
|
||||||
<!-- Summary for the accessibility preference to high contrast text. [CHAR LIMIT=NONE] -->
|
<!-- Summary for the accessibility preference to high contrast text. [CHAR LIMIT=NONE] -->
|
||||||
<string name="accessibility_toggle_maximize_text_contrast_preference_summary">Change text color to black or white to increase contrast with the background.</string>
|
<string name="accessibility_toggle_maximize_text_contrast_preference_summary">Add a black or white background around text to increase contrast</string>
|
||||||
<!-- Title for the accessibility preference to auto update screen magnification. [CHAR LIMIT=35] -->
|
<!-- Title for the accessibility preference to auto update screen magnification. [CHAR LIMIT=35] -->
|
||||||
<string name="accessibility_toggle_screen_magnification_auto_update_preference_title">Auto
|
<string name="accessibility_toggle_screen_magnification_auto_update_preference_title">Auto
|
||||||
update screen magnification</string>
|
update screen magnification</string>
|
||||||
|
Reference in New Issue
Block a user