aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/activity_image.xml
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2020-03-01 22:54:38 -0800
committerGitHub <noreply@github.com>2020-03-01 22:54:38 -0800
commit6d29dcd17be1d5d2ddb99bf3befea125ca955420 (patch)
tree5a2a0669effbd22e0bdd7062193da42afdb6be7e /app/src/main/res/layout/activity_image.xml
parente732e30d97babca49ba5f7d97aea1620ba14024b (diff)
parent23acc1b70887dc7b1a9600a8cdef1e2c9676665d (diff)
downloadfrost-6d29dcd17be1d5d2ddb99bf3befea125ca955420.tar.gz
frost-6d29dcd17be1d5d2ddb99bf3befea125ca955420.tar.bz2
frost-6d29dcd17be1d5d2ddb99bf3befea125ca955420.zip
Merge pull request #1658 from AllanWang/save-image
Save image
Diffstat (limited to 'app/src/main/res/layout/activity_image.xml')
-rw-r--r--app/src/main/res/layout/activity_image.xml39
1 files changed, 31 insertions, 8 deletions
diff --git a/app/src/main/res/layout/activity_image.xml b/app/src/main/res/layout/activity_image.xml
index 7d79cb74..6530dc4a 100644
--- a/app/src/main/res/layout/activity_image.xml
+++ b/app/src/main/res/layout/activity_image.xml
@@ -27,6 +27,37 @@
</com.pitchedapps.frost.views.DragFrame>
+ <LinearLayout
+ android:id="@+id/toolbar"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_gravity="top"
+ android:gravity="end"
+ android:orientation="horizontal"
+ android:paddingStart="8dp"
+ android:paddingTop="10dp"
+ android:paddingEnd="8dp"
+ android:paddingBottom="10dp">
+
+ <ImageView
+ android:id="@+id/error"
+ style="@style/Image.Icon" />
+
+ <Space
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_weight="1" />
+
+ <ImageView
+ android:id="@+id/download"
+ style="@style/Image.Icon" />
+
+ <ImageView
+ android:id="@+id/share"
+ style="@style/Image.Icon" />
+
+ </LinearLayout>
+
<TextView
android:id="@+id/image_text"
android:layout_width="match_parent"
@@ -36,12 +67,4 @@
app:behavior_peekHeight="44dp"
app:layout_behavior="@string/bottom_sheet_behavior" />
- <com.google.android.material.floatingactionbutton.FloatingActionButton
- android:id="@+id/image_fab"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="end|bottom"
- android:layout_margin="@dimen/kau_fab_margin"
- android:visibility="invisible" />
-
</androidx.coordinatorlayout.widget.CoordinatorLayout>