Newer
Older
org.ntlab.acanthus_client / app / src / main / res / layout / activity_page.xml
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    tools:context=".views.paint.page.PageActivity">

    <WebView
        android:id="@+id/pageWebview"
        android:layout_width="412dp"
        android:layout_height="729dp"
        app:layout_constraintBottom_toBottomOf="parent"
        app:layout_constraintEnd_toEndOf="parent"
        app:layout_constraintHorizontal_bias="1.0"
        app:layout_constraintStart_toStartOf="parent"
        app:layout_constraintTop_toTopOf="parent">

    </WebView>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="horizontal"
        android:gravity="center|center_horizontal"
        app:layout_constraintTop_toTopOf="parent"
        tools:layout_editor_absoluteX="0dp">

        <org.ntlab.acanthus_client.views.button.PushButton
            android:id="@+id/buttonBack"
            android:layout_width="50dp"
            android:layout_height="50dp"
            android:background="@drawable/ic_baseline_keyboard_arrow_left"
            android:onClick="onClickToBackPage"
            tools:ignore="SpeakableTextPresentCheck" />
        <TextView
            android:id="@+id/textPageNo"
            android:layout_width="80dp"
            android:layout_height="80dp"
            android:layout_marginLeft="50dp"
            android:layout_marginRight="50dp"
            android:textSize="50dp"
            android:textColor="@color/white"
            android:textStyle="bold"
            android:background="#BAF14B16"
            android:drawableBottom="@android:drawable/list_selector_background"
            android:gravity="center|center_horizontal"
            android:text="pageNo" />
        <org.ntlab.acanthus_client.views.button.PushButton
            android:id="@+id/buttonNext"
            android:layout_width="50dp"
            android:layout_height="50dp"
            android:background="@drawable/ic_baseline_keyboard_arrow_right"
            android:onClick="onClickToAdvancePage"
            tools:ignore="SpeakableTextPresentCheck" />

    </LinearLayout>

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:orientation="vertical"
        android:layout_marginBottom="30dp"
        android:layout_weight="0.001"
        android:gravity="bottom|center_vertical"
        app:layout_constraintTop_toTopOf="parent"
        tools:layout_editor_absoluteX="0dp">

        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:orientation="vertical"
            android:layout_marginRight="30dp"
            android:gravity="right">

            <org.ntlab.acanthus_client.views.button.PushButton
                android:id="@+id/button_addPage"
                android:layout_width="30dp"
                android:layout_height="30dp"
                android:layout_marginBottom="15dp"
                android:background="@drawable/ic_baseline_add"
                android:onClick="onClickAddPage" />
            <org.ntlab.acanthus_client.views.button.PushButton
                android:id="@+id/button_delPage"
                android:layout_width="30dp"
                android:layout_height="30dp"
                android:background="@drawable/ic_baseline_horizontal_rule"
                android:onClick="onClickDeletePage" />

        </LinearLayout>

    </LinearLayout>

</androidx.constraintlayout.widget.ConstraintLayout>