diff options
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/activity_image.xml | 39 | ||||
-rw-r--r-- | app/src/main/res/values/styles.xml | 9 | ||||
-rw-r--r-- | app/src/main/res/xml/frost_changelog.xml | 2 |
3 files changed, 41 insertions, 9 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> diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index b94f754f..fcacacc3 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -182,4 +182,13 @@ <item name="android:paddingEnd">@dimen/drawer_nav_horizontal_margins</item> </style> + <style name="Image.Icon" parent=""> + <item name="android:layout_width">36dp</item> + <item name="android:layout_height">36dp</item> + <item name="android:layout_marginStart">8dp</item> + <item name="android:padding">6dp</item> + <item name="android:layout_marginEnd">8dp</item> + <item name="android:background">?selectableItemBackgroundBorderless</item> + </style> + </resources> diff --git a/app/src/main/res/xml/frost_changelog.xml b/app/src/main/res/xml/frost_changelog.xml index 99a48160..28ac4402 100644 --- a/app/src/main/res/xml/frost_changelog.xml +++ b/app/src/main/res/xml/frost_changelog.xml @@ -9,7 +9,7 @@ <version title="v2.4.4" /> <item text="Lots of under the hood fixes" /> <item text="Fixed sharing" /> - <item text="" /> + <item text="Fix photo downloads for Android Q+" /> <item text="" /> <version title="v2.4.3" /> |