优化
This commit is contained in:
448
app/src/main/res/layout/page_recharge_svip.xml
Normal file
448
app/src/main/res/layout/page_recharge_svip.xml
Normal file
@@ -0,0 +1,448 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:fillViewport="true"
|
||||
android:overScrollMode="never">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/sw_16dp"
|
||||
android:padding="@dimen/sw_16dp"
|
||||
android:orientation="vertical">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bg_recharge_svip"
|
||||
android:padding="@dimen/sw_6dp"
|
||||
android:orientation="vertical">
|
||||
<!-- 支付 -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
androidLlayout_marginTop="@dimen/sw_10dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<!-- 卡片 -->
|
||||
<LinearLayout
|
||||
android:layout_width="@dimen/sw_105dp"
|
||||
android:layout_height="@dimen/sw_124dp"
|
||||
android:background="@drawable/bg_recharge_svip_card"
|
||||
android:layout_gravity="center_horizontal|center_vertical"
|
||||
android:orientation="vertical">
|
||||
<!-- 卡片标题 -->
|
||||
<TextView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/recharge_svip_1_week"
|
||||
android:textColor="#3D3D3D"
|
||||
android:textSize="@dimen/sw_13sp"
|
||||
android:gravity="center"
|
||||
android:paddingBottom="@dimen/sw_6dp"
|
||||
android:paddingTop="@dimen/sw_8dp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<!-- 卡片价格 -->
|
||||
<LinearLayout
|
||||
android:layout_width="@dimen/sw_95dp"
|
||||
android:layout_height="@dimen/sw_86dp"
|
||||
android:background="@drawable/bg_recharge_svip_card_price"
|
||||
android:layout_gravity="center_horizontal|center_vertical"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal">
|
||||
<!-- 美元符 -->
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="$ "
|
||||
android:textColor="#797979"
|
||||
android:gravity="center"
|
||||
android:textSize="@dimen/sw_10sp"/>
|
||||
<!-- 价格 -->
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="100"
|
||||
android:gravity="center"
|
||||
android:textColor="#797979"
|
||||
android:textSize="@dimen/sw_22sp"/>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
<!-- `````` -->
|
||||
</LinearLayout>
|
||||
<!-- 权益 -->
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/sw_20dp"
|
||||
android:background="@drawable/bg_recharge_svip_benefits"
|
||||
android:padding="@dimen/sw_8dp"
|
||||
android:orientation="vertical">
|
||||
<!-- 权益标题 -->
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:padding="@dimen/sw_6dp"
|
||||
android:orientation="horizontal">
|
||||
<ImageView
|
||||
android:layout_width="@dimen/sw_52dp"
|
||||
android:layout_height="@dimen/sw_1dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:src="@drawable/ic_recharge_svip_benefit_1" />
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginEnd="@dimen/sw_17dp"
|
||||
android:layout_marginStart="@dimen/sw_17dp">
|
||||
<ImageView
|
||||
android:layout_width="@dimen/sw_135dp"
|
||||
android:layout_height="@dimen/sw_7dp"
|
||||
android:layout_gravity="bottom|center_horizontal"
|
||||
android:src="@drawable/ic_recharge_svip_benefit_1_icon" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="@string/recharge_svip_membership_benefits"
|
||||
android:textColor="#3D3D3D"
|
||||
android:textSize="@dimen/sw_13sp"
|
||||
android:layout_gravity="center_horizontal|center_vertical"
|
||||
android:gravity="center"
|
||||
android:textStyle="bold" />
|
||||
</FrameLayout>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/sw_52dp"
|
||||
android:layout_height="@dimen/sw_1dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:src="@drawable/ic_recharge_svip_benefit_2" />
|
||||
</LinearLayout>
|
||||
|
||||
<!-- 权益描述1 -->
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/sw_50dp"
|
||||
android:layout_marginTop="@dimen/sw_20dp"
|
||||
android:orientation="horizontal">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/sw_43dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:paddingStart="@dimen/sw_65dp"
|
||||
android:background="@drawable/bg_recharge_svip_benefit_desc"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/home_ai_dialogue"
|
||||
android:textColor="#898B8C"
|
||||
android:textSize="@dimen/sw_13sp"
|
||||
android:layout_gravity="center_horizontal|center_vertical"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/sw_13dp"
|
||||
android:layout_height="@dimen/sw_9dp"
|
||||
android:layout_marginEnd="@dimen/sw_20dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:src="@drawable/ic_recharge_svip_hook" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/sw_34dp"
|
||||
android:layout_height="@dimen/sw_36dp"
|
||||
android:layout_marginStart="@dimen/sw_13dp"
|
||||
android:layout_gravity="top"
|
||||
android:src="@drawable/ic_recharge_svip_benefit_1_desc_1" />
|
||||
</FrameLayout>
|
||||
|
||||
<!-- 权益描述2 -->
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/sw_49dp"
|
||||
android:layout_marginTop="@dimen/sw_11dp"
|
||||
android:orientation="horizontal">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/sw_43dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:paddingStart="@dimen/sw_65dp"
|
||||
android:background="@drawable/bg_recharge_svip_benefit_desc"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/home_ai_keyboard"
|
||||
android:textColor="#898B8C"
|
||||
android:textSize="@dimen/sw_13sp"
|
||||
android:layout_gravity="center_horizontal|center_vertical"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/sw_13dp"
|
||||
android:layout_height="@dimen/sw_9dp"
|
||||
android:layout_marginEnd="@dimen/sw_20dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:src="@drawable/ic_recharge_svip_hook" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/sw_41dp"
|
||||
android:layout_height="@dimen/sw_37dp"
|
||||
android:layout_marginStart="@dimen/sw_10dp"
|
||||
android:layout_gravity="top"
|
||||
android:src="@drawable/ic_recharge_svip_benefit_1_desc_2" />
|
||||
</FrameLayout>
|
||||
|
||||
<!-- 权益描述3 -->
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/sw_51dp"
|
||||
android:layout_marginTop="@dimen/sw_9dp"
|
||||
android:orientation="horizontal">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/sw_43dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:paddingStart="@dimen/sw_65dp"
|
||||
android:background="@drawable/bg_recharge_svip_benefit_desc"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/home_ai_persona"
|
||||
android:textColor="#898B8C"
|
||||
android:textSize="@dimen/sw_13sp"
|
||||
android:layout_gravity="center_horizontal|center_vertical"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/sw_13dp"
|
||||
android:layout_height="@dimen/sw_9dp"
|
||||
android:layout_marginEnd="@dimen/sw_20dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:src="@drawable/ic_recharge_svip_hook" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/sw_26dp"
|
||||
android:layout_height="@dimen/sw_39dp"
|
||||
android:layout_marginStart="@dimen/sw_17dp"
|
||||
android:layout_gravity="top"
|
||||
android:src="@drawable/ic_recharge_svip_benefit_1_desc_3" />
|
||||
</FrameLayout>
|
||||
|
||||
<!-- 权益描述4 -->
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/sw_52dp"
|
||||
android:layout_marginTop="@dimen/sw_8dp"
|
||||
android:orientation="horizontal">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/sw_43dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:paddingStart="@dimen/sw_65dp"
|
||||
android:background="@drawable/bg_recharge_svip_benefit_desc"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/home_ai_counseling"
|
||||
android:textColor="#898B8C"
|
||||
android:textSize="@dimen/sw_13sp"
|
||||
android:layout_gravity="center_horizontal|center_vertical"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/sw_13dp"
|
||||
android:layout_height="@dimen/sw_9dp"
|
||||
android:layout_marginEnd="@dimen/sw_20dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:src="@drawable/ic_recharge_svip_hook" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/sw_35dp"
|
||||
android:layout_height="@dimen/sw_38dp"
|
||||
android:layout_marginStart="@dimen/sw_12dp"
|
||||
android:layout_gravity="top"
|
||||
android:src="@drawable/ic_recharge_svip_benefit_1_desc_4" />
|
||||
</FrameLayout>
|
||||
|
||||
<!-- 权益描述5 -->
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/sw_52dp"
|
||||
android:layout_marginTop="@dimen/sw_8dp"
|
||||
android:orientation="horizontal">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/sw_43dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:paddingStart="@dimen/sw_65dp"
|
||||
android:background="@drawable/bg_recharge_svip_benefit_desc"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/recharge_svip_longer_chat_history"
|
||||
android:textColor="#898B8C"
|
||||
android:textSize="@dimen/sw_13sp"
|
||||
android:layout_gravity="center_horizontal|center_vertical"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/sw_13dp"
|
||||
android:layout_height="@dimen/sw_9dp"
|
||||
android:layout_marginEnd="@dimen/sw_20dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:src="@drawable/ic_recharge_svip_hook" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/sw_36dp"
|
||||
android:layout_height="@dimen/sw_37dp"
|
||||
android:layout_marginStart="@dimen/sw_12dp"
|
||||
android:layout_gravity="top"
|
||||
android:src="@drawable/ic_recharge_svip_benefit_1_desc_5" />
|
||||
</FrameLayout>
|
||||
|
||||
<!-- 权益描述6 -->
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/sw_51dp"
|
||||
android:layout_marginTop="@dimen/sw_9dp"
|
||||
android:orientation="horizontal">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/sw_43dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:paddingStart="@dimen/sw_65dp"
|
||||
android:background="@drawable/bg_recharge_svip_benefit_desc"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/recharge_svip_unlimited_chatting"
|
||||
android:textColor="#898B8C"
|
||||
android:textSize="@dimen/sw_13sp"
|
||||
android:layout_gravity="center_horizontal|center_vertical"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/sw_13dp"
|
||||
android:layout_height="@dimen/sw_9dp"
|
||||
android:layout_marginEnd="@dimen/sw_20dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:src="@drawable/ic_recharge_svip_hook" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/sw_38dp"
|
||||
android:layout_height="@dimen/sw_35dp"
|
||||
android:layout_marginStart="@dimen/sw_12dp"
|
||||
android:layout_gravity="top"
|
||||
android:src="@drawable/ic_recharge_svip_benefit_1_desc_6" />
|
||||
</FrameLayout>
|
||||
|
||||
<!-- 权益描述7 -->
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/sw_51dp"
|
||||
android:layout_marginTop="@dimen/sw_9dp"
|
||||
android:orientation="horizontal">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/sw_43dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:paddingStart="@dimen/sw_65dp"
|
||||
android:background="@drawable/bg_recharge_svip_benefit_desc"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/recharge_svip_no_speed_limits"
|
||||
android:textColor="#898B8C"
|
||||
android:textSize="@dimen/sw_13sp"
|
||||
android:layout_gravity="center_horizontal|center_vertical"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/sw_13dp"
|
||||
android:layout_height="@dimen/sw_9dp"
|
||||
android:layout_marginEnd="@dimen/sw_20dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:src="@drawable/ic_recharge_svip_hook" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/sw_51dp"
|
||||
android:layout_height="@dimen/sw_32dp"
|
||||
android:layout_marginStart="@dimen/sw_3dp"
|
||||
android:layout_gravity="top"
|
||||
android:src="@drawable/ic_recharge_svip_benefit_1_desc_7" />
|
||||
</FrameLayout>
|
||||
|
||||
<!-- 权益描述8 -->
|
||||
<FrameLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/sw_54dp"
|
||||
android:layout_marginTop="@dimen/sw_6dp"
|
||||
android:orientation="horizontal">
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="@dimen/sw_43dp"
|
||||
android:layout_gravity="bottom"
|
||||
android:paddingStart="@dimen/sw_65dp"
|
||||
android:background="@drawable/bg_recharge_svip_benefit_desc"
|
||||
android:orientation="horizontal">
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:text="@string/recharge_svip_coming_soon"
|
||||
android:textColor="#898B8C"
|
||||
android:textSize="@dimen/sw_13sp"
|
||||
android:layout_gravity="center_horizontal|center_vertical"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/sw_13dp"
|
||||
android:layout_height="@dimen/sw_9dp"
|
||||
android:layout_marginEnd="@dimen/sw_20dp"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:src="@drawable/ic_recharge_svip_hook" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="@dimen/sw_44dp"
|
||||
android:layout_height="@dimen/sw_34dp"
|
||||
android:layout_marginStart="@dimen/sw_7dp"
|
||||
android:layout_gravity="top"
|
||||
android:src="@drawable/ic_recharge_svip_benefit_1_desc_8" />
|
||||
</FrameLayout>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</androidx.core.widget.NestedScrollView>
|
||||
Reference in New Issue
Block a user