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

Commit 5f255614 authored by Matt Pietal's avatar Matt Pietal
Browse files

Update fonts for user switcher

Bug: 393610446
Bug: 393610165
Test: manual
Flag: com.android.systemui.lockscreen_font
Change-Id: I4c266004e398771ebd06b3b95ced4edcff03e0b7
parent 7c7918cf
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -198,6 +198,9 @@
    </style>

    <style name="Bouncer.UserSwitcher.Spinner.Item">
      <item name="android:fontFamily" android:featureFlag="com.android.systemui.lockscreen_font">
        variable-title-medium
      </item>
      <item name="android:textSize">@dimen/bouncer_user_switcher_item_text_size</item>
    </style>
</resources>
+32 −0
Original line number Diff line number Diff line
@@ -63,6 +63,21 @@

    <TextView
        android:id="@+id/cancel"
        android:featureFlag="!com.android.systemui.lockscreen_font"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:gravity="center"
        android:minHeight="48dp"
        android:paddingHorizontal="@dimen/user_switcher_fullscreen_button_padding"
        android:textSize="@dimen/user_switcher_fullscreen_button_text_size"
        android:textColor="?androidprv:attr/colorAccentPrimary"
        android:text="@string/cancel" />

    <TextView
        android:id="@+id/cancel"
        android:featureFlag="com.android.systemui.lockscreen_font"
        android:fontFamily="variable-title-small"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
@@ -80,6 +95,23 @@

    <TextView
        android:id="@+id/add"
        android:featureFlag="!com.android.systemui.lockscreen_font"
        android:background="@drawable/user_switcher_fullscreen_button_bg"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:gravity="center"
        android:paddingHorizontal="@dimen/user_switcher_fullscreen_button_padding"
        android:text="@string/add"
        android:textColor="?androidprv:attr/colorAccentPrimary"
        android:textSize="@dimen/user_switcher_fullscreen_button_text_size"
        android:visibility="gone"
        android:minHeight="48dp" />

    <TextView
        android:id="@+id/add"
        android:featureFlag="com.android.systemui.lockscreen_font"
        android:fontFamily="variable-title-small"
        android:background="@drawable/user_switcher_fullscreen_button_bg"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
+11 −0
Original line number Diff line number Diff line
@@ -39,6 +39,17 @@

    <TextView
        android:id="@+id/text"
        android:featureFlag="!com.android.systemui.lockscreen_font"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textColor="@color/user_switcher_fullscreen_popup_item_tint"
        android:textSize="14sp"
        android:layout_gravity="start" />

    <TextView
        android:id="@+id/text"
        android:featureFlag="com.android.systemui.lockscreen_font"
        android:fontFamily="variable-title-small"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:textColor="@color/user_switcher_fullscreen_popup_item_tint"