2016-02-16 22:23:25 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-10-05 22:42:21 +02:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
2016-02-16 22:23:25 +01:00
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2016-11-16 23:50:46 +01:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
2017-03-04 20:26:43 +01:00
|
|
|
android:id="@+id/directories_refresh_layout"
|
2016-02-16 22:23:25 +01:00
|
|
|
android:layout_width="match_parent"
|
2017-03-04 20:26:43 +01:00
|
|
|
android:layout_height="wrap_content">
|
2016-03-06 21:45:48 +01:00
|
|
|
|
2017-03-04 20:26:43 +01:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/directories_holder"
|
2016-03-06 21:45:48 +01:00
|
|
|
android:layout_width="match_parent"
|
2017-03-04 20:26:43 +01:00
|
|
|
android:layout_height="wrap_content">
|
2016-03-06 21:45:48 +01:00
|
|
|
|
2017-08-28 23:57:48 +02:00
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
|
|
android:id="@+id/directories_empty_text_label"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:paddingLeft="@dimen/big_margin"
|
|
|
|
android:paddingTop="@dimen/activity_margin"
|
2018-11-18 21:53:49 +01:00
|
|
|
android:paddingRight="@dimen/big_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"
|
2017-08-28 23:57:48 +02:00
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
|
|
android:id="@+id/directories_empty_text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/directories_empty_text_label"
|
|
|
|
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"
|
2017-08-28 23:57:48 +02:00
|
|
|
android:visibility="gone"/>
|
|
|
|
|
2017-11-16 14:03:18 +01:00
|
|
|
<com.simplemobiletools.commons.views.MyRecyclerView
|
2017-03-04 20:26:43 +01:00
|
|
|
android:id="@+id/directories_grid"
|
|
|
|
android:layout_width="match_parent"
|
2018-01-06 16:10:13 +01:00
|
|
|
android:layout_height="match_parent"
|
2017-03-04 20:26:43 +01:00
|
|
|
android:scrollbars="none"
|
2018-02-04 18:00:09 +01:00
|
|
|
app:layoutManager="com.simplemobiletools.commons.views.MyGridLayoutManager"
|
2017-06-18 23:18:50 +02:00
|
|
|
app:spanCount="@integer/directory_columns_vertical_scroll"/>
|
2017-03-04 20:26:43 +01:00
|
|
|
|
2017-03-18 19:48:03 +01:00
|
|
|
<com.simplemobiletools.commons.views.FastScroller
|
2017-06-24 21:42:53 +02:00
|
|
|
android:id="@+id/directories_vertical_fastscroller"
|
2017-03-04 20:26:43 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_alignParentEnd="true"
|
2018-01-06 16:10:13 +01:00
|
|
|
android:paddingStart="@dimen/normal_margin"
|
|
|
|
android:visibility="gone">
|
2017-03-04 20:26:43 +01:00
|
|
|
|
2017-12-05 23:28:04 +01:00
|
|
|
<include layout="@layout/fastscroller_handle_vertical"/>
|
2017-06-24 21:42:53 +02:00
|
|
|
|
|
|
|
</com.simplemobiletools.commons.views.FastScroller>
|
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.FastScroller
|
|
|
|
android:id="@+id/directories_horizontal_fastscroller"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_alignParentStart="true"
|
2018-11-18 21:53:49 +01:00
|
|
|
android:layout_alignParentBottom="true"
|
2018-01-06 16:10:13 +01:00
|
|
|
android:paddingTop="@dimen/normal_margin"
|
|
|
|
android:visibility="gone">
|
2017-06-24 21:42:53 +02:00
|
|
|
|
2017-12-06 16:42:06 +01:00
|
|
|
<include layout="@layout/fastscroller_handle_horizontal"/>
|
2017-06-24 21:42:53 +02:00
|
|
|
|
|
|
|
</com.simplemobiletools.commons.views.FastScroller>
|
2017-03-04 20:26:43 +01:00
|
|
|
</RelativeLayout>
|
2018-10-05 22:42:21 +02:00
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|