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_import_source.xml

98 lines
3.9 KiB

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/colorForeground"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="35dp"
android:orientation="horizontal">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentStart="true"
android:orientation="horizontal">
<TextView
android:id="@+id/tv_new_source"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:text="@string/new_source"
android:textColor="@color/colorAccent"
android:textSize="@dimen/text_small_size" />
<TextView
android:id="@+id/tv_import_source"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:text="@string/import_source"
android:textColor="@color/colorAccent"
android:textSize="@dimen/text_small_size" />
<TextView
android:id="@+id/tv_source_tip"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:background="?android:attr/selectableItemBackground"
android:gravity="center_vertical"
android:paddingStart="10dp"
android:paddingEnd="10dp"
android:text="@string/source_tip"
android:textColor="@color/colorAccent"
android:textSize="@dimen/text_small_size" />
</LinearLayout>
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/iv_group"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_toStartOf="@+id/iv_menu"
android:background="?android:attr/selectableItemBackground"
android:paddingStart="5dp"
android:paddingEnd="5dp"
app:srcCompat="@drawable/ic_filter"
app:tint="@color/colorAccent" />
<androidx.appcompat.widget.AppCompatImageView
android:id="@+id/iv_menu"
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_alignParentEnd="true"
android:layout_gravity="end"
android:background="?android:attr/selectableItemBackground"
android:paddingStart="5dp"
android:paddingEnd="5dp"
app:srcCompat="@drawable/ic_menu"
app:tint="@color/colorAccent" />
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="@color/colorBackground" />
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<xyz.fycz.myreader.widget.scroller.FastScrollRecyclerView
android:id="@+id/recycler_view"
android:background="@color/colorForeground"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</RelativeLayout>
</LinearLayout>