2016-02-20 19:26:23 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-04-18 10:32:13 +02:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2016-11-19 19:20:50 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2017-03-04 19:29:24 +01:00
|
|
|
android:id="@+id/media_refresh_layout"
|
2016-02-20 19:26:23 +01:00
|
|
|
android:layout_width="match_parent"
|
2016-12-07 20:36:42 +01:00
|
|
|
android:layout_height="wrap_content">
|
2016-03-03 00:12:10 +01:00
|
|
|
|
2017-03-04 19:29:24 +01:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/media_holder"
|
2016-03-03 00:12:10 +01:00
|
|
|
android:layout_width="match_parent"
|
2017-03-04 19:29:24 +01:00
|
|
|
android:layout_height="wrap_content">
|
2016-03-03 00:12:10 +01:00
|
|
|
|
2017-08-28 23:57:48 +02:00
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
2020-04-18 10:32:13 +02:00
|
|
|
android:id="@+id/media_empty_text_placeholder"
|
2017-08-28 23:57:48 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2020-04-18 10:32:13 +02:00
|
|
|
android:alpha="0.8"
|
2017-08-28 23:57:48 +02:00
|
|
|
android:gravity="center_horizontal"
|
2020-04-18 10:32:13 +02:00
|
|
|
android:paddingStart="@dimen/activity_margin"
|
2017-08-28 23:57:48 +02:00
|
|
|
android:paddingTop="@dimen/activity_margin"
|
2020-04-18 10:32:13 +02:00
|
|
|
android:paddingEnd="@dimen/activity_margin"
|
2017-08-28 23:57:48 +02:00
|
|
|
android:text="@string/no_media_with_filters"
|
2018-04-09 21:38:08 +02:00
|
|
|
android:textSize="@dimen/bigger_text_size"
|
2020-04-18 10:32:13 +02:00
|
|
|
android:textStyle="italic"
|
|
|
|
android:visibility="gone" />
|
2017-08-28 23:57:48 +02:00
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
2020-04-18 10:32:13 +02:00
|
|
|
android:id="@+id/media_empty_text_placeholder_2"
|
2017-08-28 23:57:48 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-04-18 10:32:13 +02:00
|
|
|
android:layout_below="@+id/media_empty_text_placeholder"
|
2017-08-28 23:57:48 +02:00
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:padding="@dimen/activity_margin"
|
|
|
|
android:text="@string/change_filters_underlined"
|
2018-04-09 21:38:08 +02:00
|
|
|
android:textSize="@dimen/bigger_text_size"
|
2020-04-18 10:32:13 +02:00
|
|
|
android:visibility="gone" />
|
2017-08-28 23:57:48 +02:00
|
|
|
|
2021-11-29 19:17:48 +01:00
|
|
|
<com.qtalk.recyclerviewfastscroller.RecyclerViewFastScroller
|
|
|
|
android:id="@+id/media_fastscroller"
|
2017-06-24 21:42:53 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2021-11-29 19:17:48 +01:00
|
|
|
app:supportSwipeToRefresh="true">
|
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MyRecyclerView
|
|
|
|
android:id="@+id/media_grid"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layoutAnimation="@anim/layout_animation"
|
|
|
|
android:scrollbars="none"
|
|
|
|
app:layoutManager="com.simplemobiletools.commons.views.MyGridLayoutManager"
|
|
|
|
app:spanCount="@integer/media_columns_vertical_scroll" />
|
|
|
|
|
|
|
|
</com.qtalk.recyclerviewfastscroller.RecyclerViewFastScroller>
|
2017-03-04 19:29:24 +01:00
|
|
|
</RelativeLayout>
|
2018-10-05 22:42:21 +02:00
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|