mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2025-01-20 07:18:00 +01:00
56 lines
2.5 KiB
XML
56 lines
2.5 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/media_holder"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<com.simplemobiletools.commons.views.MyTextView
|
|
android:id="@+id/media_empty_text_placeholder"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
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/media_empty_text_placeholder_2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@+id/media_empty_text_placeholder"
|
|
android:layout_centerHorizontal="true"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:padding="@dimen/activity_margin"
|
|
android:text="@string/change_filters_underlined"
|
|
android:textSize="@dimen/bigger_text_size"
|
|
android:visibility="gone" />
|
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
android:id="@+id/media_refresh_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content">
|
|
|
|
<com.qtalk.recyclerviewfastscroller.RecyclerViewFastScroller
|
|
android:id="@+id/media_fastscroller"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
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>
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
</RelativeLayout>
|