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

Commit 1491ec31 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Update widget manipulation colors." into sc-dev

parents 408a73ea c0ac1dda
Loading
Loading
Loading
Loading
+19 −0
Original line number Original line Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2021 The Android Open Source Project

     Licensed under the Apache License, Version 2.0 (the "License");
     you may not use this file except in compliance with the License.
     You may obtain a copy of the License at

          http://www.apache.org/licenses/LICENSE-2.0

     Unless required by applicable law or agreed to in writing, software
     distributed under the License is distributed on an "AS IS" BASIS,
     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     See the License for the specific language governing permissions and
     limitations under the License.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
    <item android:color="?workspaceAccentColor" android:state_selected="false" />
    <item android:color="?dropTargetHoverTextColor" android:state_selected="true" />
</selector>
 No newline at end of file
+1 −1
Original line number Original line Diff line number Diff line
@@ -18,5 +18,5 @@
    android:shape="rectangle">
    android:shape="rectangle">
    <solid android:color="@android:color/transparent" />
    <solid android:color="@android:color/transparent" />
    <corners android:radius="28dp" />
    <corners android:radius="28dp" />
    <stroke android:width="2dp" android:color="?android:attr/colorAccent" />
    <stroke android:width="2dp" android:color="?attr/workspaceAccentColor" />
</shape>
</shape>
 No newline at end of file
+1 −1
Original line number Original line Diff line number Diff line
@@ -16,6 +16,6 @@
-->
-->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
<shape xmlns:android="http://schemas.android.com/apk/res/android"
    android:shape="rectangle">
    android:shape="rectangle">
    <solid android:color="?android:attr/colorAccent" />
    <solid android:color="?attr/workspaceAccentColor" />
    <corners android:radius="28dp" />
    <corners android:radius="28dp" />
</shape>
</shape>
 No newline at end of file
+1 −1
Original line number Original line Diff line number Diff line
@@ -18,5 +18,5 @@
    android:shape="rectangle">
    android:shape="rectangle">
    <solid android:color="@android:color/transparent" />
    <solid android:color="@android:color/transparent" />
    <corners android:radius="@android:dimen/system_app_widget_background_radius" />
    <corners android:radius="@android:dimen/system_app_widget_background_radius" />
    <stroke android:width="2dp" android:color="?android:attr/colorAccent" />
    <stroke android:width="2dp" android:color="?attr/workspaceAccentColor" />
</shape>
</shape>
 No newline at end of file
+4 −4
Original line number Original line Diff line number Diff line
@@ -41,7 +41,7 @@
            android:layout_gravity="left|center_vertical"
            android:layout_gravity="left|center_vertical"
            android:layout_marginLeft="@dimen/widget_handle_margin"
            android:layout_marginLeft="@dimen/widget_handle_margin"
            android:src="@drawable/ic_widget_resize_handle"
            android:src="@drawable/ic_widget_resize_handle"
            android:tint="?android:attr/colorAccent" />
            android:tint="?attr/workspaceAccentColor" />


        <!-- Top -->
        <!-- Top -->
        <ImageView
        <ImageView
@@ -51,7 +51,7 @@
            android:layout_gravity="top|center_horizontal"
            android:layout_gravity="top|center_horizontal"
            android:layout_marginTop="@dimen/widget_handle_margin"
            android:layout_marginTop="@dimen/widget_handle_margin"
            android:src="@drawable/ic_widget_resize_handle"
            android:src="@drawable/ic_widget_resize_handle"
            android:tint="?android:attr/colorAccent" />
            android:tint="?attr/workspaceAccentColor" />


        <!-- Right -->
        <!-- Right -->
        <ImageView
        <ImageView
@@ -61,7 +61,7 @@
            android:layout_gravity="right|center_vertical"
            android:layout_gravity="right|center_vertical"
            android:layout_marginRight="@dimen/widget_handle_margin"
            android:layout_marginRight="@dimen/widget_handle_margin"
            android:src="@drawable/ic_widget_resize_handle"
            android:src="@drawable/ic_widget_resize_handle"
            android:tint="?android:attr/colorAccent" />
            android:tint="?attr/workspaceAccentColor" />


        <!-- Bottom -->
        <!-- Bottom -->
        <ImageView
        <ImageView
@@ -71,7 +71,7 @@
            android:layout_gravity="bottom|center_horizontal"
            android:layout_gravity="bottom|center_horizontal"
            android:layout_marginBottom="@dimen/widget_handle_margin"
            android:layout_marginBottom="@dimen/widget_handle_margin"
            android:src="@drawable/ic_widget_resize_handle"
            android:src="@drawable/ic_widget_resize_handle"
            android:tint="?android:attr/colorAccent" />
            android:tint="?attr/workspaceAccentColor" />


        <ImageButton
        <ImageButton
            android:id="@+id/widget_reconfigure_button"
            android:id="@+id/widget_reconfigure_button"
Loading