Messaging: Use xml drawables

Replace the pngs with xml drawables

Change-Id: I71be32c36194d3b34b54287a09789f73087600ef
This commit is contained in:
Michael W
2024-12-26 14:55:12 +01:00
parent 4ecf5bc70a
commit d869533f6f
357 changed files with 604 additions and 101 deletions
+2 -1
View File
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The Android Open Source Project
Copyright (C) 2024 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -20,7 +21,7 @@
xmlns:tools="http://schemas.android.com/tools" >
<item
android:id="@+id/action_confirm_selection"
android:icon="@drawable/ic_checkmark_small_light"
android:icon="@drawable/ic_checkmark_light"
android:orderInCategory="100"
android:title="@string/action_confirm_selection"
appcompat:showAsAction="always"/>
+2 -1
View File
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The Android Open Source Project
Copyright (C) 2024 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -43,7 +44,7 @@
<item
android:id="@+id/action_confirm_participants"
android:icon="@drawable/ic_checkmark_small_light"
android:icon="@drawable/ic_checkmark_light"
android:orderInCategory="120"
android:title="@string/confrim_participants_button_content_description"
appcompat:showAsAction="always"/>
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The Android Open Source Project
Copyright (C) 2024 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -16,7 +17,8 @@
-->
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:appcompat="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" >
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/share_message_menu"
@@ -57,7 +59,9 @@
appcompat:showAsAction="collapseActionView|always"/>
<item
android:id="@+id/action_delete_message"
android:icon="@drawable/ic_delete_small_light"
android:icon="@drawable/ic_delete_small_dark"
android:title="@string/action_delete_message"
android:iconTint="@android:color/white"
app:iconTint="@android:color/white"
appcompat:showAsAction="collapseActionView|always"/>
</menu>
@@ -17,25 +17,32 @@
-->
<menu xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:appcompat="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" >
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto">
<item
android:id="@+id/action_archive"
android:icon="@drawable/ic_archive_small_dark"
android:orderInCategory="50"
android:title="@string/action_archive"
android:iconTint="@android:color/white"
app:iconTint="@android:color/white"
appcompat:showAsAction="collapseActionView|always"/>
<item
android:id="@+id/action_unarchive"
android:icon="@drawable/ic_archive_undo_small_dark"
android:orderInCategory="50"
android:title="@string/action_unarchive"
android:iconTint="@android:color/white"
app:iconTint="@android:color/white"
appcompat:showAsAction="collapseActionView|always"/>
<item
android:id="@+id/action_delete"
android:icon="@drawable/ic_delete_small_light"
android:icon="@drawable/ic_delete_small_dark"
android:orderInCategory="60"
android:title="@string/action_delete"
android:iconTint="@android:color/white"
app:iconTint="@android:color/white"
appcompat:showAsAction="collapseActionView|always"/>
<item
android:id="@+id/action_add_contact"
+2 -1
View File
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<!--
Copyright (C) 2015 The Android Open Source Project
Copyright (C) 2024 The LineageOS Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -27,7 +28,7 @@
<item
android:id="@+id/action_confirm_multiselect"
android:icon="@drawable/ic_checkmark_small_light"
android:icon="@drawable/ic_checkmark_light"
android:orderInCategory="101"
android:title="@string/action_confirm_multiselect"
appcompat:showAsAction="always"/>