93 lines
3.6 KiB
XML
93 lines
3.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical">
|
|
|
|
<com.google.android.material.appbar.AppBarLayout
|
|
android:id="@+id/appBarLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="70dp"
|
|
android:layout_marginTop="5dp"
|
|
android:background="@color/white"
|
|
android:fadingEdge="none"
|
|
app:elevation="0dp"
|
|
app:layout_behavior="com.yunbao.common.custom.FixAppBarLayoutBehavior">
|
|
|
|
<RelativeLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:layout_scrollFlags="scroll|enterAlways">
|
|
|
|
<ImageView
|
|
android:id="@+id/btn_search"
|
|
android:layout_width="45dp"
|
|
android:layout_height="45dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginRight="40dp"
|
|
android:onClick="mainClick"
|
|
android:padding="9dp"
|
|
android:src="@mipmap/icon_main_search" />
|
|
|
|
<ImageView
|
|
android:id="@+id/btn_follow"
|
|
android:layout_width="45dp"
|
|
android:layout_height="45dp"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_alignParentBottom="true"
|
|
android:onClick="mainClick"
|
|
android:padding="9dp"
|
|
android:src="@mipmap/icon_main_follow" />
|
|
|
|
<com.makeramen.roundedimageview.RoundedImageView
|
|
android:id="@+id/btn_use_ico"
|
|
android:layout_width="45dp"
|
|
android:layout_height="45dp"
|
|
android:layout_alignParentLeft="true"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginTop="2dp"
|
|
android:layout_marginBottom="2dp"
|
|
android:onClick="mainClick"
|
|
android:padding="9dp"
|
|
android:scaleType="centerCrop"
|
|
android:visibility="gone"
|
|
app:riv_oval="true" />
|
|
|
|
|
|
<TextView
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="40dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_marginLeft="10dp"
|
|
android:textColor="@color/colorPrimary"
|
|
android:text="POYO"
|
|
android:paddingTop="2dp"
|
|
android:textSize="20sp"
|
|
android:textStyle="bold" />
|
|
|
|
<net.lucode.hackware.magicindicator.MagicIndicator
|
|
android:id="@+id/indicator"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="37dp"
|
|
android:layout_alignParentBottom="true"
|
|
android:layout_centerHorizontal="true"
|
|
android:layout_marginLeft="10dp"
|
|
android:layout_marginRight="10dp"
|
|
android:layout_marginBottom="5dp" />
|
|
|
|
</RelativeLayout>
|
|
|
|
</com.google.android.material.appbar.AppBarLayout>
|
|
|
|
<com.yunbao.common.custom.CommonRefreshView
|
|
android:id="@+id/refreshView"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginLeft="5dp"
|
|
android:layout_marginRight="5dp"
|
|
android:background="@color/color_white"/>
|
|
|
|
</LinearLayout> |