|
|
@@ -1,53 +1,89 @@
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_gravity="bottom">
|
|
|
+ android:layout_height="match_parent">
|
|
|
|
|
|
- <LinearLayout
|
|
|
+ <RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
android:layout_gravity="center"
|
|
|
- android:layout_margin="@dimen/content_padding_10"
|
|
|
- android:padding="@dimen/content_padding_10"
|
|
|
- android:gravity="center"
|
|
|
- android:background="@drawable/x_shap_shadow_bg_rectgangle_white"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:layout_margin="@dimen/content_padding_10">
|
|
|
|
|
|
- <TextView
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/dialog_center_ll"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="65dp"
|
|
|
+ android:background="@drawable/x_shap_shadow_bg_rectgangle_white"
|
|
|
android:gravity="center"
|
|
|
- android:padding="@dimen/content_padding_10"
|
|
|
- android:text="一分钟快速了解小绵羊"
|
|
|
- android:textColor="@color/selector_color_choose_head"
|
|
|
- android:textSize="14sp" />
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:padding="@dimen/content_padding_10">
|
|
|
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="1px"
|
|
|
- android:layout_marginTop="@dimen/content_padding_10"
|
|
|
- android:layout_marginLeft="@dimen/content_padding_20"
|
|
|
- android:layout_marginRight="@dimen/content_padding_20"
|
|
|
- android:background="#DFDFDF" />
|
|
|
+ <TextView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="70dp"
|
|
|
+ android:padding="@dimen/content_padding_10"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="恭喜您"
|
|
|
+ android:textColor="@color/selector_color_choose_head"
|
|
|
+ android:textSize="14sp" />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/dialog_tip"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:gravity="center"
|
|
|
+ android:text="获得新人注册奖励1.8元"
|
|
|
+ android:textColor="@color/selector_color_choose_head"
|
|
|
+ android:textSize="14sp" />
|
|
|
|
|
|
- <RelativeLayout
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="@dimen/content_padding_20"
|
|
|
+ android:gravity="center"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <Button
|
|
|
+ android:id="@+id/dialog_sure"
|
|
|
+ style="@style/style_button_newbie_task"
|
|
|
+ android:text="了解小绵羊,领取更多资金" />
|
|
|
+ <Button
|
|
|
+ android:id="@+id/dialog_sure_2"
|
|
|
+ style="@style/style_button_newbie_task"
|
|
|
+ android:visibility="gone"
|
|
|
+ android:text="2.成功邀请好友注册(+2元)" />
|
|
|
+ <Button
|
|
|
+ android:id="@+id/dialog_sure_3"
|
|
|
+ style="@style/style_button_newbie_task"
|
|
|
+ android:visibility="gone"
|
|
|
+ android:text="3.首次做任务赚钱(+1元)" />
|
|
|
+
|
|
|
+ </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
+ <LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="@dimen/content_padding_20"
|
|
|
- android:gravity="center">
|
|
|
- <Button
|
|
|
- android:id="@+id/dialog_i_understand_bt"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="36dp"
|
|
|
- android:paddingStart="@dimen/content_padding_40"
|
|
|
- android:paddingEnd="@dimen/content_padding_40"
|
|
|
- android:enabled="false"
|
|
|
- android:text="点击我了解"
|
|
|
- android:background="@drawable/selector_drawable_newbie_task_1"
|
|
|
- android:textColor="@color/selector_color_choose_head"
|
|
|
- android:textSize="14sp" />
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:gravity="center"
|
|
|
+ android:weightSum="10"
|
|
|
+ android:orientation="horizontal">
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_weight="8"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:scaleType="fitXY"
|
|
|
+ android:adjustViewBounds="true"
|
|
|
+ android:src="@drawable/newbie_task_coin" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- </RelativeLayout>
|
|
|
- </LinearLayout>
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/dialog_close"
|
|
|
+ android:layout_width="30dp"
|
|
|
+ android:layout_height="30dp"
|
|
|
+ android:layout_marginTop="@dimen/content_padding_10"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:layout_below="@+id/dialog_center_ll"
|
|
|
+ android:src="@drawable/newbie_task_close" />
|
|
|
+ </RelativeLayout>
|
|
|
</FrameLayout>
|