From 078ed66d1885890a01daada436e5070d87f49654 Mon Sep 17 00:00:00 2001 From: Taras Smakula <tarassmakula@gmail.com> Date: Tue, 28 Nov 2023 17:30:25 +0200 Subject: [PATCH] Remove unused resources --- .../color/selector_rich_text_menu_icon.xml | 8 ------- .../bg_inline_code_multi_line_left.xml | 23 ------------------- .../bg_inline_code_multi_line_mid.xml | 21 ----------------- .../bg_inline_code_multi_line_right.xml | 23 ------------------- .../drawable/bg_inline_code_single_line.xml | 22 ------------------ app/src/main/res/values/strings.xml | 1 - 6 files changed, 98 deletions(-) delete mode 100644 app/src/main/res/color/selector_rich_text_menu_icon.xml delete mode 100644 app/src/main/res/drawable/bg_inline_code_multi_line_left.xml delete mode 100644 app/src/main/res/drawable/bg_inline_code_multi_line_mid.xml delete mode 100644 app/src/main/res/drawable/bg_inline_code_multi_line_right.xml delete mode 100644 app/src/main/res/drawable/bg_inline_code_single_line.xml diff --git a/app/src/main/res/color/selector_rich_text_menu_icon.xml b/app/src/main/res/color/selector_rich_text_menu_icon.xml deleted file mode 100644 index cc4a66618..000000000 --- a/app/src/main/res/color/selector_rich_text_menu_icon.xml +++ /dev/null @@ -1,8 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_enabled="false" android:color="@color/red" /> - <item android:state_pressed="true" android:color="?attr/colorSecondary" /> - <item android:state_hovered="true" android:color="?attr/colorSecondary" /> - <item android:state_selected="true" android:color="?attr/colorSecondary" /> - <item android:color="@color/blue" /> -</selector> diff --git a/app/src/main/res/drawable/bg_inline_code_multi_line_left.xml b/app/src/main/res/drawable/bg_inline_code_multi_line_left.xml deleted file mode 100644 index 0c942b981..000000000 --- a/app/src/main/res/drawable/bg_inline_code_multi_line_left.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright 2018 The Android Open Source Project - ~ Modifications Copyright 2022 New Vector Ltd - ~ - ~ 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"> - <solid android:color="@color/blue"/> - <stroke android:width="@dimen/inline_code_border_width" android:color="@color/blue"/> - <corners android:topLeftRadius="@dimen/inline_code_border_radius" - android:bottomLeftRadius="@dimen/inline_code_border_radius"/> -</shape> diff --git a/app/src/main/res/drawable/bg_inline_code_multi_line_mid.xml b/app/src/main/res/drawable/bg_inline_code_multi_line_mid.xml deleted file mode 100644 index 0d906c99c..000000000 --- a/app/src/main/res/drawable/bg_inline_code_multi_line_mid.xml +++ /dev/null @@ -1,21 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright 2018 The Android Open Source Project - ~ Modifications Copyright 2022 New Vector Ltd - ~ - ~ 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"> - <solid android:color="@color/blue"/> - <stroke android:width="@dimen/inline_code_border_width" android:color="@color/blue"/> -</shape> diff --git a/app/src/main/res/drawable/bg_inline_code_multi_line_right.xml b/app/src/main/res/drawable/bg_inline_code_multi_line_right.xml deleted file mode 100644 index 495dd1dc4..000000000 --- a/app/src/main/res/drawable/bg_inline_code_multi_line_right.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright 2018 The Android Open Source Project - ~ Modifications Copyright 2022 New Vector Ltd - ~ - ~ 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"> - <solid android:color="@color/blue"/> - <stroke android:width="@dimen/inline_code_border_width" android:color="@color/blue"/> - <corners android:topRightRadius="@dimen/inline_code_border_radius" - android:bottomRightRadius="@dimen/inline_code_border_radius"/> -</shape> diff --git a/app/src/main/res/drawable/bg_inline_code_single_line.xml b/app/src/main/res/drawable/bg_inline_code_single_line.xml deleted file mode 100644 index f2f3c587e..000000000 --- a/app/src/main/res/drawable/bg_inline_code_single_line.xml +++ /dev/null @@ -1,22 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright 2018 The Android Open Source Project - ~ Modifications Copyright 2022 New Vector Ltd - ~ - ~ 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"> - <solid android:color="@color/blue"/> - <stroke android:width="@dimen/inline_code_border_width" android:color="@color/blue"/> - <corners android:radius="@dimen/inline_code_border_radius"/> -</shape> diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 5e0890b1c..f748de26c 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -221,7 +221,6 @@ <string name="rich_text_editor_indent">Indent</string> <string name="rich_text_editor_unindent">Unindent</string> <string name="rich_text_editor_quote">Toggle quote</string> - <string name="rich_text_editor_inline_code">Apply inline code format</string> <string name="rich_text_editor_code_block">Toggle code block</string> <string-array name="report_categories"> -- GitLab