|
@@ -1,38 +1,34 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<merge
|
|
|
- xmlns:android="http://schemas.android.com/apk/res/android">
|
|
|
+<android.support.constraint.ConstraintLayout
|
|
|
+ xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
+ android:background="#eeeeee"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
|
- <RelativeLayout
|
|
|
- android:id="@+id/pdf_thumb_layout"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:theme="@style/ThumbActivityTheme"
|
|
|
- android:background="#fff">
|
|
|
+ <android.support.v7.widget.Toolbar
|
|
|
+ android:id="@+id/toolbar_pdfThumb"
|
|
|
+ android:background="@color/reader_top_toolbar_bg"
|
|
|
+ app:navigationIcon="@drawable/selector_arrow_back_black_blue_24dp"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ android:elevation="4dp"
|
|
|
+ android:minHeight="?attr/actionBarSize"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+ </android.support.v7.widget.Toolbar>
|
|
|
|
|
|
- <include
|
|
|
- android:id="@+id/id_thumb_toolbar_layout"
|
|
|
- layout="@layout/layout_toolbar"
|
|
|
- android:minHeight="?attr/actionBarSize"/>
|
|
|
-
|
|
|
- <android.support.v7.widget.RecyclerView
|
|
|
- android:id="@+id/id_recyclerview"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
- android:layout_below="@+id/id_thumb_toolbar_layout"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:layout_gravity="center_horizontal"
|
|
|
- android:background="#eeeeee"
|
|
|
- android:cacheColorHint="@null"
|
|
|
- android:padding="2dp"/>
|
|
|
- </RelativeLayout>
|
|
|
-
|
|
|
- <View
|
|
|
- android:id="@+id/view_pdfThumbe_cover"
|
|
|
- android:layout_width="fill_parent"
|
|
|
- android:layout_height="fill_parent"
|
|
|
- android:background="#f00"
|
|
|
- android:gravity="center"
|
|
|
- android:orientation="vertical"
|
|
|
- android:visibility="gone"/>
|
|
|
-</merge>
|
|
|
+ <android.support.v7.widget.RecyclerView
|
|
|
+ android:id="@+id/id_recyclerview"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ android:cacheColorHint="@null"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:padding="2dp"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/toolbar_pdfThumb"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ />
|
|
|
+</android.support.constraint.ConstraintLayout>
|