2016-02-21 21:09:58 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-10-01 23:13:17 +02:00
|
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2020-11-02 10:11:08 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
2017-03-16 21:07:49 +01:00
|
|
|
android:id="@+id/photo_holder"
|
2016-02-21 21:09:58 +01:00
|
|
|
android:layout_width="match_parent"
|
2017-03-16 21:07:49 +01:00
|
|
|
android:layout_height="match_parent">
|
|
|
|
|
2019-01-21 16:42:03 +01:00
|
|
|
<com.alexvasilkov.gestures.GestureImageView
|
2019-01-17 16:40:27 +01:00
|
|
|
android:id="@+id/gestures_view"
|
2017-03-16 21:07:49 +01:00
|
|
|
android:layout_width="match_parent"
|
2020-11-02 10:11:08 +01:00
|
|
|
android:layout_height="match_parent" />
|
2017-04-01 12:00:32 +02:00
|
|
|
|
2019-01-29 10:21:10 +01:00
|
|
|
<com.alexvasilkov.gestures.GestureFrameLayout
|
|
|
|
android:id="@+id/gif_view_frame"
|
2019-01-14 23:48:52 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-01-29 10:21:10 +01:00
|
|
|
android:layout_centerInParent="true"
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
<pl.droidsonroids.gif.GifTextureView
|
|
|
|
android:id="@+id/gif_view"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-11-02 10:11:08 +01:00
|
|
|
android:scaleType="fitCenter" />
|
2019-01-29 10:21:10 +01:00
|
|
|
|
|
|
|
</com.alexvasilkov.gestures.GestureFrameLayout>
|
2018-10-02 19:08:31 +02:00
|
|
|
|
2017-04-01 12:00:32 +02:00
|
|
|
<com.davemorrissey.labs.subscaleview.SubsamplingScaleImageView
|
|
|
|
android:id="@+id/subsampling_view"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2020-11-02 10:11:08 +01:00
|
|
|
android:visibility="gone" />
|
2017-04-01 12:00:32 +02:00
|
|
|
|
2018-07-03 15:39:31 +02:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/panorama_outline"
|
|
|
|
android:layout_width="@dimen/play_outline_size_big"
|
|
|
|
android:layout_height="@dimen/play_outline_size_big"
|
|
|
|
android:layout_centerInParent="true"
|
2019-07-28 17:58:59 +02:00
|
|
|
android:contentDescription="@null"
|
2020-11-02 10:11:08 +01:00
|
|
|
android:padding="20dp"
|
2019-01-02 22:06:10 +01:00
|
|
|
android:src="@drawable/ic_panorama_outline"
|
2020-11-02 10:11:08 +01:00
|
|
|
android:visibility="gone" />
|
2018-07-03 15:39:31 +02:00
|
|
|
|
2018-06-14 10:41:38 +02:00
|
|
|
<TextView
|
2017-10-18 21:54:08 +02:00
|
|
|
android:id="@+id/photo_details"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2019-05-16 23:04:51 +02:00
|
|
|
android:layout_alignParentStart="true"
|
2017-10-18 21:54:08 +02:00
|
|
|
android:layout_marginLeft="@dimen/small_margin"
|
|
|
|
android:layout_marginRight="@dimen/small_margin"
|
2020-11-02 10:11:08 +01:00
|
|
|
android:background="@drawable/extended_details_background"
|
2017-10-18 21:54:08 +02:00
|
|
|
android:padding="@dimen/small_margin"
|
2018-06-14 10:41:38 +02:00
|
|
|
android:textColor="@color/theme_dark_text_color"
|
2017-10-18 21:54:08 +02:00
|
|
|
android:textSize="@dimen/smaller_text_size"
|
|
|
|
android:visibility="gone"
|
2020-11-02 10:11:08 +01:00
|
|
|
tools:text="My image\nAnother line" />
|
2017-10-18 21:54:08 +02:00
|
|
|
|
2018-11-04 21:25:51 +01:00
|
|
|
<com.simplemobiletools.gallery.pro.views.MediaSideScroll
|
2018-02-02 14:32:27 +01:00
|
|
|
android:id="@+id/photo_brightness_controller"
|
2018-02-02 14:55:12 +01:00
|
|
|
android:layout_width="@dimen/media_side_slider_width"
|
2018-02-02 14:32:27 +01:00
|
|
|
android:layout_height="match_parent"
|
2020-11-02 10:11:08 +01:00
|
|
|
android:layout_alignParentStart="true" />
|
2018-02-02 14:32:27 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/slide_info"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentBottom="true"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:layout_marginBottom="120dp"
|
|
|
|
android:alpha="0"
|
|
|
|
android:background="@drawable/black_rounded_background"
|
|
|
|
android:gravity="center"
|
|
|
|
android:paddingLeft="@dimen/activity_margin"
|
|
|
|
android:paddingTop="@dimen/medium_margin"
|
2018-10-02 19:08:31 +02:00
|
|
|
android:paddingRight="@dimen/activity_margin"
|
|
|
|
android:paddingBottom="@dimen/medium_margin"
|
2018-02-02 14:32:27 +01:00
|
|
|
android:textColor="@android:color/white"
|
2020-11-02 10:11:08 +01:00
|
|
|
android:textSize="@dimen/extra_big_text_size" />
|
2018-02-02 14:32:27 +01:00
|
|
|
|
2019-10-01 23:13:17 +02:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/photo_portrait_stripe_wrapper"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/portrait_photos_stripe_height"
|
|
|
|
android:layout_alignParentBottom="true"
|
2019-10-02 20:57:49 +02:00
|
|
|
android:visibility="invisible">
|
2019-10-01 23:13:17 +02:00
|
|
|
|
2019-10-02 19:25:27 +02:00
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
2019-10-01 23:13:17 +02:00
|
|
|
android:id="@+id/photo_portrait_stripe"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:overScrollMode="never"
|
|
|
|
app:layoutManager="com.simplemobiletools.commons.views.MyLinearLayoutManager" />
|
|
|
|
|
|
|
|
</RelativeLayout>
|
|
|
|
|
2018-11-04 21:25:51 +01:00
|
|
|
<com.simplemobiletools.gallery.pro.views.InstantItemSwitch
|
2018-01-27 23:35:28 +01:00
|
|
|
android:id="@+id/instant_prev_item"
|
2020-02-17 20:37:40 +01:00
|
|
|
android:layout_width="1dp"
|
2020-11-02 10:11:08 +01:00
|
|
|
android:layout_height="match_parent" />
|
2018-01-27 23:35:28 +01:00
|
|
|
|
2018-11-04 21:25:51 +01:00
|
|
|
<com.simplemobiletools.gallery.pro.views.InstantItemSwitch
|
2018-01-27 23:35:28 +01:00
|
|
|
android:id="@+id/instant_next_item"
|
2020-02-17 20:37:40 +01:00
|
|
|
android:layout_width="1dp"
|
2018-01-27 23:35:28 +01:00
|
|
|
android:layout_height="match_parent"
|
2020-11-02 10:11:08 +01:00
|
|
|
android:layout_alignParentEnd="true" />
|
2018-01-27 23:35:28 +01:00
|
|
|
|
2017-03-16 21:07:49 +01:00
|
|
|
</RelativeLayout>
|