2016-02-21 21:09:58 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2017-03-16 21:07:49 +01:00
|
|
|
<RelativeLayout
|
2016-02-21 21:09:58 +01:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-10-18 21:54:08 +02: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">
|
|
|
|
|
2017-12-06 18:44:56 +01:00
|
|
|
<com.github.chrisbanes.photoview.PhotoView
|
2018-03-14 23:14:56 +01:00
|
|
|
android:id="@+id/photo_view"
|
2017-03-16 21:07:49 +01:00
|
|
|
android:layout_width="match_parent"
|
2017-10-28 13:27:50 +02:00
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:scaleType="fitCenter"/>
|
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"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
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"
|
2018-07-06 12:42:07 +02:00
|
|
|
android:background="@drawable/circle_black_background_with_inset"
|
|
|
|
android:padding="28dp"
|
2018-07-03 15:39:31 +02:00
|
|
|
android:src="@drawable/ic_panorama"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
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"
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
android:layout_marginLeft="@dimen/small_margin"
|
|
|
|
android:layout_marginRight="@dimen/small_margin"
|
|
|
|
android:background="@color/gradient_grey_start"
|
|
|
|
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"
|
|
|
|
tools:text="My image\nAnother line"/>
|
|
|
|
|
2018-02-09 17:12:31 +01:00
|
|
|
<com.simplemobiletools.gallery.helpers.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"
|
2018-02-09 16:41:17 +01:00
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
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:paddingBottom="@dimen/medium_margin"
|
|
|
|
android:paddingLeft="@dimen/activity_margin"
|
|
|
|
android:paddingRight="@dimen/activity_margin"
|
|
|
|
android:paddingTop="@dimen/medium_margin"
|
|
|
|
android:textColor="@android:color/white"
|
|
|
|
android:textSize="@dimen/extra_big_text_size"/>
|
|
|
|
|
2018-02-09 16:41:17 +01:00
|
|
|
<com.simplemobiletools.gallery.views.InstantItemSwitch
|
2018-01-27 23:35:28 +01:00
|
|
|
android:id="@+id/instant_prev_item"
|
|
|
|
android:layout_width="@dimen/instant_change_bar_width"
|
|
|
|
android:layout_height="match_parent"/>
|
|
|
|
|
2018-02-09 16:41:17 +01:00
|
|
|
<com.simplemobiletools.gallery.views.InstantItemSwitch
|
2018-01-27 23:35:28 +01:00
|
|
|
android:id="@+id/instant_next_item"
|
|
|
|
android:layout_width="@dimen/instant_change_bar_width"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
android:layout_alignParentRight="true"/>
|
|
|
|
|
2017-03-16 21:07:49 +01:00
|
|
|
</RelativeLayout>
|