|
@@ -6,6 +6,8 @@
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_height="match_parent"
|
|
|
|
+ android:theme="@style/ReaderSettingActivityTheme"
|
|
|
|
+ android:background="@android:color/white"
|
|
tools:context=".setting.ReaderSettingActivity">
|
|
tools:context=".setting.ReaderSettingActivity">
|
|
|
|
|
|
<android.support.v7.widget.Toolbar
|
|
<android.support.v7.widget.Toolbar
|
|
@@ -44,22 +46,39 @@
|
|
<com.kdanmobile.reader.screen.view.RowSwitchView
|
|
<com.kdanmobile.reader.screen.view.RowSwitchView
|
|
android:id="@+id/rowSwitchView_smartCrop"
|
|
android:id="@+id/rowSwitchView_smartCrop"
|
|
android:layout_width="0dp"
|
|
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_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@+id/readingModeSelectView"
|
|
app:layout_constraintTop_toBottomOf="@+id/readingModeSelectView"
|
|
app:text="@string/viewer_setting_switch_smart_crop" />
|
|
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
|
|
<com.kdanmobile.reader.screen.view.RowSwitchView
|
|
android:id="@+id/rowSwitchView_showStateBar"
|
|
android:id="@+id/rowSwitchView_showStateBar"
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
- android:layout_height="48dp"
|
|
|
|
|
|
+ android:layout_height="wrap_content"
|
|
|
|
+ android:layout_marginTop="12dp"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="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" />
|
|
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
|
|
<com.kdanmobile.reader.screen.view.TurnPageModeSelectView
|
|
android:id="@+id/turnPageModeSelectView"
|
|
android:id="@+id/turnPageModeSelectView"
|
|
android:layout_width="0dp"
|
|
android:layout_width="0dp"
|
|
@@ -67,7 +86,14 @@
|
|
android:layout_marginTop="24dp"
|
|
android:layout_marginTop="24dp"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="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
|
|
<com.kdanmobile.reader.screen.view.ScreenSettingView
|
|
android:id="@+id/screenSettingView"
|
|
android:id="@+id/screenSettingView"
|
|
@@ -76,7 +102,14 @@
|
|
android:layout_marginTop="24dp"
|
|
android:layout_marginTop="24dp"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="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
|
|
<com.kdanmobile.reader.screen.view.ToolbarSettingView
|
|
android:id="@+id/toolbarSettingView"
|
|
android:id="@+id/toolbarSettingView"
|
|
@@ -85,7 +118,7 @@
|
|
android:layout_marginTop="24dp"
|
|
android:layout_marginTop="24dp"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
app:layout_constraintRight_toRightOf="parent"
|
|
- app:layout_constraintTop_toBottomOf="@+id/screenSettingView" />
|
|
|
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/view_readerSetting_dividerScreenSettingToolbarSetting" />
|
|
|
|
|
|
</android.support.constraint.ConstraintLayout>
|
|
</android.support.constraint.ConstraintLayout>
|
|
</ScrollView>
|
|
</ScrollView>
|