175 lines
7.6 KiB
XML
175 lines
7.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:fresco="http://schemas.android.com/apk/res-auto"
|
|
android:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
tools:viewBindingIgnore="true"
|
|
android:layout_height="match_parent">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="175dp"
|
|
android:background="@drawable/shape_rank_header_bg">
|
|
<LinearLayout
|
|
android:id="@+id/daka_rank_second_layout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerHorizontal="true"
|
|
android:gravity="center_horizontal"
|
|
android:layout_marginTop="37dp"
|
|
android:layout_marginRight="37dp"
|
|
android:layout_toLeftOf="@+id/daka_rank_first_layout"
|
|
android:orientation="vertical">
|
|
|
|
<FrameLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
<ImageView
|
|
android:layout_width="33dp"
|
|
android:layout_height="17dp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:src="@drawable/ic_ranking2"/>
|
|
|
|
<com.facebook.drawee.view.SimpleDraweeView
|
|
android:id="@+id/daka_rank_second_photo"
|
|
android:layout_width="55dp"
|
|
android:layout_height="55dp"
|
|
android:layout_marginTop="15dp"
|
|
fresco:placeholderImage="@color/mainBg"
|
|
fresco:roundAsCircle="true"
|
|
fresco:roundingBorderWidth="2dp"
|
|
fresco:roundingBorderColor="#C6D3E2"/>
|
|
</FrameLayout>
|
|
<TextView
|
|
android:id="@+id/daka_rank_second_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:text=""
|
|
android:textSize="14dp"
|
|
android:textColor="@android:color/white"/>
|
|
|
|
<TextView
|
|
android:id="@+id/daka_rank_second_cost"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:text=""
|
|
android:textSize="16dp"
|
|
android:textColor="@android:color/white"/>
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/daka_rank_first_layout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerHorizontal="true"
|
|
android:gravity="center"
|
|
android:orientation="vertical">
|
|
<FrameLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
<ImageView
|
|
android:layout_width="60dp"
|
|
android:layout_height="37dp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:src="@drawable/ic_ranking1"/>
|
|
|
|
<com.facebook.drawee.view.SimpleDraweeView
|
|
android:id="@+id/daka_rank_first_photo"
|
|
android:layout_width="75dp"
|
|
android:layout_height="75dp"
|
|
android:layout_marginTop="30dp"
|
|
fresco:roundAsCircle="true"
|
|
fresco:placeholderImage="@color/mainBg"
|
|
fresco:roundingBorderWidth="2dp"
|
|
fresco:roundingBorderColor="#FAD112"/>
|
|
</FrameLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/daka_rank_first_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:singleLine="true"
|
|
android:ellipsize="end"
|
|
android:text=""
|
|
android:textSize="14dp"
|
|
android:textColor="@android:color/white"/>
|
|
|
|
<TextView
|
|
android:id="@+id/daka_rank_first_cost"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:text=""
|
|
android:textSize="18dp"
|
|
android:textColor="@android:color/white"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:id="@+id/daka_rank_third_layout"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerHorizontal="true"
|
|
android:gravity="center_horizontal"
|
|
android:layout_marginTop="37dp"
|
|
android:layout_marginLeft="37dp"
|
|
android:layout_toRightOf="@+id/daka_rank_first_layout"
|
|
android:orientation="vertical">
|
|
<FrameLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
|
|
<ImageView
|
|
android:layout_width="33dp"
|
|
android:layout_height="17dp"
|
|
android:layout_gravity="center_horizontal"
|
|
android:src="@drawable/ic_ranking3"/>
|
|
|
|
<com.facebook.drawee.view.SimpleDraweeView
|
|
android:id="@+id/daka_rank_third_photo"
|
|
android:layout_width="55dp"
|
|
android:layout_height="55dp"
|
|
android:layout_marginTop="15dp"
|
|
fresco:placeholderImage="@color/mainBg"
|
|
fresco:roundAsCircle="true"
|
|
fresco:roundingBorderWidth="2dp"
|
|
fresco:roundingBorderColor="#F8A76E"/>
|
|
</FrameLayout>
|
|
|
|
<TextView
|
|
android:id="@+id/daka_rank_third_name"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:singleLine="true"
|
|
android:ellipsize="end"
|
|
android:text=""
|
|
android:textSize="14dp"
|
|
android:textColor="@android:color/white"/>
|
|
|
|
<TextView
|
|
android:id="@+id/daka_rank_third_cost"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="5dp"
|
|
android:text=""
|
|
android:textSize="16dp"
|
|
android:textColor="@android:color/white"/>
|
|
|
|
</LinearLayout>
|
|
</RelativeLayout>
|
|
|
|
<com.fengliyan.uikit.refresh.LoadMoreListView
|
|
android:id="@+id/daka_rank_list_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:divider="@null"
|
|
android:dividerHeight="0px"
|
|
android:background="@null" />
|
|
</LinearLayout> |