Love_KeyBoard/app/src/main/res/layout/activity_pre_view.xml
2024-07-26 20:18:59 +08:00

77 lines
2.8 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout 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"
android:id="@+id/pre_main"
android:background="@mipmap/main_bg2"
tools:context=".activity.PreViewActivity">
<LinearLayout
android:layout_marginTop="60dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingStart="24dp"
android:paddingEnd="24dp"
android:orientation="horizontal">
<ImageView
android:id="@+id/pre_back"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@drawable/back_image"/>
<TextView
android:id="@+id/pre_name"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:gravity="center"
android:layout_gravity="center"
android:layout_weight="1"
android:textColor="@color/white"
android:textSize="20sp" />
<ImageView
android:id="@+id/pre_like_image"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/like_image1" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_alignParentBottom="true">
<TextView
android:id="@+id/pre_text_apply"
android:layout_width="207dp"
android:layout_height="50dp"
android:text="@string/apply"
android:textSize="25sp"
android:layout_gravity="center"
android:gravity="center"
android:textColor="@color/white"
android:background="@drawable/pre_apply_bg"/>
<ImageView
android:layout_marginTop="20dp"
android:id="@+id/pre_image"
android:layout_width="match_parent"
android:scaleType="fitXY"
android:layout_height="276dp"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="276dp"
android:orientation="vertical"
android:gravity="center"
android:layout_alignParentBottom="true">
<ProgressBar
android:layout_marginTop="20dp"
android:layout_width="wrap_content"
android:indeterminateTint="#D1CBDF"
android:visibility="gone"
android:id="@+id/pre_pro"
android:layout_height="wrap_content"/>
</LinearLayout>
</RelativeLayout>