<?xml version="1.0" encoding="utf-8"?>
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:minWidth="320dp"
|
android:layout_margin="5dp"
|
android:layout_gravity="center"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:id="@+id/material_background"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:background="@drawable/bjskres_material_bg_card"
|
android:orientation="vertical">
|
|
<LinearLayout
|
android:id="@+id/contentView"
|
android:layout_width="match_parent"
|
android:layout_height="match_parent"
|
android:layout_weight="1"
|
android:orientation="vertical">
|
|
<TextView
|
android:id="@+id/title"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginStart="20dp"
|
android:layout_marginTop="20dp"
|
android:layout_marginEnd="20dp"
|
android:textColor="@color/bjskres_black_de"
|
android:textSize="23sp"
|
android:text="Material title"/>
|
|
<ScrollView
|
android:layout_weight="1"
|
android:id="@+id/message_content_root"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:layout_marginTop="20dp"
|
|
>
|
|
<LinearLayout
|
android:id="@+id/message_content_view"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:paddingLeft="20dp"
|
android:paddingRight="20dp">
|
|
<TextView
|
android:id="@+id/message"
|
android:layout_width="match_parent"
|
android:layout_height="wrap_content"
|
android:lineSpacingMultiplier="1.2"
|
android:textColor="#8a000000"
|
android:textSize="16sp"
|
android:text="message"/>
|
</LinearLayout>
|
|
</ScrollView>
|
|
</LinearLayout>
|
|
<LinearLayout
|
android:id="@+id/buttonLayout"
|
android:layout_width="wrap_content"
|
android:layout_height="wrap_content"
|
android:padding="5dp"
|
android:layout_marginStart="15dp"
|
android:layout_marginEnd="15dp"
|
android:layout_marginBottom="12dp"
|
android:layout_gravity="end"
|
android:gravity="center_vertical"
|
android:visibility="visible"
|
>
|
|
<Button
|
android:id="@+id/btn_n"
|
style="@style/bjskres_md_action_button"
|
android:textColor="@color/bjskres_black_de"
|
android:text="CANCEL"/>
|
|
<Button
|
android:id="@+id/btn_p"
|
style="@style/bjskres_md_action_button"
|
android:layout_marginStart="5dp"
|
android:textColor="#ff239ff2"
|
android:text="OK"/>
|
</LinearLayout>
|
|
</LinearLayout>
|
</LinearLayout>
|