contacts: fix download button looks like a upload button #28
- Commit
8dbf2e784f07b22384d11ad7694a1410a135f3f3- Author
- Vayun Mathur <[email protected]>
- When
- 2026-04-11 01:46 UTC (7 months ago)
- Parents
66f2fb1
Diff
contacts/src/main/java/com/vayunmathur/contacts/ui/ContactList.kt
diff --git a/contacts/src/main/java/com/vayunmathur/contacts/ui/ContactList.kt b/contacts/src/main/java/com/vayunmathur/contacts/ui/ContactList.ktindex b42e457c49..734b6faf66 100644--- a/contacts/src/main/java/com/vayunmathur/contacts/ui/ContactList.kt+++ b/contacts/src/main/java/com/vayunmathur/contacts/ui/ContactList.kt@@ -117,7 +117,7 @@ fun ContactList( IconButton(onClick = { exportLauncher.launch("contacts.vcf") }) {- Icon(painterResource(R.drawable.upload_24px), // Using Upload for export+ Icon(painterResource(R.drawable.download_24px), // Using Upload for export contentDescription = "Export selected contacts" ) }
contacts/src/main/res/drawable/download_24px.xml
diff --git a/contacts/src/main/res/drawable/download_24px.xml b/contacts/src/main/res/drawable/download_24px.xmlnew file mode 100644index 0000000000..8f18817cbe--- /dev/null+++ b/contacts/src/main/res/drawable/download_24px.xml@@ -0,0 +1,20 @@+<!--+ ~ Copyright (C) 2026 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.+ -->+<vector xmlns:android="http://schemas.android.com/apk/res/android" android:height="24dp" android:tint="#000000" android:viewportHeight="960" android:viewportWidth="960" android:width="24dp">+ + <path android:fillColor="@android:color/white" android:pathData="M480,640L280,440L336,382L440,486L440,160L520,160L520,486L624,382L680,440L480,640ZM240,800Q207,800 183.5,776.5Q160,753 160,720L160,600L240,600L240,720Q240,720 240,720Q240,720 240,720L720,720Q720,720 720,720Q720,720 720,720L720,600L800,600L800,720Q800,753 776.5,776.5Q753,800 720,800L240,800Z"/>+ +</vector>