|
|
@@ -0,0 +1,151 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical">
|
|
|
+
|
|
|
+
|
|
|
+ <ScrollView
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:fillViewport="true"
|
|
|
+ android:scrollbars="none"
|
|
|
+ android:visibility="visible">
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="match_parent"
|
|
|
+ android:orientation="vertical">
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/header_background_im"
|
|
|
+ android:focusableInTouchMode="true"
|
|
|
+ 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="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: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>
|
|
|
+ <com.core.widget.MyListView
|
|
|
+ android:id="@+id/all_ptlv"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@color/item_line"
|
|
|
+ android:dividerHeight="2px"
|
|
|
+ />
|
|
|
+ <View
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="@dimen/line"
|
|
|
+ android:background="@color/item_line"/>
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/invite_friends_tv"
|
|
|
+ android:textColor="@color/green"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="60dp"
|
|
|
+ android:text="邀请好友参加UU运行"
|
|
|
+ android:gravity="center"
|
|
|
+ />
|
|
|
+ </LinearLayout>
|
|
|
+ </ScrollView>
|
|
|
+</LinearLayout>
|