49 lines
2.0 KiB
XML
49 lines
2.0 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
||
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="match_parent"
|
||
|
|
android:paddingTop="@dimen/main_top_height"
|
||
|
|
android:paddingBottom="@dimen/main_top_height"
|
||
|
|
android:layout_margin="0dp"
|
||
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||
|
|
|
||
|
|
<androidx.constraintlayout.widget.Guideline
|
||
|
|
android:id="@+id/center_guide"
|
||
|
|
android:orientation="vertical"
|
||
|
|
app:layout_constraintGuide_percent="0.5"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="0dp"/>
|
||
|
|
|
||
|
|
<com.mime.dualscreenview.view.PagedTextView
|
||
|
|
android:padding="@dimen/textview_padding"
|
||
|
|
android:id="@+id/hidden_view"
|
||
|
|
android:visibility="invisible"
|
||
|
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
||
|
|
app:layout_constraintRight_toLeftOf="@id/sencond_view"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/first_view"
|
||
|
|
android:padding="@dimen/textview_padding"
|
||
|
|
app:layout_constraintLeft_toLeftOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
app:layout_constraintRight_toLeftOf="@id/sencond_view"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"/>
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:padding="@dimen/textview_padding"
|
||
|
|
app:layout_constraintRight_toRightOf="parent"
|
||
|
|
app:layout_constraintTop_toTopOf="parent"
|
||
|
|
android:visibility="visible"
|
||
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
||
|
|
app:layout_constraintLeft_toLeftOf="@id/center_guide"
|
||
|
|
android:id="@+id/sencond_view"
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="match_parent"/>
|
||
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|