diff options
author | stefan-niedermann <info@niedermann.it> | 2019-11-16 13:05:44 +0300 |
---|---|---|
committer | stefan-niedermann <info@niedermann.it> | 2019-11-16 13:05:44 +0300 |
commit | b4ca66f8f97eeacfcd5e1f6f77a44a8a3aa5ff3b (patch) | |
tree | db6004f5f089707b7458184c661eb641f178ac0b /app/src/main/res | |
parent | 0c5ad621a94a0bd99ca8f2bca9302fedf56af81b (diff) |
#211 Add / Delete attachments
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/fragment_card_edit_tab_attachments.xml | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/app/src/main/res/layout/fragment_card_edit_tab_attachments.xml b/app/src/main/res/layout/fragment_card_edit_tab_attachments.xml index eb708bbed..e3990f93d 100644 --- a/app/src/main/res/layout/fragment_card_edit_tab_attachments.xml +++ b/app/src/main/res/layout/fragment_card_edit_tab_attachments.xml @@ -1,11 +1,13 @@ <?xml version="1.0" encoding="utf-8"?> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" + + +<androidx.coordinatorlayout.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" + xmlns:tools="http://schemas.android.com/tools" + android:id="@+id/coordinatorLayout" android:layout_width="match_parent" android:layout_height="match_parent" - xmlns:tools="http://schemas.android.com/tools" - android:layout_marginTop="@dimen/standard_margin" - android:orientation="vertical"> + tools:context=".ui.EditActivity"> <androidx.recyclerview.widget.RecyclerView android:id="@+id/attachments_list" @@ -53,4 +55,12 @@ android:text="@string/no_files_attached_to_this_card" /> </RelativeLayout> -</LinearLayout>
\ No newline at end of file + <com.google.android.material.floatingactionbutton.FloatingActionButton + android:id="@+id/fab" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="bottom|end" + android:layout_margin="@dimen/fab_margin" + app:backgroundTint="@color/primary" + app:srcCompat="@drawable/ic_add_white_24dp" /> +</androidx.coordinatorlayout.widget.CoordinatorLayout>
\ No newline at end of file |