]> git.ktnx.net Git - mobile-ledger.git/commitdiff
use the standard "add" icon for the new transaction FAB
authorDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 13 Apr 2019 19:58:39 +0000 (22:58 +0300)
committerDamyan Ivanov <dam+mobileledger@ktnx.net>
Sat, 13 Apr 2019 20:11:44 +0000 (23:11 +0300)
the thick plus was a bit out of place

app/src/main/res/drawable-anydpi-v21/ic_add_white_24dp.xml [new file with mode: 0644]
app/src/main/res/layout/activity_main.xml

diff --git a/app/src/main/res/drawable-anydpi-v21/ic_add_white_24dp.xml b/app/src/main/res/drawable-anydpi-v21/ic_add_white_24dp.xml
new file mode 100644 (file)
index 0000000..a3d2204
--- /dev/null
@@ -0,0 +1,23 @@
+<!--
+  ~ 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 android:height="24dp" android:tint="#EEEEEE"
+    android:viewportHeight="24.0" android:viewportWidth="24.0"
+    android:width="24dp" xmlns:android="http://schemas.android.com/apk/res/android">
+    <path android:fillColor="#FF000000" android:pathData="M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z"/>
+</vector>
index cce9ad17949b4911359b71090b9b3eccf4347f05..8e14e9a24670686accf6367e2df0855ecdf7e585 100644 (file)
                     android:layout_gravity="bottom|end"
                     android:layout_margin="@dimen/fab_margin"
                     app:backgroundTint="?colorAccent"
+                    app:maxImageSize="36dp"
                     app:layout_constraintBottom_toBottomOf="parent"
                     app:layout_constraintEnd_toEndOf="parent"
-                    app:srcCompat="@drawable/svg_thick_plus_white" />
+                    app:srcCompat="@drawable/ic_add_white_24dp" />
 
                 <LinearLayout
                     android:id="@+id/main_header"