Cherish: Add Cherish FOD icons [2/2]

Signed-off-by: Louis1977 <luisgonzales272@gmail.com>
Signed-off-by: Hưng Phan <phandinhhungvp2001@gmail.com>
This commit is contained in:
LouisG1977
2021-04-02 18:03:19 -06:00
committed by Hưng Phan
parent f89bf087be
commit dfdb9fdaec
4 changed files with 3 additions and 49 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

View File

@@ -1,46 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2019-2020 The Evolution X 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.
-->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="560dp"
android:height="560dp"
android:viewportWidth="560"
android:viewportHeight="560">
<path
android:fillColor="#fff"
android:fillAlpha="0.5"
android:strokeAlpha="0.5"
android:strokeWidth="1"
android:pathData="M335.5,369.75 L323.5,422.25 L190,303.75 L202,258.75 L334,258.75 L370,303.75 L260.5,303.75 L335.5,369.75 Z" />
<path
android:fillColor="#fff"
android:fillAlpha="0.5"
android:strokeAlpha="0.5"
android:strokeWidth="1"
android:pathData="M196,159.75 L370,159.75 L358,204.75 L244,204.75 L196,159.75 Z" />
<path
android:fillColor="#fff"
android:pathData="M323.5,427.25 A5,5,0,0,1,320.18,425.99 L186.68,307.49 A5,5,0,0,1,185.17,302.49 L197.17,257.49 A5,5,0,0,1,202,253.78 L334,253.78 A5,5,0,0,1,337.9,255.66 L373.9,300.66 A5,5,0,0,1,370,308.78 L273.75,308.78 L338.8,366 A5,5,0,0,1,340.37,370.86 L328.37,423.36 A5,5,0,0,1,325,427 A5,5,0,0,1,323.5,427.25 Z M195.63,302.06 L320.51,412.91 L330,371.54 L257.24,307.54 A5,5,0,0,1,260.54,298.79 L359.64,298.79 L331.64,263.79 L205.84,263.79 Z" />
<path
android:fillColor="#fff"
android:pathData="M358,209.75 L244,209.75 A5,5,0,0,1,240.58,208.4 L192.58,163.4 A5,5,0,0,1,196,154.75 L370,154.75 A5,5,0,0,1,374.83,161.04 L362.83,206.04 A5,5,0,0,1,358,209.75 Z M246,199.75 L354.16,199.75 L363.49,164.75 L208.64,164.75 Z" />
<path
android:strokeColor="@*android:color/accent_device_default_dark"
android:strokeWidth="16"
android:strokeMiterLimit="10"
android:pathData="M280,40 C412.548,40,520,147.452,520,280 C520,412.548,412.548,520,280,520 C147.452,520,40,412.548,40,280 C40,147.452,147.452,40,280,40 Z" />
</vector>

View File

@@ -161,7 +161,7 @@
android:id="@+id/fodicon11_button" android:id="@+id/fodicon11_button"
android:layout_width="@dimen/fod_picker_item_size" android:layout_width="@dimen/fod_picker_item_size"
android:layout_height="@dimen/fod_picker_item_size" android:layout_height="@dimen/fod_picker_item_size"
android:src="@drawable/fod_icon_evo1" android:src="@drawable/fod_icon_cherish"
android:scaleType="centerInside" android:scaleType="centerInside"
android:padding="@dimen/fod_picker_item_padding" android:padding="@dimen/fod_picker_item_padding"
android:layout_margin="@dimen/fod_picker_item_margin" android:layout_margin="@dimen/fod_picker_item_margin"

View File

@@ -196,9 +196,9 @@ public class FODIconPicker extends LayoutPreference {
} else if (defaultfodicon == 25) { } else if (defaultfodicon == 25) {
updateHighlightedItem(Button25, context); updateHighlightedItem(Button25, context);
} else if (defaultfodicon == 26) { } else if (defaultfodicon == 26) {
updateHighlightedItem(Button25, context); updateHighlightedItem(Button26, context);
} else if (defaultfodicon == 27) { } else if (defaultfodicon == 27) {
updateHighlightedItem(Button25, context); updateHighlightedItem(Button27, context);
} }
Button0.setOnClickListener(new View.OnClickListener() { Button0.setOnClickListener(new View.OnClickListener() {