80 lines
3.0 KiB
XML
80 lines
3.0 KiB
XML
<?xml version="1.0" encoding="utf-8"?><!--
|
|
~ Copyright 2015 Hippo Seven
|
|
~
|
|
~ Licensed under the Apache License, Version 2.0 (the "License");
|
|
~ you may not use this file except in compliance with the License.
|
|
~ You may obtain a copy of the License at
|
|
~
|
|
~ http://www.apache.org/licenses/LICENSE-2.0
|
|
~
|
|
~ Unless required by applicable law or agreed to in writing, software
|
|
~ distributed under the License is distributed on an "AS IS" BASIS,
|
|
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
~ See the License for the specific language governing permissions and
|
|
~ limitations under the License.
|
|
-->
|
|
|
|
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<com.google.android.material.progressindicator.CircularProgressIndicator
|
|
android:id="@+id/progress"
|
|
style="@style/ProgressView"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center" />
|
|
|
|
<TextView
|
|
android:id="@+id/tip"
|
|
style="@style/TextAppearance.AppCompat.Medium"
|
|
android:layout_width="228dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center"
|
|
android:drawablePadding="8dp"
|
|
android:gravity="center_horizontal" />
|
|
|
|
<FrameLayout
|
|
android:id="@+id/content_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clipChildren="false">
|
|
|
|
<androidx.swiperefreshlayout.widget.SwipeRefreshLayout
|
|
android:id="@+id/refresh_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clipChildren="false">
|
|
|
|
<com.hippo.easyrecyclerview.EasyRecyclerView
|
|
android:id="@+id/recycler_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:clipToPadding="false" />
|
|
|
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
|
|
|
<com.google.android.material.progressindicator.LinearProgressIndicator
|
|
android:id="@+id/bottom_progress"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:indeterminate="true"
|
|
android:visibility="gone"
|
|
app:fitsSystemWindowsInsets="end"
|
|
app:hideAnimationBehavior="inward"
|
|
app:showAnimationBehavior="outward" />
|
|
|
|
<com.hippo.easyrecyclerview.FastScroller
|
|
android:id="@+id/fast_scroller"
|
|
android:layout_width="30dp"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="right"
|
|
android:paddingLeft="20dp"
|
|
android:paddingTop="8dp"
|
|
android:paddingRight="4dp"
|
|
android:paddingBottom="8dp" />
|
|
|
|
</FrameLayout>
|
|
|
|
</merge>
|