]> git.ktnx.net Git - mobile-ledger.git/commitdiff
use stock drag handle icon for profile list
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sun, 14 Feb 2021 08:03:29 +0000 (10:03 +0200)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Thu, 18 Feb 2021 07:19:43 +0000 (07:19 +0000)
app/src/main/res/drawable-anydpi/ic_baseline_drag_handle_24.xml [new file with mode: 0644]
app/src/main/res/layout/profile_list_content.xml

diff --git a/app/src/main/res/drawable-anydpi/ic_baseline_drag_handle_24.xml b/app/src/main/res/drawable-anydpi/ic_baseline_drag_handle_24.xml
new file mode 100644 (file)
index 0000000..49e9a5e
--- /dev/null
@@ -0,0 +1,31 @@
+<!--
+  ~ Copyright Google Inc.
+  ~
+  ~ 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:
+  ~
+  ~ https://www.apache.org/licenses/LICENSE-2.0
+  ~
+  ~ Unless required by applicable law or agreed to in writing, software
+  ~ distribution 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.
+  ~
+  ~ Modified/adapted by Damyan Ivanov for MoLe
+  -->
+
+<vector xmlns:android="http://schemas.android.com/apk/res/android"
+    android:width="24dp"
+    android:height="24dp"
+    android:autoMirrored="true"
+    android:tint="?colorPrimary"
+    android:viewportWidth="24"
+    android:viewportHeight="24"
+    >
+    <path
+        android:fillColor="@android:color/white"
+        android:pathData="M20,9H4v2h16V9zM4,15h16v-2H4V15z"
+        />
+</vector>
index a4584ad34773866572a1c90fa5ee96cf1a82f22e..2f0d6797ad745c0503643d67a7a62d4dce38d709 100644 (file)
@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="utf-8"?>
 <!--
-  ~ Copyright © 2019 Damyan Ivanov.
+  ~ Copyright © 2021 Damyan Ivanov.
   ~ This file is part of MoLe.
   ~ MoLe is free software: you can distribute it and/or modify it
   ~ under the term of the GNU General Public License as published by
@@ -40,7 +40,7 @@
             android:layout_height="match_parent"
             android:layout_margin="8dp"
             android:layout_weight="9"
-            android:background="@drawable/ic_unfold_more_black_24dp"
+            android:background="@drawable/ic_baseline_drag_handle_24"
             android:contentDescription="@string/profile_list_rearrange_handle_label"
             app:layout_constraintBottom_toBottomOf="parent"
             app:layout_constraintStart_toStartOf="parent"