diff --git a/app/src/main/res/drawable/ic_plus.xml b/app/src/main/res/drawable/ic_plus.xml new file mode 100644 index 0000000000000000000000000000000000000000..eb0f40356c67383e0760d86a3ad14bcd11220a7d --- /dev/null +++ b/app/src/main/res/drawable/ic_plus.xml @@ -0,0 +1,11 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="24dp" + android:height="24dp" + android:viewportWidth="24.0" + android:viewportHeight="24.0"> + + <path + android:fillColor="#000" + android:pathData="M19,13H13v6h-2v-6H5v-2h6V5h2v6h6v2z"/> + +</vector> \ No newline at end of file diff --git a/app/src/main/res/layout/fragment_transactions.xml b/app/src/main/res/layout/fragment_transactions.xml index 362f62850fde5792fd0a2de9d526a29683ebcb66..940a17aa72850d5ef5eeca88569e639e8dc9d3b9 100644 --- a/app/src/main/res/layout/fragment_transactions.xml +++ b/app/src/main/res/layout/fragment_transactions.xml @@ -1,17 +1,16 @@ -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools" +<RelativeLayout + xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" - android:layout_height="match_parent" - android:padding="16dp"> + android:layout_height="match_parent" > - <Button + <com.google.android.material.floatingactionbutton.FloatingActionButton android:id="@+id/button_addTransaction" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:text="+" - android:layout_alignParentBottom="true" android:layout_alignParentEnd="true" - android:layout_marginStart="16dp" - android:layout_marginBottom="48dp" /> + android:layout_alignParentBottom="true" + android:layout_marginEnd="24dp" + android:layout_marginBottom="72dp" + android:src="@drawable/ic_plus"/> </RelativeLayout> \ No newline at end of file