book_and/app/src/main/res/layout/layout_textviewer.xml

77 lines
3.0 KiB
XML
Raw Normal View History

2023-03-26 20:40:07 +09:00
<?xml version="1.0" encoding="utf-8"?>
2024-08-02 16:30:05 +09:00
<androidx.constraintlayout.widget.ConstraintLayout
2023-03-26 20:40:07 +09:00
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
2024-07-31 20:38:44 +09:00
android:layout_margin="5dp"
2023-03-26 20:40:07 +09:00
xmlns:app="http://schemas.android.com/apk/res-auto">
2024-07-31 20:38:44 +09:00
<LinearLayout
2024-08-02 16:30:05 +09:00
android:layout_margin="5dp"
2024-07-31 20:38:44 +09:00
android:layout_alignParentStart="true"
android:layout_alignParentEnd="true"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.mime.dualscreenview.view.PagedTextView
android:layout_margin="5dp"
android:id="@+id/hidden_view"
android:visibility="visible"
android:layout_width="0dp"
android:layout_weight="1"
android:includeFontPadding="false"
android:lineSpacingExtra="0dp"
style="@style/sss"
android:layout_height="match_parent"/>
<View
android:id="@+id/demp"
2024-08-02 16:30:05 +09:00
android:visibility="gone"
2024-07-31 20:38:44 +09:00
android:layout_margin="5dp"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="match_parent"/>
</LinearLayout>
2023-03-26 20:40:07 +09:00
2024-07-31 20:38:44 +09:00
<LinearLayout
android:layout_margin="5dp"
android:layout_alignParentStart="true"
android:layout_alignParentEnd="true"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.appcompat.widget.AppCompatTextView
android:layout_margin="5dp"
2024-08-01 18:04:10 +09:00
android:gravity="start"
2024-07-31 20:38:44 +09:00
android:includeFontPadding="false"
android:id="@+id/first_view"
android:lineSpacingExtra="0dp"
android:layout_width="0dp"
android:layout_weight="1"
style="@style/sss"
android:layout_height="match_parent"/>
2023-03-26 20:40:07 +09:00
2024-07-31 20:38:44 +09:00
<androidx.appcompat.widget.AppCompatTextView
android:layout_margin="5dp"
2024-08-01 18:04:10 +09:00
android:gravity="start"
2024-07-31 20:38:44 +09:00
android:includeFontPadding="false"
android:lineSpacingExtra="0dp"
2024-08-02 16:30:05 +09:00
android:visibility="gone"
2024-07-31 20:38:44 +09:00
android:id="@+id/sencond_view"
android:layout_width="0dp"
android:layout_weight="1"
style="@style/sss"
android:layout_height="match_parent"/>
</LinearLayout>
2024-08-02 16:30:05 +09:00
<TextView
android:id="@+id/current_chapter"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
2024-08-01 18:04:10 +09:00
<TextView
android:id="@+id/current_page"
2024-08-02 16:30:05 +09:00
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintBottom_toBottomOf="parent"
2024-08-01 18:04:10 +09:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
2024-08-02 16:30:05 +09:00
</androidx.constraintlayout.widget.ConstraintLayout>