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 cc4a666181f7e7e5edc729ed75fee9c5962f339d..0000000000000000000000000000000000000000 --- 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 0c942b981b971be87a63ca3e668b9779017733b8..0000000000000000000000000000000000000000 --- 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 0d906c99c2e182f4b2ef3f5e33ec303ed5c93907..0000000000000000000000000000000000000000 --- 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 495dd1dc4b4082bf3bcef95535b80166bd8a3b35..0000000000000000000000000000000000000000 --- 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 f2f3c587eb5d7c26a12f26d0c938d0d8e8341178..0000000000000000000000000000000000000000 --- 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 5e0890b1ced65282fa7ac9a77f550f5760d4cdd6..f748de26c95780acd5a507c8210aba181ac0e295 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">