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

Commit 68128b0d authored by Miranda Kephart's avatar Miranda Kephart Committed by Automerger Merge Worker
Browse files

Merge "Update screenshot dark mode to spec" into rvc-dev am: d368634f

Change-Id: Ifde6ef9aecb6f468bc32d3516904f5f8f294a345
parents 1d9f4255 d368634f
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -17,6 +17,6 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle">
    <gradient
        android:angle="90"
        android:startColor="#1f000000"
        android:startColor="@color/global_screenshot_background_protection_start"
        android:endColor="#00000000"/>
</shape>
 No newline at end of file
+1 −1
Original line number Diff line number Diff line
@@ -22,7 +22,7 @@
    android:layout_height="match_parent">
    <ImageView
        android:id="@+id/global_screenshot_actions_background"
        android:layout_height="@dimen/global_screenshot_bg_protection_height"
        android:layout_height="@dimen/screenshot_bg_protection_height"
        android:layout_width="match_parent"
        android:alpha="0.0"
        android:src="@drawable/screenshot_actions_background_protection"
+1 −0
Original line number Diff line number Diff line
@@ -79,6 +79,7 @@
    <color name="global_screenshot_button_icon">@color/GM2_blue_300</color>
    <color name="global_screenshot_dismiss_background">@color/GM2_grey_800</color>
    <color name="global_screenshot_dismiss_foreground">#FFFFFF</color>
    <color name="global_screenshot_background_protection_start">#80000000</color> <!-- 50% black -->


    <!-- Biometric dialog colors -->
+4 −0
Original line number Diff line number Diff line
@@ -18,4 +18,8 @@
<resources>
    <!-- The height of the divider between the individual notifications. -->
    <dimen name="notification_divider_height">1dp</dimen>

    <!-- Height of the background gradient behind the screenshot UI (taller in dark mode) -->
    <dimen name="screenshot_bg_protection_height">375dp</dimen>

</resources>
 No newline at end of file
+1 −0
Original line number Diff line number Diff line
@@ -200,6 +200,7 @@
    <color name="global_screenshot_button_icon">@color/GM2_blue_500</color>
    <color name="global_screenshot_dismiss_background">#FFFFFF</color>
    <color name="global_screenshot_dismiss_foreground">@color/GM2_grey_500</color>
    <color name="global_screenshot_background_protection_start">#40000000</color> <!-- 25% black -->

    <!-- GM2 colors -->
    <color name="GM2_grey_50">#F8F9FA</color>
Loading