77 lines
3.3 KiB
XML
77 lines
3.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.cardview.widget.CardView xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:cardCornerRadius="@dimen/dialog_border_radius">
|
|
<LinearLayout
|
|
android:orientation="vertical"
|
|
android:background="@color/bg_white"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent">
|
|
<TextView
|
|
android:textSize="@dimen/txt_title_3"
|
|
android:textStyle="bold"
|
|
android:textColor="@color/txt_4A4A4A"
|
|
android:gravity="center"
|
|
android:id="@+id/tvDialogTitle"
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="@dimen/simple_dialog_padding_top"/>
|
|
<LinearLayout
|
|
android:gravity="center"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:layout_weight="1">
|
|
<ImageView
|
|
android:id="@+id/imgLogo"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="@dimen/course_missing_part_bt_logo"/>
|
|
<TextView
|
|
android:textSize="@dimen/txt_content_1"
|
|
android:textColor="@color/txt_435267"
|
|
android:gravity="center"
|
|
android:id="@+id/tvTips"
|
|
android:scrollbars="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="16dp"
|
|
android:layout_marginRight="16dp"
|
|
android:layout_marginBottom="8dp"/>
|
|
</LinearLayout>
|
|
<LinearLayout
|
|
android:gravity="center"
|
|
android:orientation="horizontal"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="@dimen/simple_dialog_padding_bottom">
|
|
<Button
|
|
android:textSize="@dimen/txt_content_1"
|
|
android:textColor="@android:color/white"
|
|
android:ellipsize="end"
|
|
android:id="@+id/btnCancel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginRight="9dp"
|
|
android:minWidth="130.25dp"
|
|
android:text="@string/cancel"
|
|
android:lines="1"
|
|
android:singleLine="true"/>
|
|
<Button
|
|
android:textSize="@dimen/txt_content_1"
|
|
android:textColor="@android:color/white"
|
|
android:ellipsize="end"
|
|
android:id="@+id/btnOk"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginLeft="9dp"
|
|
android:minWidth="200dp"
|
|
android:text="@string/ok"
|
|
android:lines="1"
|
|
android:singleLine="true"/>
|
|
</LinearLayout>
|
|
</LinearLayout>
|
|
</androidx.cardview.widget.CardView>
|