Remove unneeded background and update the background color to reflect light/night theme
Updating the background color is a temporary workaround until we get all the images for phone/tablet, light/night theme with correct size Bug: 324312956 Test: manual (check the image in dark theme) Flag: EXEMPT no flaggable resource change Change-Id: I888e28825bdf9fd5ceffdf47386500ad6288b271
This commit is contained in:
@@ -28,7 +28,7 @@
|
|||||||
android:pathData="M24,0L288,0A24,24 0,0 1,312 24L312,106A24,24 0,0 1,288 130L24,130A24,24 0,0 1,0 106L0,24A24,24 0,0 1,24 0z"/>
|
android:pathData="M24,0L288,0A24,24 0,0 1,312 24L312,106A24,24 0,0 1,288 130L24,130A24,24 0,0 1,0 106L0,24A24,24 0,0 1,24 0z"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M24,0L288,0A24,24 0,0 1,312 24L312,106A24,24 0,0 1,288 130L24,130A24,24 0,0 1,0 106L0,24A24,24 0,0 1,24 0z"
|
android:pathData="M24,0L288,0A24,24 0,0 1,312 24L312,106A24,24 0,0 1,288 130L24,130A24,24 0,0 1,0 106L0,24A24,24 0,0 1,24 0z"
|
||||||
android:fillColor="#ffffff"/>
|
android:fillColor="@color/settingslib_protection_color"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M209,139.62H210V138.62V32C210,24.82 204.18,19 197,19H115C107.82,19 102,24.82 102,32V138.62V139.62H103H209Z"
|
android:pathData="M209,139.62H210V138.62V32C210,24.82 204.18,19 197,19H115C107.82,19 102,24.82 102,32V138.62V139.62H103H209Z"
|
||||||
android:strokeWidth="2"
|
android:strokeWidth="2"
|
||||||
|
@@ -460,6 +460,8 @@ public final class AccessibilityShortcutsTutorial {
|
|||||||
final View image =
|
final View image =
|
||||||
createIllustrationView(context,
|
createIllustrationView(context,
|
||||||
R.drawable.a11y_shortcut_type_quick_settings);
|
R.drawable.a11y_shortcut_type_quick_settings);
|
||||||
|
// Remove the unneeded background, since the main image already includes a background
|
||||||
|
image.findViewById(R.id.image_background).setVisibility(GONE);
|
||||||
final int numFingers = AccessibilityUtil.isTouchExploreEnabled(context) ? 2 : 1;
|
final int numFingers = AccessibilityUtil.isTouchExploreEnabled(context) ? 2 : 1;
|
||||||
Map<String, Object> arguments = new ArrayMap<>();
|
Map<String, Object> arguments = new ArrayMap<>();
|
||||||
arguments.put("count", numFingers);
|
arguments.put("count", numFingers);
|
||||||
|
Reference in New Issue
Block a user