jimu-decompiled/resources/res/layout/dialog_jimu_simple.xml
2025-05-13 19:24:51 +02:00

61 lines
2.7 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:paddingLeft="@dimen/theme_dialog_hori_padding"
android:paddingRight="@dimen/theme_dialog_hori_padding"
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:textSize="@dimen/theme_16sp"
android:textStyle="bold"
android:textColor="@color/theme_txt"
android:gravity="center"
android:id="@+id/tvDialogTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/dp30"/>
<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/theme_16sp"
android:textColor="@color/theme_txt"
android:gravity="center"
android:id="@+id/tvTips"
android:scrollbars="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="16dp"/>
</LinearLayout>
<LinearLayout
android:gravity="center"
android:layout_gravity="center"
android:orientation="horizontal"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/comm_simple_dialog_padding_bottom">
<com.ubtech.view.widget.UButton
android:id="@+id/btnCancel"
android:text="@string/cancel"
style="@style/btn_blue_small_style"/>
<com.ubtech.view.widget.UButton
android:id="@+id/btnOk"
android:text="@string/ok"
style="@style/btn_blue_small_style"/>
</LinearLayout>
</LinearLayout>
</androidx.cardview.widget.CardView>