2016-02-16 22:23:25 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2022-07-27 12:03:34 +02:00
|
|
|
<androidx.coordinatorlayout.widget.CoordinatorLayout 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"
|
2022-07-27 12:03:34 +02:00
|
|
|
android:id="@+id/directories_coordinator"
|
2016-02-16 22:23:25 +01:00
|
|
|
android:layout_width="match_parent"
|
2022-07-27 12:03:34 +02:00
|
|
|
android:layout_height="match_parent">
|
2016-03-06 21:45:48 +01:00
|
|
|
|
2023-01-09 23:03:00 +01:00
|
|
|
<com.simplemobiletools.commons.views.MySearchMenu
|
|
|
|
android:id="@+id/main_menu"
|
2016-03-06 21:45:48 +01:00
|
|
|
android:layout_width="match_parent"
|
2023-01-09 23:03:00 +01:00
|
|
|
android:layout_height="wrap_content" />
|
2017-08-28 23:57:48 +02:00
|
|
|
|
2022-07-27 12:03:34 +02:00
|
|
|
<RelativeLayout
|
|
|
|
android:id="@+id/directories_holder"
|
2021-11-29 19:59:38 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-07-27 12:03:34 +02:00
|
|
|
app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
|
|
android:id="@+id/directories_switch_searching"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:gravity="center"
|
|
|
|
android:padding="@dimen/activity_margin"
|
|
|
|
android:text="@string/switch_to_file_search"
|
|
|
|
android:visibility="gone" />
|
2017-08-28 23:57:48 +02:00
|
|
|
|
2022-07-27 12:03:34 +02:00
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
|
|
android:id="@+id/directories_empty_placeholder"
|
2017-06-24 21:42:53 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2022-07-27 12:03:34 +02:00
|
|
|
android:layout_below="@+id/directories_switch_searching"
|
|
|
|
android:alpha="0.8"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:paddingStart="@dimen/activity_margin"
|
|
|
|
android:paddingTop="@dimen/activity_margin"
|
|
|
|
android:paddingEnd="@dimen/activity_margin"
|
|
|
|
android:text="@string/no_media_with_filters"
|
|
|
|
android:textSize="@dimen/bigger_text_size"
|
|
|
|
android:textStyle="italic"
|
|
|
|
android:visibility="gone" />
|
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
|
|
android:id="@+id/directories_empty_placeholder_2"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/directories_empty_placeholder"
|
|
|
|
android:layout_centerHorizontal="true"
|
|
|
|
android:background="@drawable/ripple_all_corners"
|
|
|
|
android:padding="@dimen/activity_margin"
|
|
|
|
android:text="@string/change_filters_underlined"
|
|
|
|
android:textSize="@dimen/bigger_text_size"
|
|
|
|
android:visibility="gone" />
|
2017-06-24 21:42:53 +02:00
|
|
|
|
2022-07-27 12:03:34 +02:00
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
|
|
android:id="@+id/directories_refresh_layout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_below="@+id/directories_switch_searching">
|
|
|
|
|
|
|
|
<com.qtalk.recyclerviewfastscroller.RecyclerViewFastScroller
|
|
|
|
android:id="@+id/directories_fastscroller"
|
2021-11-29 19:17:48 +01:00
|
|
|
android:layout_width="match_parent"
|
2022-07-27 12:03:34 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
app:supportSwipeToRefresh="true">
|
|
|
|
|
|
|
|
<com.simplemobiletools.commons.views.MyRecyclerView
|
|
|
|
android:id="@+id/directories_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/directory_columns_vertical_scroll" />
|
2017-06-24 21:42:53 +02:00
|
|
|
|
2022-07-27 12:03:34 +02:00
|
|
|
</com.qtalk.recyclerviewfastscroller.RecyclerViewFastScroller>
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
</RelativeLayout>
|
|
|
|
</androidx.coordinatorlayout.widget.CoordinatorLayout>
|