diff options
Diffstat (limited to 'app/src/main/res/layout/item_attachment_image.xml')
-rw-r--r-- | app/src/main/res/layout/item_attachment_image.xml | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/app/src/main/res/layout/item_attachment_image.xml b/app/src/main/res/layout/item_attachment_image.xml new file mode 100644 index 000000000..c7f63d998 --- /dev/null +++ b/app/src/main/res/layout/item_attachment_image.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> + +<it.niedermann.nextcloud.deck.ui.widget.SquareRelativeLayout 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:layout_width="match_parent" + android:layout_height="match_parent"> + + <androidx.appcompat.widget.AppCompatImageView + android:id="@+id/preview" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:layout_gravity="center" + app:srcCompat="@drawable/ic_image_grey600_24dp" /> + + <androidx.appcompat.widget.AppCompatImageView + android:id="@+id/not_synced_yet" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="bottom|end" + android:translationY="-8dp" + android:visibility="gone" + app:srcCompat="@drawable/ic_sync_blue_24dp" + tools:visibility="visible" /> +</it.niedermann.nextcloud.deck.ui.widget.SquareRelativeLayout>
\ No newline at end of file |