|
@@ -7,6 +7,7 @@
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:theme="@style/ReaderSettingActivityTheme"
|
|
|
+ android:background="@android:color/white"
|
|
|
tools:context=".setting.ReaderSettingActivity">
|
|
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
@@ -45,22 +46,39 @@
|
|
|
<com.kdanmobile.reader.screen.view.RowSwitchView
|
|
|
android:id="@+id/rowSwitchView_smartCrop"
|
|
|
android:layout_width="0dp"
|
|
|
- android:layout_height="48dp"
|
|
|
- android:layout_marginTop="24dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="38dp"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
app:layout_constraintTop_toBottomOf="@+id/readingModeSelectView"
|
|
|
app:text="@string/viewer_setting_switch_smart_crop" />
|
|
|
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_readerSetting_dividerSmartCropStatusBar"
|
|
|
+ style="@style/ReaderSettingActivityDivider"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/rowSwitchView_smartCrop"
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/rowSwitchView_showStateBar"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ />
|
|
|
+
|
|
|
<com.kdanmobile.reader.screen.view.RowSwitchView
|
|
|
android:id="@+id/rowSwitchView_showStateBar"
|
|
|
android:layout_width="0dp"
|
|
|
- android:layout_height="48dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/rowSwitchView_smartCrop"
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/view_readerSetting_dividerSmartCropStatusBar"
|
|
|
app:text="@string/viewer_setting_switch_show_state_bar" />
|
|
|
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_readerSetting_dividerStatusBarPageModeSelect"
|
|
|
+ style="@style/ReaderSettingActivityDivider"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/rowSwitchView_showStateBar"
|
|
|
+ app:layout_constraintBottom_toTopOf="@id/turnPageModeSelectView"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ />
|
|
|
+
|
|
|
<com.kdanmobile.reader.screen.view.TurnPageModeSelectView
|
|
|
android:id="@+id/turnPageModeSelectView"
|
|
|
android:layout_width="0dp"
|
|
@@ -68,7 +86,14 @@
|
|
|
android:layout_marginTop="24dp"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/rowSwitchView_showStateBar" />
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/view_readerSetting_dividerStatusBarPageModeSelect" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_readerSetting_dividerPageModeSelectScreenSetting"
|
|
|
+ style="@style/ReaderSettingActivityDivider"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/turnPageModeSelectView"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ />
|
|
|
|
|
|
<com.kdanmobile.reader.screen.view.ScreenSettingView
|
|
|
android:id="@+id/screenSettingView"
|
|
@@ -77,7 +102,14 @@
|
|
|
android:layout_marginTop="24dp"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/turnPageModeSelectView" />
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/view_readerSetting_dividerPageModeSelectScreenSetting" />
|
|
|
+
|
|
|
+ <View
|
|
|
+ android:id="@+id/view_readerSetting_dividerScreenSettingToolbarSetting"
|
|
|
+ style="@style/ReaderSettingActivityDivider"
|
|
|
+ app:layout_constraintTop_toBottomOf="@id/screenSettingView"
|
|
|
+ android:layout_marginTop="12dp"
|
|
|
+ />
|
|
|
|
|
|
<com.kdanmobile.reader.screen.view.ToolbarSettingView
|
|
|
android:id="@+id/toolbarSettingView"
|
|
@@ -86,7 +118,7 @@
|
|
|
android:layout_marginTop="24dp"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/screenSettingView" />
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/view_readerSetting_dividerScreenSettingToolbarSetting" />
|
|
|
|
|
|
</android.support.constraint.ConstraintLayout>
|
|
|
</ScrollView>
|