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

Commit d3f6449d authored by Chuck Liao's avatar Chuck Liao Committed by Android (Google) Code Review
Browse files

Merge changes from topics "add_boarder", "wallpaper_bottom_bar" into ub-launcher3-master

* changes:
  Add the border to the selected wallpaper.
  Implement the bottom action bar for the wallpaper section.
parents 8e8b4745 2ad2fd9f
Loading
Loading
Loading
Loading

res/color/option_border_color.xml

deleted100644 → 0
+0 −28
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"
        android:color="?android:colorAccent" />
    <item
        android:state_activated="false"
        android:alpha="0.24"
        android:color="?android:colorAccent" />
    <item
        android:alpha="0.05"
        android:color="@color/option_border_default"/>
</selector>

res/drawable/option_border.xml

deleted100644 → 0
+0 −25
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" />
</ripple>
+0 −34
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/option_border_color"
                android:width="@dimen/option_border_width" />
            <corners android:radius="4dp" />
        </shape>
    </item>
</selector>
+2 −0
Original line number Diff line number Diff line
@@ -36,4 +36,6 @@
        app:labelVisibilityMode="labeled"
        app:menu="@menu/bottom_navigation_menu"/>

    <include layout="@layout/bottom_action_bar" />

</FrameLayout>
+0 −2
Original line number Diff line number Diff line
@@ -40,7 +40,5 @@

    <color name="divider_color">@color/white_14_alpha</color>

    <color name="edit_background_base">@color/material_white_100</color>

    <color name="cover_title_color">@color/white_88_alpha</color>
</resources>
Loading