Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a853aa7f authored by Rohan Shah's avatar Rohan Shah
Browse files

[QS] Tweak tooltip color & shown count

Limiting count to 2 (down from 3). Also updated the text color so it no
longer looks clickable.

Test: visually
Bug: 74075675
Change-Id: I86fbb5ae7481f6d19b7e6722832ac600595ad7ea
parent 6997ad69
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -29,7 +29,7 @@
        android:alpha="0"
        android:text="@string/quick_settings_header_onboarding_text"
        android:textAppearance="@style/TextAppearance.QS.TileLabel"
        android:textColor="?android:attr/colorAccent"
        android:textColor="?android:attr/textColorSecondary"
        android:visibility="invisible" />

    <LinearLayout
+1 −1
Original line number Diff line number Diff line
@@ -65,7 +65,7 @@ public class QuickStatusBarHeader extends RelativeLayout implements CommandQueue
    private static final long AUTO_FADE_OUT_DELAY_MS = DateUtils.SECOND_IN_MILLIS * 6;
    private static final int FADE_ANIMATION_DURATION_MS = 300;
    private static final int TOOLTIP_NOT_YET_SHOWN_COUNT = 0;
    public static final int MAX_TOOLTIP_SHOWN_COUNT = 3;
    public static final int MAX_TOOLTIP_SHOWN_COUNT = 2;

    private final Handler mHandler = new Handler();