50 lines
1.8 KiB
XML
50 lines
1.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
tools:context=".activity.UserHomepageActivity">
|
|
|
|
<data>
|
|
|
|
</data>
|
|
|
|
<androidx.constraintlayout.widget.ConstraintLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:animateLayoutChanges="true">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/rl_head"
|
|
android:layout_width="match_parent"
|
|
tools:background="@mipmap/default_avatar"
|
|
android:layout_height="@dimen/dp_207"
|
|
app:layout_constraintTop_toTopOf="parent">
|
|
|
|
<com.stx.xhb.xbanner.XBanner
|
|
android:id="@+id/xbanner"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
app:isAutoPlay="true"
|
|
app:pointsVisibility="false"
|
|
app:pointNormal="@drawable/xbanner_point_normal"
|
|
app:pointSelect="@drawable/xbanner_point_selected"
|
|
app:pointTopBottomPadding="@dimen/dp_37" />
|
|
</RelativeLayout>
|
|
|
|
|
|
<com.xscm.moduleutil.widget.CustomTopBar
|
|
android:id="@+id/top_bar"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
app:layout_constraintTop_toTopOf="parent"/>
|
|
|
|
<com.xscm.moduleutil.widget.ScrollViewPager
|
|
android:id="@+id/view_pager"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_marginTop="@dimen/dp_80"
|
|
app:layout_constraintTop_toBottomOf="@+id/top_bar"/>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
</layout>
|