OSDN Git Service

Quick Settings: Avoid expand indicators shortly showing on edit
authorAdrian DC <radian.dc@gmail.com>
Tue, 24 Oct 2017 19:17:03 +0000 (21:17 +0200)
committerAdrian DC <radian.dc@gmail.com>
Sun, 29 Oct 2017 13:10:40 +0000 (13:10 +0000)
 * Upon entering of the Quick Settings edit view, during
    the animation, all the expand indicators are rarely
    visible for a short period of time until hidden

 * To avoid this visual glitch, hide the expand_indicator
    by default and let the code show it when necessary
    instead of hiding it for most cases

Change-Id: Ia14d9a8d63178ccb54fbcb969ddf51f06c88f35c
Signed-off-by: Adrian DC <radian.dc@gmail.com>
packages/SystemUI/res/layout/qs_tile_label.xml

index 35a9477..b138df0 100644 (file)
@@ -63,7 +63,8 @@
             android:layout_width="18dp"
             android:layout_height="match_parent"
             android:src="@drawable/qs_dual_tile_caret"
-            android:tint="?android:attr/textColorPrimary" />
+            android:tint="?android:attr/textColorPrimary"
+            android:visibility="gone" />
     </LinearLayout>
 
     <TextView