|
@@ -0,0 +1,101 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<android.support.constraint.ConstraintLayout 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:clickable="true"
|
|
|
+ android:focusable="true"
|
|
|
+ android:background="#FFFFFFFF">
|
|
|
+
|
|
|
+ <com.kdanmobile.reader.screen.view.edit.TitleButton
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="56dp"
|
|
|
+ android:id="@+id/titleButton_shape"
|
|
|
+ app:title="Shape"
|
|
|
+ app:buttonText="ADD"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/layout_shapeSelect" />
|
|
|
+
|
|
|
+ <android.support.constraint.ConstraintLayout
|
|
|
+ android:id="@+id/layout_shapeSelect"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="56dp"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:background="#14000000"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/titleButton_shape"
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/tabLayout" >
|
|
|
+
|
|
|
+ <ImageButton
|
|
|
+ android:id="@+id/btn_circle"
|
|
|
+ android:layout_width="48dp"
|
|
|
+ android:layout_height="48dp"
|
|
|
+ android:padding="6dp"
|
|
|
+ android:background="@null"
|
|
|
+ android:src="@drawable/rectangle_pic_circular"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/btn_square" />
|
|
|
+ <ImageButton
|
|
|
+ android:id="@+id/btn_square"
|
|
|
+ android:layout_width="48dp"
|
|
|
+ android:layout_height="48dp"
|
|
|
+ android:padding="6dp"
|
|
|
+ android:background="@null"
|
|
|
+ android:src="@drawable/rectangle_pic_rectangle"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/btn_circle"
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/btn_line" />
|
|
|
+ <ImageButton
|
|
|
+ android:id="@+id/btn_line"
|
|
|
+ android:layout_width="48dp"
|
|
|
+ android:layout_height="48dp"
|
|
|
+ android:padding="6dp"
|
|
|
+ android:background="@null"
|
|
|
+ android:src="@drawable/rectangle_pic_line"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/btn_square"
|
|
|
+ app:layout_constraintRight_toLeftOf="@+id/btn_arrow" />
|
|
|
+ <ImageButton
|
|
|
+ android:id="@+id/btn_arrow"
|
|
|
+ android:layout_width="48dp"
|
|
|
+ android:layout_height="48dp"
|
|
|
+ android:padding="6dp"
|
|
|
+ android:background="@null"
|
|
|
+ android:src="@drawable/rectangle_pic_arrow"
|
|
|
+ app:layout_constraintTop_toTopOf="parent"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent"
|
|
|
+ app:layout_constraintLeft_toRightOf="@+id/btn_line"
|
|
|
+ app:layout_constraintRight_toRightOf="parent" />
|
|
|
+
|
|
|
+ </android.support.constraint.ConstraintLayout>
|
|
|
+
|
|
|
+ <android.support.design.widget.TabLayout
|
|
|
+ android:id="@+id/tabLayout"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="48dp"
|
|
|
+ app:tabIndicatorHeight="2dp"
|
|
|
+ app:tabIndicatorColor="#0077fd"
|
|
|
+ app:tabSelectedTextColor="#0077fd"
|
|
|
+ app:tabTextColor="#99000000"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/layout_shapeSelect"
|
|
|
+ app:layout_constraintBottom_toTopOf="@+id/viewPager" />
|
|
|
+
|
|
|
+ <android.support.v4.view.ViewPager
|
|
|
+ android:id="@+id/viewPager"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="0dp"
|
|
|
+ app:layout_constraintLeft_toLeftOf="parent"
|
|
|
+ app:layout_constraintRight_toRightOf="parent"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/tabLayout"
|
|
|
+ app:layout_constraintBottom_toBottomOf="parent" />
|
|
|
+
|
|
|
+</android.support.constraint.ConstraintLayout>
|