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

Commit b7f5ab04 authored by Alina Zaidi's avatar Alina Zaidi
Browse files

Fix few UI bugs in widget picker.

- Update colors for widget picker (b/184236316)
- Adjust padding according to mocks (b/184236316)
- Make sure view holders refresh corners in search mode. (b/185099541)
- Fix search bar shadow being cropped (b/183602001)

Bug: 184236316
Bug: 185099541
Bug: 183602001
Test: Manually tested
Change-Id: Ifa33e090cdf31c95db9c1145e623ef55c42dd52e
parent 60a4a0b3
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 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="@android:color/system_neutral1_800" />
</selector>
+23 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 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="@android:color/system_neutral1_500" android:lStar="98"/>
</selector>
+23 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
/*
**
** Copyright 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="?android:attr/colorBackgroundFloating" />
</selector>
+1 −1
Original line number Diff line number Diff line
@@ -30,7 +30,7 @@
    </item>
    <item android:id="@android:id/background">
        <shape android:shape="rectangle">
            <solid android:color="?android:attr/colorBackground" />
            <solid android:color="@color/widgets_picker_surface" />
            <corners
                android:topLeftRadius="@dimen/widget_list_content_corner_radius"
                android:topRightRadius="@dimen/widget_list_content_corner_radius"
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@

    <item android:id="@android:id/background">
        <shape android:shape="rectangle">
            <solid android:color="?android:attr/colorBackground" />
            <solid android:color="@color/widgets_picker_surface" />
            <corners
                android:topLeftRadius="@dimen/widget_list_content_corner_radius"
                android:topRightRadius="@dimen/widget_list_content_corner_radius"
Loading