Messaging: Use xml drawables
Replace the pngs with xml drawables Change-Id: I71be32c36194d3b34b54287a09789f73087600ef
This commit is contained in:
@@ -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.
|
||||
@@ -33,14 +34,14 @@
|
||||
android:id="@+id/play_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_audio_play"
|
||||
android:src="@drawable/ic_play_light"
|
||||
android:contentDescription="@string/audio_play_content_description"/>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/pause_button"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_audio_pause"
|
||||
android:src="@drawable/ic_pause_light"
|
||||
android:contentDescription="@string/audio_pause_content_description"/>
|
||||
</com.android.messaging.ui.AudioAttachmentPlayPauseButton>
|
||||
|
||||
|
||||
@@ -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.
|
||||
@@ -90,7 +91,9 @@
|
||||
android:minWidth="96dp"
|
||||
android:minHeight="96dp"
|
||||
android:background="@drawable/transparent_button_background"
|
||||
android:src="@drawable/ic_checkmark_large_light"
|
||||
android:src="@drawable/ic_mp_video_small_light"
|
||||
android:scaleX="2.5"
|
||||
android:scaleY="2.5"
|
||||
android:contentDescription="@string/camera_take_picture"/>
|
||||
|
||||
<FrameLayout
|
||||
@@ -126,7 +129,7 @@
|
||||
android:minWidth="48dp"
|
||||
android:minHeight="48dp"
|
||||
android:background="@drawable/transparent_button_background"
|
||||
android:src="@drawable/ic_remove_small_light"
|
||||
android:src="@drawable/ic_cancel_small_light"
|
||||
android:visibility="gone"
|
||||
android:contentDescription="@string/camera_cancel_recording" />
|
||||
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2020 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.
|
||||
@@ -41,7 +42,9 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:scaleType="center"
|
||||
android:src="@drawable/ic_person_light_large"
|
||||
android:src="@drawable/ic_person_light"
|
||||
android:scaleX="1.33"
|
||||
android:scaleY="1.33"
|
||||
android:tint="@color/primary_color"
|
||||
android:importantForAccessibility="no"
|
||||
android:contentDescription="@null" />
|
||||
|
||||
@@ -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.
|
||||
@@ -32,7 +33,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:background="@drawable/transparent_button_background"
|
||||
android:src="@drawable/ic_video_play_light"
|
||||
android:src="@drawable/ic_play_light"
|
||||
android:contentDescription="@string/video_thumbnail_view_play_button_content_description" />
|
||||
|
||||
</merge>
|
||||
</merge>
|
||||
|
||||
@@ -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.
|
||||
@@ -111,7 +112,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:visibility="gone"
|
||||
android:src="@drawable/ic_video_play_light"
|
||||
android:src="@drawable/ic_play_light"
|
||||
android:importantForAccessibility="no"
|
||||
android:contentDescription="@null"/>
|
||||
</FrameLayout>
|
||||
|
||||
@@ -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.
|
||||
@@ -111,7 +112,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:visibility="gone"
|
||||
android:src="@drawable/ic_video_play_light"
|
||||
android:src="@drawable/ic_play_light"
|
||||
android:importantForAccessibility="no"
|
||||
android:contentDescription="@null"/>
|
||||
</FrameLayout>
|
||||
|
||||
Reference in New Issue
Block a user