Drop unused res

This commit is contained in:
tarsin committed 2022-05-18 11:42:47 +08:00
1 parent 2f49748a3b
commit afcd5b0d6e
6 files changed
-181

No files matched your search

@@ -1,20 +0,0 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright 2018 Hippo Seven
~
~ 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="@color/primary_text_disabled_material_black" android:state_enabled="false" />
<item android:color="@color/primary_text_default_material_black" />
</selector>
@@ -1,28 +0,0 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright 2016 Hippo Seven
~
~ 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="48dp"
android:height="48dp"
android:tint="?colorAccent"
android:viewportWidth="24"
android:viewportHeight="24">
<path
android:fillColor="@android:color/white"
android:pathData="@string/pd_chart" />
</vector>
@@ -1,82 +0,0 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright 2016 Hippo Seven
~
~ 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.
-->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:paddingHorizontal="@dimen/keyline_margin"
android:paddingTop="@dimen/keyline_margin"
app:fitsSystemWindowsInsets="top|bottom">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:padding="@dimen/keyline_margin"
app:srcCompat="@drawable/v_chart_accent_x48" />
<ScrollView
android:layout_width="wrap_content"
android:layout_height="0dp"
android:layout_weight="1"
android:clipToPadding="false"
android:paddingVertical="@dimen/keyline_margin">
<TextView
android:id="@+id/text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingHorizontal="32dp"
android:textColor="?android:attr/textColorPrimary"
android:textSize="@dimen/text_little_small" />
</ScrollView>
<LinearLayout
android:id="@+id/buttonPanel"
style="?attr/buttonBarStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:clipToPadding="false"
android:gravity="bottom"
android:orientation="horizontal"
android:paddingLeft="12dp"
android:paddingTop="4dp"
android:paddingRight="12dp"
android:paddingBottom="20dp">
<Button
android:id="@+id/reject"
style="@style/Widget.MaterialComponents.Button.OutlinedButton"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="4dp"
android:layout_weight="1"
android:text="@string/reject" />
<Button
android:id="@+id/accept"
style="@style/Widget.MaterialComponents.Button"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="4dp"
android:layout_weight="1"
android:text="@string/accept" />
</LinearLayout>
</LinearLayout>
-5
View File
@@ -21,11 +21,8 @@
<color name="content">@color/grey_825</color>
<color name="content_activated">@color/grey_600</color>
<color name="widget">@color/grey_700</color>
<color name="progress">@color/grey_600</color>
<color name="tag_group_background">@color/grey_775</color>
<color name="tag_background">@color/grey_775</color>
<color name="gallery_detail_button_background">@color/grey_800</color>
<!-- divider -->
<color name="divider">#20ffffff</color>
@@ -33,11 +30,9 @@
<!-- shadow -->
<!-- Gallery Activity -->
<color name="gallery_slider_background">@color/grey_900</color>
<!-- Lock pattern view -->
<color name="lock_pattern_view_regular_color">#8affffff</color>
<!--Shortcut background-->
<color name="colorBackground">#303030</color>
</resources>
-23
View File
@@ -28,33 +28,20 @@
<color name="primary_drawable_black">#ccffffff</color>
<color name="secondary_drawable_black">#3dffffff</color>
<color name="primary_text_default_material_black">#d9ffffff</color>
<color name="primary_text_disabled_material_black">#4dffffff</color>
<color name="content">#fff</color>
<color name="content_black">@color/grey_925</color>
<color name="content_activated">@color/grey_300</color>
<color name="content_activated_black">@color/grey_700</color>
<color name="widget">@color/grey_200</color>
<color name="widget_black">@color/grey_850</color>
<color name="progress">@color/colorAccent</color>
<color name="progress_black">@color/grey_700</color>
<color name="tag_group_background">@color/colorAccent</color>
<color name="tag_group_background_black">@color/grey_875</color>
<color name="tag_background">@color/colorPrimary</color>
<color name="tag_background_black">@color/grey_875</color>
<color name="gallery_detail_button_background">@color/grey_100</color>
<color name="gallery_detail_button_background_black">@color/grey_900</color>
<color name="red_500">#fff44336</color>
<color name="teal_500">#ff009688</color>
<color name="teal_700">#ff00796b</color>
<color name="purple_a200">#ffe040fb</color>
<color name="purple_a700">#ffaa00ff</color>
<color name="cyan_600">#ff00acc1</color>
@@ -62,22 +49,16 @@
<color name="yellow_800">#fff9a825</color>
<color name="deep_orange_400">#ffff7043</color>
<color name="grey_925">#ff191919</color>
<color name="grey_900">#ff212121</color>
<color name="grey_875">#ff292929</color>
<color name="grey_850">#ff323232</color>
<color name="grey_825">#ff3a3a3a</color>
<color name="grey_800">#ff424242</color>
<color name="grey_775">#ff4a4a4a</color>
<color name="grey_700">#ff616161</color>
<color name="grey_600">#ff757575</color>
<color name="grey_500">#ff9e9e9e</color>
<color name="grey_300">#ffe0e0e0</color>
<color name="grey_200">#ffeeeeee</color>
<color name="grey_100">#fff5f5f5</color>
<color name="brown_500">#ff795548</color>
<color name="colorPrimary">@color/teal_500</color>
<color name="colorPrimaryDark">@color/teal_700</color>
<color name="colorAccent">@color/purple_a200</color>
<color name="loading_indicator_red">#ffe53935</color>
@@ -118,9 +99,6 @@
<!-- shadow -->
<!-- Gallery Activity -->
<color name="gallery_slider_background">@color/grey_100</color>
<color name="guide_bg">#e5009688</color>
<!-- Lock pattern view -->
<color name="lock_pattern_view_regular_color">#8a000000</color>
@@ -129,5 +107,4 @@
<!--Shortcut background-->
<color name="shortcut_bg">#F5F5F5</color>
<color name="colorBackground">#fff</color>
</resources>
-23
View File
@@ -19,29 +19,6 @@
<!-- ========== -->
<!-- Base Theme -->
<!-- ========== -->
<style name="Base.AppTheme.Light" parent="Theme.Material3.DynamicColors.Light">
<item name="colorEdgeEffect">@color/colorPrimary</item>
<item name="dividerColor">@color/divider</item>
<item name="textColorThemeAccent">@color/colorAccent</item>
<item name="colorControlNormal">@color/primary_drawable</item>
<item name="drawableColorSecondary">@color/secondary_drawable</item>
<item name="drawableColorThemePrimary">@color/colorPrimary</item>
<item name="contentColorThemePrimary">@color/colorPrimary</item>
<item name="contentColorThemeAccent">@color/colorAccent</item>
<item name="contentColorReactive">@color/content_reactive</item>
<item name="guideBackgroundColor">@color/guide_bg</item>
<item name="guideTitleColor">?android:attr/textColorPrimaryInverse</item>
<item name="guideTextColor">?android:attr/textColorSecondaryInverse</item>
<item name="tagGroupBackgroundColor">@color/tag_group_background</item>
<item name="tagBackgroundColor">@color/tag_background</item>
<item name="galleryDetailHeaderTitleColor">?android:attr/textColorPrimaryInverse</item>
<item name="galleryDetailHeaderBackgroundColor">?attr/contentColorThemePrimary</item>
<item name="android:windowActionBar">false</item>
<item name="android:windowNoTitle">true</item>
<item name="windowActionBar">false</item>
<item name="windowNoTitle">true</item>
</style>
<style name="Base.AppTheme" parent="Theme.Material3.DynamicColors.DayNight">
<item name="colorControlActivated">@color/colorPrimary</item>