Messaging: Remove compatibility for old android versions

Change-Id: Id9065d60525a509271a0e64c0e349e857cb998e2
This commit is contained in:
Michael W
2024-12-26 14:55:12 +01:00
parent 9bbc7a8f99
commit 7c55a6d56a
104 changed files with 580 additions and 2306 deletions
@@ -14,8 +14,5 @@
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_pressed="true"
android:drawable="@color/contact_picker_tab_pressed" />
</selector>
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="@color/contact_picker_tab_pressed" />
+8 -27
View File
@@ -14,32 +14,13 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
<layer-list
xmlns:android="http://schemas.android.com/apk/res/android">
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="@color/fab_ripple" >
<item>
<bitmap
android:src="@drawable/fab_new_message_static_shadow" />
<shape android:shape="oval">
<solid android:color="@color/fab_color" />
</shape>
</item>
<item
android:left="2dp"
android:right="2dp"
android:bottom="@dimen/fab_padding_bottom">
<selector>
<item
android:state_pressed="true">
<shape
android:shape="oval" >
<solid
android:color="@color/fab_pressed_color" />
</shape>
</item>
<item>
<shape
android:shape="oval" >
<solid
android:color="@color/fab_color" />
</shape>
</item>
</selector>
</item>
</layer-list>
</ripple>
@@ -14,10 +14,8 @@
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_pressed="true"
android:drawable="@color/gallery_image_pressed" />
<item
android:drawable="@android:color/transparent" />
</selector>
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="@color/gallery_image_pressed">
<item android:id="@android:id/mask"
android:drawable="@android:color/white" />
</ripple>
@@ -14,13 +14,5 @@
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_pressed="true"
android:drawable="@color/background_item_pressed" />
<item
android:state_activated="true"
android:drawable="@color/background_item_activated" />
<item
android:drawable="@color/background_item_transparent" />
</selector>
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="@color/background_item_pressed" />
+2 -10
View File
@@ -14,13 +14,5 @@
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_pressed="true"
android:drawable="@color/background_item_pressed" />
<item
android:state_activated="true"
android:drawable="@color/background_item_activated" />
<item
android:drawable="@color/background_item_transparent" />
</selector>
<ripple xmlns:android="http://schemas.android.com/apk/res/android"
android:color="@color/background_item_pressed" />
+23
View File
@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 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="@color/ripple_material_light" >
<item android:id="@android:id/mask">
<color android:color="@android:color/white" />
</item>
</ripple>