|
|
@@ -4,97 +4,8 @@
|
|
|
android:layout_height="match_parent"
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
- <ImageView
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="200dp"
|
|
|
- android:background="@drawable/uuu"/>
|
|
|
|
|
|
-
|
|
|
- <RelativeLayout
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:padding="5dp"
|
|
|
- android:background="@color/bg_main"
|
|
|
- >
|
|
|
-
|
|
|
- <de.hdodenhof.circleimageview.CircleImageView
|
|
|
- android:id="@+id/photo_img"
|
|
|
- android:layout_width="45dp"
|
|
|
- android:layout_height="45dp"
|
|
|
- android:contentDescription="@string/app_name"
|
|
|
- android:layout_marginTop="5dp"
|
|
|
- android:layout_marginBottom="5dp"
|
|
|
- android:src="@drawable/common_header_boy"
|
|
|
- android:layout_marginLeft="20dp"
|
|
|
- />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/name_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="8dp"
|
|
|
- android:layout_toRightOf="@+id/photo_img"
|
|
|
- android:textColor="@color/black"
|
|
|
- android:textSize="@dimen/text_hine"
|
|
|
- android:layout_marginTop="10dp"
|
|
|
- android:text="张三"
|
|
|
-
|
|
|
- />
|
|
|
- <TextView
|
|
|
- android:id="@+id/ranking_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginLeft="8dp"
|
|
|
- android:layout_toRightOf="@+id/photo_img"
|
|
|
- android:layout_below="@id/name_tv"
|
|
|
- android:textColor="@color/gray"
|
|
|
- android:textSize="@dimen/text_hine"
|
|
|
- android:layout_marginTop="4dp"
|
|
|
- android:text="第一名"/>
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/steps_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_marginTop="20dp"
|
|
|
- android:layout_marginBottom="0dp"
|
|
|
- android:textSize="@dimen/BigTextSize"
|
|
|
- android:text="9999"
|
|
|
- android:textColor="@color/green"
|
|
|
- android:layout_toLeftOf="@+id/prise_tv"
|
|
|
- android:layout_marginRight="20dp"
|
|
|
- />
|
|
|
-
|
|
|
- <TextView
|
|
|
- android:id="@+id/prise_tv"
|
|
|
- android:layout_width="wrap_content"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:layout_marginTop="5dp"
|
|
|
- android:layout_marginBottom="0dp"
|
|
|
- android:textSize="@dimen/text_hine"
|
|
|
- android:text="1"
|
|
|
- android:textColor="@color/text_hine"
|
|
|
- android:layout_marginRight="15dp"
|
|
|
- />
|
|
|
- <ImageView
|
|
|
- android:id="@+id/prise_im"
|
|
|
- android:layout_width="20dp"
|
|
|
- android:layout_height="20dp"
|
|
|
- android:src="@drawable/uuu"
|
|
|
- android:layout_alignParentRight="true"
|
|
|
- android:layout_below="@+id/prise_tv"
|
|
|
- android:layout_marginTop="5dp"
|
|
|
- android:layout_marginRight="10dp"/>
|
|
|
- </RelativeLayout>
|
|
|
- <View
|
|
|
- android:id="@+id/hide_above_af"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="10dp"
|
|
|
- android:background="@color/black_gray"
|
|
|
- android:layout_marginTop="1dp"
|
|
|
- android:visibility="visible"/>
|
|
|
- <com.core.widget.CustomerScrollView
|
|
|
+ <ScrollView
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
android:fillViewport="true"
|
|
|
@@ -102,20 +13,108 @@
|
|
|
android:visibility="visible">
|
|
|
<LinearLayout
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:focusable="true"
|
|
|
- android:focusableInTouchMode="true"
|
|
|
+ android:layout_height="match_parent"
|
|
|
android:orientation="vertical">
|
|
|
+ <ImageView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="200dp"
|
|
|
+ android:background="@drawable/uuu"/>
|
|
|
+
|
|
|
+
|
|
|
+ <RelativeLayout
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:padding="5dp"
|
|
|
+ android:background="@color/bg_main"
|
|
|
+ >
|
|
|
+
|
|
|
+ <de.hdodenhof.circleimageview.CircleImageView
|
|
|
+ android:id="@+id/photo_img"
|
|
|
+ android:layout_width="45dp"
|
|
|
+ android:layout_height="45dp"
|
|
|
+ android:contentDescription="@string/app_name"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_marginBottom="5dp"
|
|
|
+ android:src="@drawable/common_header_boy"
|
|
|
+ android:layout_marginLeft="20dp"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/name_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="8dp"
|
|
|
+ android:layout_toRightOf="@+id/photo_img"
|
|
|
+ android:textColor="@color/black"
|
|
|
+ android:textSize="@dimen/text_hine"
|
|
|
+ android:layout_marginTop="10dp"
|
|
|
+ android:text="张三"
|
|
|
+
|
|
|
+ />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/ranking_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginLeft="8dp"
|
|
|
+ android:layout_toRightOf="@+id/photo_img"
|
|
|
+ android:layout_below="@id/name_tv"
|
|
|
+ android:textColor="@color/gray"
|
|
|
+ android:textSize="@dimen/text_hine"
|
|
|
+ android:layout_marginTop="4dp"
|
|
|
+ android:text="第一名"/>
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/steps_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginTop="20dp"
|
|
|
+ android:layout_marginBottom="0dp"
|
|
|
+ android:textSize="@dimen/BigTextSize"
|
|
|
+ android:text="9999"
|
|
|
+ android:textColor="@color/green"
|
|
|
+ android:layout_toLeftOf="@+id/prise_tv"
|
|
|
+ android:layout_marginRight="20dp"
|
|
|
+ />
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/prise_tv"
|
|
|
+ android:layout_width="wrap_content"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_marginBottom="0dp"
|
|
|
+ android:textSize="@dimen/text_hine"
|
|
|
+ android:text="1"
|
|
|
+ android:textColor="@color/text_hine"
|
|
|
+ android:layout_marginRight="15dp"
|
|
|
+ />
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/prise_im"
|
|
|
+ android:layout_width="20dp"
|
|
|
+ android:layout_height="20dp"
|
|
|
+ android:src="@drawable/uuu"
|
|
|
+ android:layout_alignParentRight="true"
|
|
|
+ android:layout_below="@+id/prise_tv"
|
|
|
+ android:layout_marginTop="5dp"
|
|
|
+ android:layout_marginRight="10dp"/>
|
|
|
+ </RelativeLayout>
|
|
|
+ <View
|
|
|
+ android:id="@+id/hide_above_af"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="10dp"
|
|
|
+ android:background="@color/black_gray"
|
|
|
+ android:layout_marginTop="1dp"
|
|
|
+ android:visibility="visible"/>
|
|
|
+
|
|
|
<LinearLayout
|
|
|
android:id="@+id/attention_ll"
|
|
|
android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
+ android:layout_height="match_parent"
|
|
|
android:orientation="vertical">
|
|
|
<com.handmark.pulltorefresh.library.PullToRefreshListView
|
|
|
android:id="@+id/attention_ptlv"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:layout_below="@id/seach_top"
|
|
|
android:background="@color/item_line"
|
|
|
android:dividerHeight="2px"
|
|
|
android:scrollbars="none" />
|
|
|
@@ -126,33 +125,20 @@
|
|
|
android:layout_marginTop="1dp"
|
|
|
android:visibility="visible"/>
|
|
|
</LinearLayout>
|
|
|
- <LinearLayout
|
|
|
- android:id="@+id/all_ll"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="wrap_content"
|
|
|
- android:orientation="vertical">
|
|
|
<com.handmark.pulltorefresh.library.PullToRefreshListView
|
|
|
android:id="@+id/all_ptlv"
|
|
|
android:layout_width="match_parent"
|
|
|
android:layout_height="match_parent"
|
|
|
- android:layout_below="@id/seach_top"
|
|
|
android:background="@color/item_line"
|
|
|
android:dividerHeight="2px"
|
|
|
- android:scrollbars="none" />
|
|
|
- <View
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="10dp"
|
|
|
- android:background="@color/black_gray"
|
|
|
- android:layout_marginTop="1dp"
|
|
|
- android:visibility="visible"/>
|
|
|
- </LinearLayout>
|
|
|
+ />
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/invite_friends_tv"
|
|
|
+ android:textColor="@color/green"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="30dp"
|
|
|
+ android:text="邀请好友参加UU运行"
|
|
|
+ />
|
|
|
</LinearLayout>
|
|
|
- </com.core.widget.CustomerScrollView>
|
|
|
- <TextView
|
|
|
- android:id="@+id/invite_friends_tv"
|
|
|
- android:textColor="@color/green"
|
|
|
- android:layout_width="match_parent"
|
|
|
- android:layout_height="30dp"
|
|
|
- android:text="邀请好友参加UU运行"
|
|
|
- />
|
|
|
+ </ScrollView>
|
|
|
</LinearLayout>
|