|
|
@@ -7,190 +7,196 @@
|
|
|
android:layout_height="match_parent"
|
|
|
tools:context="com.sheep.gamegroup.view.activity.AskGetMoneyAct">
|
|
|
|
|
|
- <android.support.v4.widget.NestedScrollView
|
|
|
- android:id="@+id/ask_scroll_view"
|
|
|
+ <com.sheep.gamegroup.util.SheepSwipeRefreshLayout
|
|
|
+ android:id="@+id/refresh"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_marginBottom="60dp"
|
|
|
- android:orientation="vertical"
|
|
|
- android:fillViewport="true"
|
|
|
- android:layout_gravity="fill_vertical"
|
|
|
- android:scrollbars="none"
|
|
|
- app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <android.support.v4.widget.NestedScrollView
|
|
|
+ android:id="@+id/ask_scroll_view"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:background="#FFD269">
|
|
|
-
|
|
|
- <ImageView
|
|
|
- android:id="@+id/ask_bg"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content" />
|
|
|
-
|
|
|
- <!--底部有白条,用这一层覆盖-->
|
|
|
- <View
|
|
|
- android:id="@+id/ask_top_3"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="100dp"
|
|
|
- android:layout_marginTop="300dp"
|
|
|
- android:background="#FFD269"/>
|
|
|
- <!--内容 注:layout_marginBottom 为底部添加一点空间-->
|
|
|
- <LinearLayout
|
|
|
+ android:layout_gravity="fill_vertical"
|
|
|
+ android:layout_marginBottom="60dp"
|
|
|
+ android:fillViewport="true"
|
|
|
+ android:orientation="vertical"
|
|
|
+ android:scrollbars="none"
|
|
|
+ app:layout_behavior="@string/appbar_scrolling_view_behavior">
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:layout_marginBottom="@dimen/content_padding_10"
|
|
|
- android:baselineAligned="false"
|
|
|
- android:descendantFocusability="beforeDescendants"
|
|
|
- android:focusable="true"
|
|
|
- android:focusableInTouchMode="true"
|
|
|
- android:orientation="vertical">
|
|
|
+ android:background="#FFD269">
|
|
|
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/ask_bg"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content" />
|
|
|
|
|
|
+ <!--底部有白条,用这一层覆盖-->
|
|
|
<View
|
|
|
- android:id="@+id/ask_top_1"
|
|
|
+ android:id="@+id/ask_top_3"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="320dp" />
|
|
|
-
|
|
|
+ android:layout_height="100dp"
|
|
|
+ android:layout_marginTop="300dp"
|
|
|
+ android:background="#FFD269" />
|
|
|
+ <!--内容 注:layout_marginBottom 为底部添加一点空间-->
|
|
|
<LinearLayout
|
|
|
- android:id="@+id/ask_top_2"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="60dp"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:layout_marginBottom="@dimen/content_padding_20">
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1">
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginBottom="@dimen/content_padding_10"
|
|
|
+ android:baselineAligned="false"
|
|
|
+ android:descendantFocusability="beforeDescendants"
|
|
|
+ android:focusable="true"
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ android:orientation="vertical">
|
|
|
|
|
|
- <TextView
|
|
|
|
|
|
- android:id="@+id/tv_size"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:text="@string/app_name"
|
|
|
- android:textColor="#ffffff"
|
|
|
- android:textSize="24sp"
|
|
|
- android:textStyle="bold" />
|
|
|
+ <View
|
|
|
+ android:id="@+id/ask_top_1"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="320dp" />
|
|
|
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_below="@id/tv_size"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:text="@string/friend"
|
|
|
- android:textColor="#ffffff"
|
|
|
- android:textSize="13sp" />
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/ask_top_2"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="60dp"
|
|
|
+ android:layout_marginBottom="@dimen/content_padding_20"
|
|
|
+ android:orientation="horizontal">
|
|
|
|
|
|
- </RelativeLayout>
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1">
|
|
|
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="0dp"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:layout_weight="1"
|
|
|
- android:orientation="vertical">
|
|
|
+ <TextView
|
|
|
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/tv_money_ll"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:orientation="horizontal">
|
|
|
+ android:id="@+id/tv_size"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:text="@string/app_name"
|
|
|
+ android:textColor="#ffffff"
|
|
|
+ android:textSize="24sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
|
|
|
<TextView
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:text="¥"
|
|
|
- android:textColor="#FCFF00"
|
|
|
- android:textSize="12sp" />
|
|
|
+ android:layout_below="@id/tv_size"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:text="@string/friend"
|
|
|
+ android:textColor="#ffffff"
|
|
|
+ android:textSize="13sp" />
|
|
|
+
|
|
|
+ </RelativeLayout>
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/tv_money_ll"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="¥"
|
|
|
+ android:textColor="#FCFF00"
|
|
|
+ android:textSize="12sp" />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tv_money"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="#FCFF00"
|
|
|
+ android:textSize="24sp"
|
|
|
+ android:textStyle="bold" />
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
<TextView
|
|
|
- android:id="@+id/tv_money"
|
|
|
android:layout_width="wrap_content"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textColor="#FCFF00"
|
|
|
- android:textSize="24sp"
|
|
|
- android:textStyle="bold" />
|
|
|
- </LinearLayout>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_below="@id/tv_money_ll"
|
|
|
- android:layout_centerHorizontal="true"
|
|
|
- android:text="@string/reward"
|
|
|
- android:textColor="#ffffff"
|
|
|
- android:textSize="13sp" />
|
|
|
+ android:layout_below="@id/tv_money_ll"
|
|
|
+ android:layout_centerHorizontal="true"
|
|
|
+ android:text="@string/reward"
|
|
|
+ android:textColor="#ffffff"
|
|
|
+ android:textSize="13sp" />
|
|
|
|
|
|
- </RelativeLayout>
|
|
|
+ </RelativeLayout>
|
|
|
|
|
|
|
|
|
- </LinearLayout>
|
|
|
+ </LinearLayout>
|
|
|
|
|
|
- <android.support.design.widget.TabLayout
|
|
|
- android:id="@+id/indicator"
|
|
|
- style="@style/style_tab_askgetmoney"/>
|
|
|
+ <android.support.design.widget.TabLayout
|
|
|
+ android:id="@+id/indicator"
|
|
|
+ style="@style/style_tab_askgetmoney" />
|
|
|
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="1dp"
|
|
|
- android:background="@color/yellow_FFAD3C"/>
|
|
|
-
|
|
|
- <com.kfzs.duanduan.view.ViewPagerAutoHeigh
|
|
|
- android:id="@+id/pager"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="match_parent"
|
|
|
- android:minHeight="@dimen/ask_friend_list_h"
|
|
|
- app:layout_behavior="@string/appbar_scrolling_view_behavior"
|
|
|
- android:layout_marginEnd="@dimen/content_padding_10"
|
|
|
- android:layout_marginStart="@dimen/content_padding_10"
|
|
|
- android:layout_marginTop="@dimen/content_padding_10"/>
|
|
|
-
|
|
|
- <!--发放情况-->
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/homepage_item_notice_layout"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginEnd="@dimen/content_padding_10"
|
|
|
- android:layout_marginStart="@dimen/content_padding_10"
|
|
|
- android:layout_marginTop="@dimen/content_padding_10"
|
|
|
- android:background="@drawable/x_shap_shadow_bg_rectgangle_purple"
|
|
|
- android:orientation="horizontal"
|
|
|
- android:padding="@dimen/content_padding_10"
|
|
|
- android:visibility="gone">
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:text="发放情况:"
|
|
|
- android:textColor="#ffffff"
|
|
|
- android:textSize="12sp" />
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="1dp"
|
|
|
+ android:background="@color/yellow_FFAD3C" />
|
|
|
|
|
|
- <com.sunfusheng.marqueeview.MarqueeView
|
|
|
- android:id="@+id/ask_award_info"
|
|
|
+ <com.kfzs.duanduan.view.ViewPagerAutoHeigh
|
|
|
+ android:id="@+id/pager"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:layout_marginEnd="@dimen/content_padding_10"
|
|
|
+ android:layout_marginStart="@dimen/content_padding_10"
|
|
|
+ android:layout_marginTop="@dimen/content_padding_10"
|
|
|
+ android:minHeight="@dimen/ask_friend_list_h"
|
|
|
+ app:layout_behavior="@string/appbar_scrolling_view_behavior" />
|
|
|
+
|
|
|
+ <!--发放情况-->
|
|
|
+ <LinearLayout
|
|
|
+ android:id="@+id/homepage_item_notice_layout"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|
|
|
- android:textColor="#ffffff"
|
|
|
- android:textSize="12sp"
|
|
|
- app:mvAnimDuration="1000"
|
|
|
- app:mvDirection="right_to_left"
|
|
|
- app:mvInterval="3000"
|
|
|
- app:mvSingleLine="true" />
|
|
|
- </LinearLayout>
|
|
|
+ android:layout_marginEnd="@dimen/content_padding_10"
|
|
|
+ android:layout_marginStart="@dimen/content_padding_10"
|
|
|
+ android:layout_marginTop="@dimen/content_padding_10"
|
|
|
+ android:background="@drawable/x_shap_shadow_bg_rectgangle_purple"
|
|
|
+ android:orientation="horizontal"
|
|
|
+ android:padding="@dimen/content_padding_10"
|
|
|
+ android:visibility="gone">
|
|
|
|
|
|
- <!--邀请小技巧-->
|
|
|
+ <TextView
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:text="发放情况:"
|
|
|
+ android:textColor="#ffffff"
|
|
|
+ android:textSize="12sp" />
|
|
|
|
|
|
- <include
|
|
|
- layout="@layout/ask_getmoney_act_item_three_notice_layout"/>
|
|
|
- </LinearLayout>
|
|
|
- </RelativeLayout>
|
|
|
- </android.support.v4.widget.NestedScrollView>
|
|
|
+ <com.sunfusheng.marqueeview.MarqueeView
|
|
|
+ android:id="@+id/ask_award_info"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:textColor="#ffffff"
|
|
|
+ android:textSize="12sp"
|
|
|
+ app:mvAnimDuration="1000"
|
|
|
+ app:mvDirection="right_to_left"
|
|
|
+ app:mvInterval="3000"
|
|
|
+ app:mvSingleLine="true" />
|
|
|
+ </LinearLayout>
|
|
|
+
|
|
|
+ <!--邀请小技巧-->
|
|
|
+
|
|
|
+ <include layout="@layout/ask_getmoney_act_item_three_notice_layout" />
|
|
|
+ </LinearLayout>
|
|
|
+ </RelativeLayout>
|
|
|
+ </android.support.v4.widget.NestedScrollView>
|
|
|
+ </com.sheep.gamegroup.util.SheepSwipeRefreshLayout>
|
|
|
|
|
|
+ <include
|
|
|
+ layout="@layout/title"
|
|
|
+ android:visibility="gone" />
|
|
|
|
|
|
- <include layout="@layout/title"
|
|
|
- android:visibility="gone"/>
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="wrap_content"
|