From ba498a8205b119ae7679fffb5d5d4ba3eb6fb20a Mon Sep 17 00:00:00 2001 From: menghanli Date: Wed, 2 Mar 2022 09:40:59 +0800 Subject: [PATCH] Show different tooltips for QS features auto-added and non-auto-added - Update the illustration - Update the subtext Bug: 220655084 Bug: 218968108 Test: manual testing Change-Id: I01fb191d1a39d15d7dda0eef67459005887f5a77 --- ...ty_auto_added_qs_tooltips_illustration.xml | 66 ++++++++----------- ...accessibility_qs_tooltips_illustration.xml | 66 +++++++++++-------- res/values/strings.xml | 2 +- 3 files changed, 67 insertions(+), 67 deletions(-) diff --git a/res/drawable/accessibility_auto_added_qs_tooltips_illustration.xml b/res/drawable/accessibility_auto_added_qs_tooltips_illustration.xml index 2583b6f32bc..64245f111ef 100644 --- a/res/drawable/accessibility_auto_added_qs_tooltips_illustration.xml +++ b/res/drawable/accessibility_auto_added_qs_tooltips_illustration.xml @@ -15,48 +15,38 @@ --> + android:width="181dp" + android:height="86dp" + android:viewportWidth="181" + android:viewportHeight="86"> + + + + + android:pathData="M21.548,23.014L158.221,23.014A3.078,3.078 0,0 1,161.299 26.092L161.299,26.092A3.078,3.078 0,0 1,158.221 29.17L21.548,29.17A3.078,3.078 0,0 1,18.469 26.092L18.469,26.092A3.078,3.078 0,0 1,21.548 23.014z" + android:fillColor="#EDEDED"/> + + + android:pathData="M104.197,55.027L110.047,55.027A2,2 0,0 1,112.047 57.027L112.047,62.878A2,2 0,0 1,110.047 64.878L104.197,64.878A2,2 0,0 1,102.197 62.878L102.197,57.027A2,2 0,0 1,104.197 55.027z" + android:fillColor="#ffffff"/> + android:pathData="M117.588,53.796L139.751,53.796A1.847,1.847 0,0 1,141.598 55.643L141.598,55.643A1.847,1.847 0,0 1,139.751 57.49L117.588,57.49A1.847,1.847 0,0 1,115.741 55.643L115.741,55.643A1.847,1.847 0,0 1,117.588 53.796z" + android:fillColor="#ffffff"/> - - - - - - - + android:pathData="M117.588,62.415L152.064,62.415A1.847,1.847 0,0 1,153.911 64.262L153.911,64.262A1.847,1.847 0,0 1,152.064 66.109L117.588,66.109A1.847,1.847 0,0 1,115.741 64.262L115.741,64.262A1.847,1.847 0,0 1,117.588 62.415z" + android:fillColor="#C8C5C5"/> diff --git a/res/drawable/accessibility_qs_tooltips_illustration.xml b/res/drawable/accessibility_qs_tooltips_illustration.xml index 64245f111ef..2583b6f32bc 100644 --- a/res/drawable/accessibility_qs_tooltips_illustration.xml +++ b/res/drawable/accessibility_qs_tooltips_illustration.xml @@ -15,38 +15,48 @@ --> - - - - + android:width="178dp" + android:height="150dp" + android:viewportWidth="178" + android:viewportHeight="150"> + android:pathData="M161.612,147.208L16.619,147.208A13,13 0,0 1,3.619 134.208L3.619,-442.725A13,13 0,0 1,16.619 -455.725L161.612,-455.725A13,13 0,0 1,174.612 -442.725L174.612,134.208A13,13 0,0 1,161.612 147.208z" + android:strokeWidth="6" + android:fillColor="#ffffff" + android:strokeColor="#EDEDED"/> - - + android:pathData="M38.5,115.5m-15.5,0a15.5,15.5 0,1 1,31 0a15.5,15.5 0,1 1,-31 0" + android:fillColor="#BCEDDF" + android:fillAlpha="0.5"/> + android:pathData="M45.279,108.52L46.48,109.72C47.182,110.414 47.182,111.543 46.48,112.237L34.717,124H31V120.283L42.763,108.52C43.457,107.827 44.586,107.827 45.279,108.52ZM32.778,122.222L34.032,122.275L42.763,113.535L41.51,112.281L32.778,121.013V122.222Z" + android:fillColor="#ffffff" + android:fillType="evenOdd"/> + android:pathData="M79,104L99,104A12,12 0,0 1,111 116L111,116A12,12 0,0 1,99 128L79,128A12,12 0,0 1,67 116L67,116A12,12 0,0 1,79 104z" + android:fillColor="#E0DCDC"/> + + + + + + + diff --git a/res/values/strings.xml b/res/values/strings.xml index 917c666b41f..572bb21dd78 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -5526,7 +5526,7 @@ %1$s added to Quick Settings. Swipe down to turn it on or off anytime. - You can add a shortcut to %1$s by editing quick settings + You can also add %1$s to Quick Settings from the top of your screen Dismiss