123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320 |
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/main_color"
- android:orientation="vertical">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="@dimen/DIMEN_45DP"
- android:paddingLeft="@dimen/DIMEN_19DP"
- android:paddingRight="@dimen/DIMEN_10DP">
- <TextView
- android:id="@+id/tv_gift_bag_details_back"
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_centerVertical="true"
- android:layout_marginRight="@dimen/DIMEN_18DP"
- android:drawableLeft="@drawable/bssdk_left_arrow"
- android:drawablePadding="@dimen/DIMEN_5DP"
- android:gravity="center"
- android:text="返回"
- android:textColor="@color/indicator_color" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:layout_marginLeft="@dimen/DIMEN_80DP"
- android:gravity="center"
- android:text="礼包详情"
- android:textColor="@color/white"
- android:textSize="@dimen/TEXT_SIZE_15SP" />
- </RelativeLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="@dimen/DIMEN_1DP"
- android:background="@color/line_bg171d3c" />
- <android.support.v4.widget.NestedScrollView
- android:layout_width="match_parent"
- android:layout_height="0dp"
- android:layout_weight="1">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content">
- <LinearLayout
- android:id="@+id/ll_gift_bag_details_parent"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:visibility="gone"
- tools:visibility="visible">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="center_vertical"
- android:orientation="horizontal"
- android:paddingLeft="@dimen/DIMEN_20DP"
- android:paddingTop="@dimen/DIMEN_10DP"
- android:paddingRight="@dimen/DIMEN_20DP"
- android:paddingBottom="@dimen/DIMEN_10DP">
- <com.bluestacks.sdk.widget.customview.roundedimageview.RoundedImageView
- android:id="@+id/iv_gift_bag_icon"
- android:layout_width="@dimen/DIMEN_60DP"
- android:layout_height="@dimen/DIMEN_60DP"
- android:layout_marginEnd="@dimen/DIMEN_8DP" />
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <TextView
- android:id="@+id/tv_gift_bag_name"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:ellipsize="end"
- android:maxLines="1"
- android:singleLine="true"
- android:textColor="@color/white"
- android:textSize="@dimen/TEXT_SIZE_14SP"
- tools:text="XXXX" />
- <TextView
- android:id="@+id/tv_gift_bag_type"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@+id/tv_gift_bag_name"
- android:ellipsize="end"
- android:maxLines="1"
- android:singleLine="true"
- android:textColor="@color/alpha_50_white"
- android:textSize="@dimen/TEXT_SIZE_12SP"
- tools:text="@string/bssdk_type_text" />
- <TextView
- android:id="@+id/tv_gift_bag_species"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@+id/tv_gift_bag_type"
- android:layout_marginRight="@dimen/DIMEN_15DP"
- android:layout_toLeftOf="@+id/tv_gift_bag_goto"
- android:ellipsize="end"
- android:maxLines="2"
- android:textColor="@color/alpha_50_white"
- android:textSize="@dimen/TEXT_SIZE_12SP"
- tools:text="XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX" />
- <TextView
- android:id="@+id/tv_gift_bag_goto"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignBottom="@+id/tv_gift_bag_species"
- android:layout_alignParentRight="true"
- android:drawableLeft="@drawable/bssdk_green_check_logo"
- android:enabled="true"
- android:text="已领取"
- android:textColor="@color/text_color_2eed2d"
- android:textSize="@dimen/TEXT_SIZE_12SP" />
- </RelativeLayout>
- </LinearLayout>
- <View
- android:layout_width="match_parent"
- android:layout_height="1px"
- android:layout_marginLeft="@dimen/DIMEN_20DP"
- android:background="@color/line_bg171d3c" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="bottom"
- android:orientation="horizontal"
- android:paddingLeft="@dimen/DIMEN_20DP"
- android:paddingTop="@dimen/DIMEN_10DP"
- android:paddingRight="@dimen/DIMEN_20DP"
- android:paddingBottom="@dimen/DIMEN_10DP">
- <TextView
- android:id="@+id/tv_gift_bag_details_name"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textColor="@color/white"
- android:textSize="@dimen/TEXT_SIZE_14SP"
- tools:text="网易渠道/首发礼包" />
- <com.bluestacks.sdk.widget.customview.BSMarqueeText
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:ellipsize="end"
- android:singleLine="true"
- android:text="(VIP等级x级以上玩家可以领取)"
- android:textColor="@color/alpha_50_white"
- android:textSize="@dimen/TEXT_SIZE_12SP"
- android:visibility="gone" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="bottom"
- android:orientation="horizontal"
- android:paddingLeft="@dimen/DIMEN_20DP"
- android:paddingTop="@dimen/DIMEN_10DP"
- android:paddingRight="@dimen/DIMEN_20DP"
- android:paddingBottom="@dimen/DIMEN_10DP">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="礼包号码"
- android:textColor="@color/white"
- android:textSize="@dimen/TEXT_SIZE_12SP" />
- <TextView
- android:id="@+id/tv_gift_bag_details_num"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="@dimen/DIMEN_5DP"
- android:layout_weight="1"
- android:background="@color/alpha_10_white"
- android:paddingLeft="@dimen/DIMEN_8DP"
- android:paddingTop="@dimen/DIMEN_4DP"
- android:paddingBottom="@dimen/DIMEN_4DP"
- android:textColor="@color/alpha_50_white"
- android:textSize="@dimen/TEXT_SIZE_12SP"
- tools:text="AKSJDFLKJKLASJSKLDFIOU" />
- <TextView
- android:id="@+id/tv_gift_bag_details_copy"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:background="@drawable/bssdk_btn_login_bg_no_radius"
- android:paddingLeft="@dimen/DIMEN_17DP"
- android:paddingTop="@dimen/DIMEN_4DP"
- android:paddingRight="@dimen/DIMEN_17DP"
- android:paddingBottom="@dimen/DIMEN_4DP"
- android:text="复制"
- android:textColor="@color/white"
- android:textSize="@dimen/TEXT_SIZE_12SP" />
- </LinearLayout>
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="bottom"
- android:orientation="horizontal"
- android:paddingLeft="@dimen/DIMEN_20DP"
- android:paddingTop="@dimen/DIMEN_10DP"
- android:paddingRight="@dimen/DIMEN_20DP"
- android:paddingBottom="@dimen/DIMEN_10DP">
- <TextView
- android:id="@+id/tv_gift_bag_details_time_title"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="有效时间: "
- android:textColor="@color/alpha_50_white"
- android:textSize="@dimen/TEXT_SIZE_12SP" />
- <TextView
- android:id="@+id/tv_gift_bag_details_time"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_toRightOf="@+id/tv_gift_bag_details_time_title"
- android:textColor="@color/alpha_50_white"
- android:textSize="@dimen/TEXT_SIZE_12SP"
- tools:text="2018-01-29-2018-01-29" />
- <com.bluestacks.sdk.widget.customview.BSMarqueeText
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_below="@+id/tv_gift_bag_details_time"
- android:layout_marginTop="@dimen/DIMEN_3DP"
- android:layout_toRightOf="@+id/tv_gift_bag_details_time_title"
- android:ellipsize="end"
- android:singleLine="true"
- android:text="(有效期后此礼包你无法兑换)"
- android:textColor="@color/alpha_50_white"
- android:textSize="@dimen/TEXT_SIZE_12SP" />
- </RelativeLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="bottom"
- android:orientation="horizontal"
- android:paddingLeft="@dimen/DIMEN_20DP"
- android:paddingTop="@dimen/DIMEN_10DP"
- android:paddingRight="@dimen/DIMEN_20DP"
- android:paddingBottom="@dimen/DIMEN_10DP">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="礼包内容: "
- android:textColor="@color/alpha_50_white"
- android:textSize="@dimen/TEXT_SIZE_12SP" />
- <TextView
- android:id="@+id/tv_gift_bag_details_con"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:lineSpacingExtra="@dimen/DIMEN_3DP"
- android:textColor="@color/line_bgf4d000"
- android:textSize="@dimen/TEXT_SIZE_12SP"
- tools:text="金币5000 金币5000 金币5000 金币50 金币5000 金币50 金币5000 金币50 金币5000 金币50 金币5000 金币50 金币5000 金币50 金币5000 金币5000" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="bottom"
- android:orientation="horizontal"
- android:paddingLeft="@dimen/DIMEN_20DP"
- android:paddingTop="@dimen/DIMEN_10DP"
- android:paddingRight="@dimen/DIMEN_20DP"
- android:paddingBottom="@dimen/DIMEN_10DP">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="使用规则: "
- android:textColor="@color/alpha_50_white"
- android:textSize="@dimen/TEXT_SIZE_12SP" />
- <TextView
- android:id="@+id/tv_gift_bag_details_rule"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:lineSpacingExtra="@dimen/DIMEN_3DP"
- android:textColor="@color/alpha_50_white"
- android:textSize="@dimen/TEXT_SIZE_12SP"
- tools:text="进入游戏后点击左上角兑换,输入确认" />
- </LinearLayout>
- </LinearLayout>
- <com.bluestacks.sdk.widget.customview.BSCustomEmptyView
- android:id="@+id/cev_gift_bag_details"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_centerInParent="true"
- android:visibility="visible"
- tools:visibility="gone" />
- </RelativeLayout>
- </android.support.v4.widget.NestedScrollView>
- </LinearLayout>
|