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

Commit bd8d9150 authored by y's avatar y
Browse files

[AllApps] Polish views according to specs

Bug: 196391749 Update work edu button stroke color
Bug: 195497351 Update header font size for work apps paused state
Bug: 192673256 Show ArrowTip elevation
Bug: 192668800 Support for two line PopupOption view
Test: visual
Change-Id: I65f8c6152f54306756d6cb66de2581aff45b8d47
parent e34c2f82
Loading
Loading
Loading
Loading
+3 −10
Original line number Diff line number Diff line
@@ -14,18 +14,11 @@
  ~ limitations under the License.
  -->

<layer-list xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android">
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
    <item
        android:drawable="@drawable/rounded_action_button"
        android:left="@dimen/padded_rounded_button_padding"
        android:top="@dimen/padded_rounded_button_padding"
        android:right="@dimen/padded_rounded_button_padding"
        android:bottom="@dimen/padded_rounded_button_padding">
        <shape android:shape="rectangle">
            <corners android:radius="@dimen/rounded_button_radius" />
            <stroke android:width="1dp"
                android:color="?androidprv:attr/colorAccentPrimaryVariant" />
        </shape>
    </item>
        android:bottom="@dimen/padded_rounded_button_padding" />
</layer-list>
+3 −1
Original line number Diff line number Diff line
@@ -19,7 +19,9 @@
    xmlns:androidprv="http://schemas.android.com/apk/prv/res/android"
    android:shape="rectangle">
    <corners android:radius="@dimen/rounded_button_radius" />
    <stroke android:width="1dp" android:color="@color/all_apps_tab_background_selected" />
    <stroke
        android:width="1dp"
        android:color="?androidprv:attr/colorAccentPrimaryVariant" />
    <padding
        android:left="@dimen/rounded_button_padding"
        android:right="@dimen/rounded_button_padding" />
+2 −4
Original line number Diff line number Diff line
@@ -27,15 +27,13 @@
        android:gravity="center"
        android:padding="16dp"
        android:background="@drawable/arrow_toast_rounded_background"
        android:elevation="2dp"
        android:outlineProvider="none"
        android:elevation="@dimen/arrow_toast_elevation"
        android:textColor="@color/arrow_tip_view_content"
        android:textSize="14sp"/>

    <View
        android:id="@+id/arrow"
        android:elevation="2dp"
        android:outlineProvider="none"
        android:elevation="@dimen/arrow_toast_elevation"
        android:layout_width="@dimen/arrow_toast_arrow_width"
        android:layout_height="10dp"/>
</merge>
+2 −1
Original line number Diff line number Diff line
@@ -17,7 +17,8 @@
<com.android.launcher3.shortcuts.DeepShortcutView
    xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="@dimen/bg_popup_item_width"
    android:layout_height="@dimen/bg_popup_item_height"
    android:layout_height="wrap_content"
    android:minHeight="@dimen/bg_popup_item_height"
    android:elevation="@dimen/deep_shortcuts_elevation"
    android:background="@drawable/middle_item_primary"
    android:theme="@style/PopupItem" >
+3 −0
Original line number Diff line number Diff line
@@ -22,6 +22,9 @@
        android:id="@+id/bubble_text"
        android:background="?android:attr/selectableItemBackground"
        android:gravity="start|center_vertical"
        android:paddingTop="@dimen/bg_popup_item_vertical_padding"
        android:paddingBottom="@dimen/bg_popup_item_vertical_padding"
        android:minHeight="@dimen/bg_popup_item_height"
        android:textAlignment="viewStart"
        android:paddingStart="@dimen/deep_shortcuts_text_padding_start"
        android:paddingEnd="@dimen/popup_padding_end"
Loading