diff options
author | Allan Wang <me@allanwang.ca> | 2020-03-01 01:25:06 -0800 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2020-03-01 01:25:06 -0800 |
commit | c1591dffa764eb16e1f825fceab0c04ac4456af4 (patch) | |
tree | fdc55a1ef36347a62138d2952d435a38affc8435 /app/src/main/res/layout | |
parent | 118635f6630487e93a519e9a63151d95b31ee8b1 (diff) | |
download | frost-c1591dffa764eb16e1f825fceab0c04ac4456af4.tar.gz frost-c1591dffa764eb16e1f825fceab0c04ac4456af4.tar.bz2 frost-c1591dffa764eb16e1f825fceab0c04ac4456af4.zip |
Rearrange image activity to use download manager
Diffstat (limited to 'app/src/main/res/layout')
-rw-r--r-- | app/src/main/res/layout/activity_image.xml | 39 |
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> |