67 lines
2.3 KiB
XML
67 lines
2.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"
|
|
android:orientation="vertical"
|
|
app:cardCornerRadius="12dp"
|
|
app:cardElevation="16dp">
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/title_laout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="50dp">
|
|
|
|
<TextView
|
|
android:id="@+id/titleView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_centerHorizontal="true"
|
|
android:gravity="center"
|
|
android:textColor="@color/textColor"
|
|
android:textSize="18sp"
|
|
android:textStyle="bold" />
|
|
|
|
<ImageView
|
|
android:id="@+id/btn_back"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_centerVertical="true"
|
|
android:onClick="backClick"
|
|
android:padding="9dp"
|
|
android:src="@mipmap/icon_back"
|
|
android:tint="@color/textColor" />
|
|
|
|
<ImageView
|
|
android:id="@+id/img_more"
|
|
android:layout_width="40dp"
|
|
android:layout_height="40dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:padding="9dp"
|
|
android:src="@mipmap/btn_more_black"
|
|
android:tint="@color/textColor"
|
|
android:visibility="gone" />
|
|
|
|
</RelativeLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/html_error"
|
|
android:visibility="gone"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content" />
|
|
|
|
<WebView
|
|
android:id="@+id/rlWebview"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent" />
|
|
</LinearLayout>
|
|
|
|
|
|
</androidx.cardview.widget.CardView> |