|
|
@@ -1,264 +0,0 @@
|
|
|
-<?xml version="1.0" encoding="utf-8"?>
|
|
|
-<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:background="@color/white"
|
|
|
- android:fitsSystemWindows="true">
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/dingwei1"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="@dimen/app_title_heigh"
|
|
|
- android:background="?attr/main_color"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal">
|
|
|
-
|
|
|
- <ImageButton
|
|
|
- android:id="@+id/ibtn_act_webview"
|
|
|
- android:layout_width="@dimen/app_title_heigh"
|
|
|
- android:layout_height="@dimen/app_title_heigh"
|
|
|
- android:layout_alignParentLeft="true"
|
|
|
- android:background="@null"
|
|
|
- android:src="@drawable/left_arrow" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:text="礼包详情"
|
|
|
- android:textColor="@color/white"
|
|
|
- android:textSize="@dimen/app_size_tv_ordinary" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <ScrollView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_below="@id/dingwei1"
|
|
|
- android:layout_marginBottom="60dp">
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:orientation="vertical">
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
- android:id="@+id/layout_activity_gift_title"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="96dp"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:paddingLeft="10dp">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/img_activity_gift"
|
|
|
- android:layout_width="@dimen/app_vertical_margin_huge"
|
|
|
- android:layout_height="@dimen/app_vertical_margin_huge"
|
|
|
- android:layout_marginRight="16dp" />
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/img_activity_icon"
|
|
|
- android:layout_width="@dimen/app_logo_icon"
|
|
|
- android:layout_height="@dimen/app_logo_icon"
|
|
|
- android:layout_alignRight="@id/img_activity_gift" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/txt_activity_gift_title"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_toRightOf="@id/img_activity_gift"
|
|
|
- android:maxLines="1"
|
|
|
- android:text="游戏名"
|
|
|
- android:textColor="@color/comment_title"
|
|
|
- android:textSize="@dimen/app_size_tv_ordinary" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/txt_activity_gift_number"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_below="@+id/txt_activity_gift_title"
|
|
|
- android:layout_toEndOf="@+id/img_activity_gift"
|
|
|
- android:layout_toRightOf="@+id/img_activity_gift"
|
|
|
- android:text="@string/gift_get_number"
|
|
|
- android:textColor="@color/black_50_alpha"
|
|
|
- android:textSize="@dimen/app_size_tv_mic" />
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
- android:id="@+id/layout_activity_gift_head"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignLeft="@id/txt_activity_gift_title"
|
|
|
- android:layout_below="@id/txt_activity_gift_number"
|
|
|
- android:layout_marginTop="4dp"
|
|
|
- android:layout_toRightOf="@id/img_activity_gift"
|
|
|
- android:visibility="visible">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/txt_activity_gift_remain"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="@string/gift_get_remain"
|
|
|
- android:textColor="@color/black_50_alpha"
|
|
|
- android:textSize="@dimen/app_size_tv_mic" />
|
|
|
-
|
|
|
- <ProgressBar
|
|
|
- android:id="@+id/view_activity_gift_progress"
|
|
|
- style="@style/style_progress"
|
|
|
- android:layout_width="150dp"
|
|
|
- android:layout_height="8dp"
|
|
|
- android:layout_below="@id/txt_activity_gift_remain"
|
|
|
- android:layout_gravity="center_vertical"
|
|
|
- android:layout_marginTop="6dp"
|
|
|
- android:max="100" />
|
|
|
-
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/txt_activity_gift_progress"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignTop="@id/view_activity_gift_progress"
|
|
|
- android:layout_marginLeft="6dp"
|
|
|
- android:layout_toRightOf="@id/view_activity_gift_progress"
|
|
|
- android:text="0%"
|
|
|
- android:textColor="@color/black_50_alpha"
|
|
|
- android:textSize="@dimen/app_size_tv_mic" />
|
|
|
- </RelativeLayout>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/txt_activity_gift_code"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignLeft="@id/txt_activity_gift_title"
|
|
|
- android:layout_below="@id/txt_activity_gift_number"
|
|
|
- android:layout_marginTop="4dp"
|
|
|
- android:layout_toRightOf="@id/img_activity_gift"
|
|
|
- android:text="激活码:000000"
|
|
|
- android:textColor="@color/black_50_alpha"
|
|
|
- android:textSize="@dimen/app_size_tv_mic"
|
|
|
- android:visibility="gone" />
|
|
|
- </RelativeLayout>
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:background="@color/comment_replay_bg"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:padding="10dp">
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="3dp"
|
|
|
- android:layout_height="16dp"
|
|
|
- android:background="?attr/main_color" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:paddingLeft="10dp"
|
|
|
- android:text="@string/gift_get_content"
|
|
|
- android:textSize="@dimen/app_size_tv_small" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/txt_activity_gift_content"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:lineSpacingExtra="3dp"
|
|
|
- android:padding="12dp"
|
|
|
- android:text="礼包内容:\n无"
|
|
|
- android:textSize="@dimen/app_size_tv_small" />
|
|
|
-
|
|
|
- <!--用xml画图兼容性真差。。。-->
|
|
|
- <!--<TextView-->
|
|
|
- <!--android:layout_width="match_parent"-->
|
|
|
- <!--android:layout_height="wrap_content"-->
|
|
|
- <!--android:background="@color/comment_replay_bg"-->
|
|
|
- <!--android:drawableLeft="@drawable/sp_line_vertical"-->
|
|
|
- <!--android:drawablePadding="8dp"-->
|
|
|
- <!--android:padding="8dp"-->
|
|
|
- <!--android:text="@string/gift_get_time"-->
|
|
|
- <!--android:textSize="@dimen/app_size_tv_small" />-->
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:background="@color/comment_replay_bg"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:padding="10dp">
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="3dp"
|
|
|
- android:layout_height="16dp"
|
|
|
- android:background="?attr/main_color" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:paddingLeft="10dp"
|
|
|
- android:text="@string/gift_get_time"
|
|
|
- android:textSize="@dimen/app_size_tv_small" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/txt_activity_gift_time"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:lineSpacingExtra="3dp"
|
|
|
- android:padding="12dp"
|
|
|
- android:text="2017年01月19日 11:00 至 2017年12月31日 17:31"
|
|
|
- android:textSize="@dimen/app_size_tv_small" />
|
|
|
-
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:background="@color/comment_replay_bg"
|
|
|
- android:gravity="center_vertical"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:padding="10dp">
|
|
|
-
|
|
|
- <View
|
|
|
- android:layout_width="3dp"
|
|
|
- android:layout_height="16dp"
|
|
|
- android:background="?attr/main_color" />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:paddingLeft="10dp"
|
|
|
- android:text="@string/gift_get_tips"
|
|
|
- android:textSize="@dimen/app_size_tv_small" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/txt_activity_gift_descp"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:lineSpacingExtra="3dp"
|
|
|
- android:padding="12dp"
|
|
|
- android:text="@string/gift_get_desp"
|
|
|
- android:textSize="@dimen/app_size_tv_small" />
|
|
|
- </LinearLayout>
|
|
|
- </ScrollView>
|
|
|
-
|
|
|
-
|
|
|
- <LinearLayout
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentBottom="true"
|
|
|
- android:background="@color/comment_replay_bg"
|
|
|
- android:padding="12dp">
|
|
|
-
|
|
|
- <Button
|
|
|
- android:id="@+id/btn_activity_gift"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="44dp"
|
|
|
- android:layout_marginLeft="10dp"
|
|
|
- android:layout_marginRight="10dp"
|
|
|
- android:background="@drawable/progress_button_full_green"
|
|
|
- android:text="领取"
|
|
|
- android:textColor="@color/white" />
|
|
|
-
|
|
|
- </LinearLayout>
|
|
|
-</RelativeLayout>
|