2018-11-20 09:59:23 -08:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<FrameLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-03-20 15:52:14 -07:00
|
|
|
android:layout_marginEnd="2dp"
|
2019-03-01 10:50:48 -08:00
|
|
|
android:layout_marginBottom="2dp"
|
|
|
|
android:animateLayoutChanges="true">
|
2018-11-20 09:59:23 -08:00
|
|
|
|
|
|
|
<org.thoughtcrime.securesms.components.SquareImageView
|
|
|
|
android:id="@+id/mediapicker_image_item_thumbnail"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:adjustViewBounds="true"
|
2019-03-01 10:50:48 -08:00
|
|
|
android:scaleType="centerCrop"
|
|
|
|
tools:src="@drawable/empty_inbox_1"/>
|
2018-11-20 09:59:23 -08:00
|
|
|
|
|
|
|
<View
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?mediapicker_image_outline" />
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/mediapicker_play_overlay"
|
|
|
|
android:layout_width="36dp"
|
|
|
|
android:layout_height="36dp"
|
|
|
|
android:background="@drawable/circle_white"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:longClickable="false"
|
|
|
|
android:visibility="gone"
|
2019-03-01 10:50:48 -08:00
|
|
|
tools:visibility="gone">
|
2018-11-20 09:59:23 -08:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="15dp"
|
|
|
|
android:layout_height="18dp"
|
|
|
|
android:layout_gravity="center"
|
2019-03-20 15:52:14 -07:00
|
|
|
android:layout_marginStart="2dp"
|
2018-11-20 09:59:23 -08:00
|
|
|
android:tint="@color/core_blue"
|
|
|
|
android:scaleType="fitXY"
|
|
|
|
app:srcCompat="@drawable/triangle_right" />
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
2019-03-01 10:50:48 -08:00
|
|
|
<View
|
|
|
|
android:id="@+id/mediapicker_select_overlay"
|
2018-11-20 09:59:23 -08:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-03-01 10:50:48 -08:00
|
|
|
android:background="@color/transparent_black_90" />
|
2018-11-20 09:59:23 -08:00
|
|
|
|
2019-03-19 11:10:43 -07:00
|
|
|
<FrameLayout
|
2019-03-01 10:50:48 -08:00
|
|
|
android:id="@+id/mediapicker_select_on"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="top|right|end"
|
|
|
|
android:padding="6dp"
|
|
|
|
android:visibility="gone"
|
2019-03-19 11:10:43 -07:00
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:src="@drawable/ic_select_on" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/mediapicker_select_order"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:textColor="@color/core_white"
|
|
|
|
android:textSize="14dp"
|
|
|
|
android:gravity="center"
|
|
|
|
tools:text="3"/>
|
|
|
|
|
|
|
|
</FrameLayout>
|
2018-11-20 09:59:23 -08:00
|
|
|
|
2019-03-01 10:50:48 -08:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/mediapicker_select_off"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="top|right|end"
|
|
|
|
android:padding="6dp"
|
|
|
|
android:src="@drawable/ic_select_off"
|
|
|
|
android:visibility="gone" />
|
2018-11-20 09:59:23 -08:00
|
|
|
|
|
|
|
</FrameLayout>
|