| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369 |
- <?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="#f8f8f8">
- <RelativeLayout
- android:id="@+id/title_bar"
- android:layout_width="match_parent"
- android:layout_height="?actionBarSize"
- android:background="#ffffff"
- android:gravity="center_vertical"
- android:paddingLeft="16dp"
- android:paddingRight="16dp">
- <ImageView
- android:id="@+id/back_but"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:contentDescription="@string/image_des"
- android:padding="10dp"
- android:src="@drawable/narrow_back_black" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_centerInParent="true"
- android:gravity="center"
- android:text="签到"
- android:textColor="#333333"
- android:textSize="17sp" />
- </RelativeLayout>
- <ScrollView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_below="@id/title_bar"
- android:scrollbars="none">
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical">
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@drawable/shape_bg_gradient_rectangle_069cfb_9ae7f4"
- android:paddingTop="15dp"
- android:paddingBottom="23dp">
- <ImageView
- android:id="@+id/sheep_sign_rectangle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerHorizontal="true"
- android:src="@drawable/loading_01" />
- <ImageView
- android:id="@+id/sheep_sign_out"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:src="@drawable/loading_01" />
- <RelativeLayout
- android:id="@+id/sheep_sign_egg_rl"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:visibility="gone">
- <ImageView
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:src="@drawable/niudan8" />
- <TextView
- android:id="@+id/sheep_sign_egg_msg"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_marginBottom="5dp"
- android:gravity="center"
- android:textColor="@color/white"
- android:textSize="10sp" />
- </RelativeLayout>
- <com.sheep.jiuyan.samllsheep.ui.view.EggView
- android:id="@+id/eggs_view"
- android:layout_width="190dp"
- android:layout_height="140dp"
- android:layout_centerHorizontal="true"
- android:layout_marginTop="100dp" />
- <ImageView
- android:id="@+id/sheep_sign_machine"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:adjustViewBounds="true"
- android:scaleType="fitXY"
- android:src="@drawable/loading_01" />
- <TextView
- android:id="@+id/active_info"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentEnd="true"
- android:background="@drawable/shape_round_rect_bg"
- android:gravity="center"
- android:paddingLeft="15dp"
- android:paddingTop="5dp"
- android:paddingRight="15dp"
- android:paddingBottom="5dp"
- android:text="活动规则"
- android:textColor="#ffffff"
- android:textSize="12sp" />
- </RelativeLayout>
- <TextView
- android:id="@+id/sign_info_text"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="#ffffff"
- android:gravity="center"
- android:paddingTop="20dp"
- android:text="已签到1天 ,继续6天签到可参与刮奖"
- android:textColor="#999999"
- android:textSize="12sp" />
- <LinearLayout
- android:id="@+id/sign_day_list"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="#ffffff"
- android:gravity="center"
- android:orientation="horizontal">
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_margin="10dp"
- android:layout_weight="1"
- android:background="@drawable/shape_sign_bg_none"
- android:drawableBottom="@drawable/coin"
- android:gravity="center"
- android:minHeight="40dp"
- android:padding="5dp"
- android:text="1" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_margin="10dp"
- android:layout_weight="1"
- android:background="@drawable/shape_sign_bg_none"
- android:drawableBottom="@drawable/coin"
- android:gravity="center"
- android:minHeight="40dp"
- android:padding="5dp"
- android:text="2" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_margin="10dp"
- android:layout_weight="1"
- android:background="@drawable/shape_sign_bg_none"
- android:drawableBottom="@drawable/coin"
- android:gravity="center"
- android:minHeight="40dp"
- android:padding="5dp"
- android:text="3" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_margin="10dp"
- android:layout_weight="1"
- android:background="@drawable/shape_sign_bg_none"
- android:drawableBottom="@drawable/coin"
- android:gravity="center"
- android:minHeight="40dp"
- android:padding="5dp"
- android:text="4" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_margin="10dp"
- android:layout_weight="1"
- android:background="@drawable/shape_sign_bg_none"
- android:drawableBottom="@drawable/coin"
- android:gravity="center"
- android:minHeight="40dp"
- android:padding="5dp"
- android:text="5" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_margin="10dp"
- android:layout_weight="1"
- android:background="@drawable/shape_sign_bg_none"
- android:drawableBottom="@drawable/gift_dlose"
- android:gravity="center"
- android:minHeight="40dp"
- android:padding="5dp"
- android:text="6" />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:background="@color/white"
- android:gravity="center"
- android:orientation="vertical">
- <TextView
- android:id="@+id/sign_now_but"
- style="@style/style_button_full"
- android:layout_width="wrap_content"
- android:layout_height="32dp"
- android:layout_gravity="center_horizontal"
- android:layout_marginTop="20dp"
- android:layout_marginBottom="20dp"
- android:paddingLeft="25dp"
- android:paddingRight="25dp"
- android:text="签到"
- android:textColor="@color/white"
- android:textSize="16sp" />
- <RelativeLayout
- android:id="@+id/sign_gua_jiang_qu"
- android:layout_width="320dp"
- android:layout_height="80dp"
- android:layout_marginBottom="20dp"
- android:contentDescription="@string/image_des"
- android:visibility="gone">
- <ImageView
- android:id="@+id/act_sign_eras_iv"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:adjustViewBounds="true"
- android:scaleType="fitXY"/>
- <com.sheep.gamegroup.view.customview.ErasableTextView
- android:id="@+id/sign_etv"
- android:layout_width="320dp"
- android:layout_height="80dp"
- android:gravity="center"
- android:text="绵羊币:0.01"
- android:textColor="#999999"
- android:textSize="30sp" />
- </RelativeLayout>
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:background="#ffffff"
- android:orientation="horizontal"
- android:padding="16dp">
- <ImageView
- android:layout_width="62dp"
- android:layout_height="62dp"
- android:layout_marginEnd="12dp"
- android:adjustViewBounds="true"
- android:contentDescription="@string/image_des"
- android:src="@mipmap/icon" />
- <LinearLayout
- android:layout_width="0dp"
- android:layout_height="match_parent"
- android:layout_weight="1"
- android:orientation="vertical">
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="早起打卡,好习惯,高回报"
- android:textColor="#333333" />
- <TextView
- android:id="@+id/go_to_pack_but"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_gravity="right"
- android:background="@drawable/shape_but_blue_bg"
- android:paddingLeft="10dp"
- android:paddingTop="5dp"
- android:paddingRight="10dp"
- android:paddingBottom="5dp"
- android:text="立即参与"
- android:textColor="@color/white"
- android:textSize="12sp" />
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal">
- <TextView
- android:id="@+id/sign_card_num"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="2000"
- android:textColor="#fffe5864"
- android:textSize="10sp" />
- <TextView
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="人参与"
- android:textColor="#8E8E8E"
- android:textSize="10sp" />
- </LinearLayout>
- </LinearLayout>
- </LinearLayout>
- <RelativeLayout
- android:id="@+id/go_to_yaoqing"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="10dp"
- android:layout_marginBottom="10dp"
- android:background="@color/white"
- android:paddingStart="16dp"
- android:paddingTop="12dp"
- android:paddingEnd="16dp"
- android:paddingBottom="12dp">
- <ImageView
- android:id="@+id/act_sign_ask_friend_iv"
- android:layout_width="wrap_content"
- android:layout_height="76dp"
- android:adjustViewBounds="true"
- android:contentDescription="@string/image_des"
- android:scaleType="fitXY"
- android:src="@drawable/icon" />
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_centerVertical="true"
- android:orientation="vertical">
- <TextView
- android:id="@+id/act_sign_ask_friend_tv"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:gravity="end"
- android:text="收徒大狂欢"
- android:textColor="#020202"
- android:textSize="22sp" />
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="2dp"
- android:gravity="end"
- android:text="邀新最多可获300元"
- android:textColor="#999999"
- android:textSize="14sp" />
- </LinearLayout>
- </RelativeLayout>
- </LinearLayout>
- </ScrollView>
- </RelativeLayout>
|