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

Commit e0d5fec5 authored by Hyunyoung Song's avatar Hyunyoung Song
Browse files

Merging ub-launcher3-qt-dev, build 5596239

Test: Manual

Bug:118757588 P1 Define launcher grid and smartspace layout for Grid style
Bug:130759508 P2 update the button style on Preview Book cover card
Bug:132726773 P2 Theme Picker selected theme (check mark is too small)
Bug:132810518 P2 Theme picker: Bottom tap text and box have off color values.
Bug:132909772 P3 ThemePicker crashes if OverlayManager is not available
Change-Id: I19ffc2805365a46cf7031d5ac3160ae869668117
parents baededcb 692dc78c
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -20,6 +20,7 @@
        android:color="?android:colorAccent" />
    <item
        android:state_activated="false"
        android:alpha="0.54"
        android:color="?android:colorForeground" />
    <item
        android:color="?android:colorForeground"/>
+25 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?><!--
     Copyright (C) 2019 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.
-->
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
        android:color="?android:attr/colorControlHighlight">
    <item android:id="@android:id/mask">
        <shape android:shape="rectangle">
            <solid android:color="@android:color/white"/>
            <corners android:radius="4dp" />
        </shape>
    </item>
    <item android:drawable="@drawable/option_border_edge_custom" />
</ripple>
+35 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     Copyright (C) 2019 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:state_activated="true">
        <shape android:shape="rectangle">
            <stroke
                android:color="@color/option_border_color"
                android:width="@dimen/option_selected_border_width" />
            <corners android:radius="4dp" />
        </shape>
    </item>
    <item android:state_activated="false">
        <shape android:shape="rectangle">
            <stroke
                android:color="@color/black_24_alpha"
                android:alpha="0.24"
                android:width="@dimen/option_border_width" />
            <corners android:radius="4dp" />
        </shape>
    </item>
</selector>
+26 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--

     Copyright (C) 2019 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.
-->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
       android:shape="rectangle">
    <gradient
        android:angle="90"
        android:startColor="@android:color/transparent"
        android:centerColor="@android:color/transparent"
        android:endColor="@color/translucent_black_darker"
        android:type="linear" />
</shape>
 No newline at end of file
+32 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--

     Copyright (C) 2019 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.
-->
<layer-list
        xmlns:android="http://schemas.android.com/apk/res/android" >
    <item android:drawable="@drawable/theme_cover_scrim"/>
    <item>
        <shape android:shape="rectangle">
            <gradient
                android:angle="90"
                android:centerY="25%"
                android:startColor="@color/black_67_alpha"
                android:centerColor="@android:color/transparent"
                android:endColor="@android:color/transparent"
                android:type="linear" />
        </shape>
    </item>
</layer-list>
 No newline at end of file
Loading