You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
FYReader/app/src/main/res/layout/fragment_catalog.xml

43 lines
1.6 KiB

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/rl_catalog"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context="xyz.fycz.myreader.ui.fragment.CatalogFragment">
<ListView
android:id="@+id/lv_chapter_list"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:divider="@color/nothing"
android:fadeScrollbars="true"
android:fadingEdge="none"
android:fastScrollEnabled="true"
android:listSelector="@color/nothing"
android:overScrollMode="never"
android:scrollbars="vertical" />
<com.google.android.material.floatingactionbutton.FloatingActionButton
android:id="@+id/change_sort"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="60dp"
android:clickable="true"
android:contentDescription="倒序"
android:src="@mipmap/ic_order"
app:borderWidth="0dp"
app:elevation="6dp"
app:pressedTranslationZ="12dp"
android:focusable="true" />
<ProgressBar
android:id="@+id/pb_loading"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true"
android:visibility="gone" />
</RelativeLayout>