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

Commit 0652bd13 authored by Lucas Dupin's avatar Lucas Dupin
Browse files

Update share sheet with NEXT style

- made backgrounds lighter (colorBackground)
- removed shadows from buttons
- updated tint colors on buttons
- updated button background colors

Bug: 181994925
Test: visual
Change-Id: I74938594e4192553f616897218affefaa0575651
parent 358a76f7
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -18,5 +18,5 @@
    <corners
    <corners
        android:topLeftRadius="@dimen/config_bottomDialogCornerRadius"
        android:topLeftRadius="@dimen/config_bottomDialogCornerRadius"
        android:topRightRadius="@dimen/config_bottomDialogCornerRadius"/>
        android:topRightRadius="@dimen/config_bottomDialogCornerRadius"/>
    <solid android:color="?attr/colorBackgroundFloating" />
    <solid android:color="?attr/colorBackground" />
</shape>
</shape>
+3 −5
Original line number Original line Diff line number Diff line
@@ -15,7 +15,7 @@
  ~ limitations under the License
  ~ limitations under the License
  -->
  -->
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
        android:color="@color/lighter_gray">
        android:color="?android:attr/colorControlHighlight">
    <item>
    <item>
        <inset
        <inset
            android:insetLeft="0dp"
            android:insetLeft="0dp"
@@ -23,10 +23,8 @@
            android:insetRight="0dp"
            android:insetRight="0dp"
            android:insetBottom="8dp">
            android:insetBottom="8dp">
            <shape android:shape="rectangle">
            <shape android:shape="rectangle">
              <corners android:radius="16dp"></corners>
                <corners android:radius="16dp" />
                <stroke android:width="1dp"
                <solid android:color="@color/system_neutral2_100" />
                        android:color="?attr/opacityListDivider" />
                <solid android:color="?attr/colorBackgroundFloating" />
            </shape>
            </shape>
        </inset>
        </inset>
    </item>
    </item>
+2 −1
Original line number Original line Diff line number Diff line
@@ -25,6 +25,7 @@
    android:singleLine="true"
    android:singleLine="true"
    android:clickable="true"
    android:clickable="true"
    android:background="@drawable/chooser_action_button_bg"
    android:background="@drawable/chooser_action_button_bg"
    android:drawableTint="@color/chooser_chip_icon"
    android:drawableTint="?android:textColorPrimary"
    android:drawableTintMode="src_in"
    android:drawableTintMode="src_in"
    style="?android:attr/borderlessButtonStyle"
    />
    />
+2 −2
Original line number Original line Diff line number Diff line
@@ -67,7 +67,7 @@
        android:layout_height="wrap_content"
        android:layout_height="wrap_content"
        android:layout_alignParentTop="true"
        android:layout_alignParentTop="true"
        android:layout_centerHorizontal="true"
        android:layout_centerHorizontal="true"
        android:background="?attr/colorBackgroundFloating">
        android:background="?attr/colorBackground">
        <LinearLayout
        <LinearLayout
            android:orientation="vertical"
            android:orientation="vertical"
            android:layout_width="match_parent"
            android:layout_width="match_parent"
@@ -84,7 +84,7 @@
                android:layout_alwaysShow="true"
                android:layout_alwaysShow="true"
                android:layout_width="match_parent"
                android:layout_width="match_parent"
                android:layout_height="1dp"
                android:layout_height="1dp"
                android:background="?attr/colorBackgroundFloating"
                android:background="?attr/colorBackground"
                android:foreground="?attr/dividerVertical" />
                android:foreground="?attr/dividerVertical" />
            <FrameLayout
            <FrameLayout
                android:id="@android:id/tabcontent"
                android:id="@android:id/tabcontent"
+1 −1
Original line number Original line Diff line number Diff line
@@ -24,7 +24,7 @@
    android:layout_height="wrap_content"
    android:layout_height="wrap_content"
    android:orientation="vertical"
    android:orientation="vertical"
    android:paddingBottom="@dimen/chooser_view_spacing"
    android:paddingBottom="@dimen/chooser_view_spacing"
    android:background="?attr/colorBackgroundFloating">
    android:background="?attr/colorBackground">


  <LinearLayout
  <LinearLayout
      android:layout_width="@dimen/chooser_preview_width"
      android:layout_width="@dimen/chooser_preview_width"
Loading