|
@@ -21,8 +21,7 @@
|
|
|
<android.support.constraint.ConstraintLayout
|
|
|
android:id="@+id/layout_textBox"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="64dp"
|
|
|
- android:orientation="vertical"
|
|
|
+ android:layout_height="0dp"
|
|
|
android:background="#14000000"
|
|
|
android:layout_marginBottom="8dp"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
@@ -34,17 +33,17 @@
|
|
|
android:id="@+id/tv_preview"
|
|
|
style="@style/Base.TextAppearance.Widget.AppCompat.Toolbar.Subtitle"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
android:layout_marginLeft="16dp"
|
|
|
android:layout_marginStart="16dp"
|
|
|
android:layout_marginRight="16dp"
|
|
|
android:layout_marginEnd="16dp"
|
|
|
- android:gravity="start"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:singleLine="true"
|
|
|
+ android:ellipsize="none"
|
|
|
android:textColor="#f5a623"
|
|
|
android:textSize="24sp"
|
|
|
- android:text="@string/reader_mediaBox_textBox_simpleText"
|
|
|
- app:layout_constraintTop_toTopOf="parent"
|
|
|
- app:layout_constraintBottom_toBottomOf="parent" />
|
|
|
+ android:text="@string/reader_mediaBox_textBox_simpleText" />
|
|
|
</android.support.constraint.ConstraintLayout>
|
|
|
|
|
|
<com.kdanmobile.reader.screen.reader.mediabox.textbox.TextAttrView
|
|
@@ -57,29 +56,25 @@
|
|
|
app:layout_constraintBottom_toTopOf="@+id/colorChooser_textBox" />
|
|
|
|
|
|
<com.kdanmobile.reader.screen.view.ColorSelectView
|
|
|
+ style="@style/MediaBoxTextBoxColorChooserStyle"
|
|
|
android:id="@+id/colorChooser_textBox"
|
|
|
android:layout_width="0dp"
|
|
|
android:layout_height="48dp"
|
|
|
android:gravity="center"
|
|
|
- android:paddingTop="12dp"
|
|
|
android:layout_marginTop="16dp"
|
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/textAttrView_textBox"
|
|
|
- app:layout_constraintBottom_toTopOf="@+id/seekBar_textBox_textSize" />
|
|
|
+ app:layout_constraintTop_toBottomOf="@+id/textAttrView_textBox" />
|
|
|
|
|
|
<com.kdanmobile.reader.screen.reader.mediabox.common.MediaBoxSeekBar
|
|
|
- android:layout_width="match_parent"
|
|
|
+ style="@style/MediaBoxTextBoxSeekBarStyle"
|
|
|
+ android:layout_width="0dp"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:id="@+id/seekBar_textBox_textSize"
|
|
|
- android:layout_marginTop="16dp"
|
|
|
app:title="@string/reader_mediaBox_textBox_titleSeekBarSize"
|
|
|
app:unit="@string/reader_mediaBox_textBox_unitSeekBarSize"
|
|
|
- app:maxValue="96"
|
|
|
- app:minValue="8"
|
|
|
+ app:maxValue="100"
|
|
|
+ app:minValue="2"
|
|
|
app:initValue="24"
|
|
|
- app:layout_constraintLeft_toLeftOf="parent"
|
|
|
- app:layout_constraintRight_toRightOf="parent"
|
|
|
- app:layout_constraintTop_toBottomOf="@+id/colorChooser_textBox" />
|
|
|
+ app:layout_constraintRight_toRightOf="parent" />
|
|
|
|
|
|
</android.support.constraint.ConstraintLayout>
|