成果展示:

代码实现:
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#ddd">
<RelativeLayout
android:id="@+id/topPanel"
android:layout_width="match_parent"
android:layout_height="50dp"
android:orientation="horizontal">
<ImageView
android:layout_width="50dp"
android:layout_height="match_parent"
android:src="@mipmap/addfriend"
android:layout_marginTop="5dp"
android:layout_marginLeft="5dp"/>
<Button
android:layout_width="70dp"
android:layout_height="30dp"
android:layout_centerVertical="true"
android:text="签到"
android:textColor="#ffffff"
android:textSize="20sp"
android:layout_toLeftOf="@id/set"
android:background="@drawable/shape"/>
<ImageView
android:id="@+id/set"
android:layout_width="40dp"
android:layout_height="match_parent"
android:src="@mipmap/set"
android:layout_toLeftOf="@id/message"
android:layout_centerVertical="true"
android:layout_marginRight="10dp"
android:layout_marginTop="10dp"/>
<ImageView
android:id="@+id/message"
android:layout_width="40dp"
android:layout_height="match_parent"
android:src="@mipmap/message"
android:layout_toLeftOf="@id/bincode"
android:layout_centerVertical="true"
android:layout_marginRight="10dp"
android:layout_marginTop="10dp"/>
<ImageView
android:id="@+id/bincode"
android:layout_width="40dp"
android:layout_height="match_parent"
android:layout_alignParentRight="true"
android:src="@mipmap/bincode"
android:layout_centerVertical="true"
android:layout_marginRight="10dp"
android:layout_marginTop="10dp"
/>
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="550dp"
android:background="#eee"
android:layout_below="@+id/topPanel"
android:layout_marginTop="150dp">
<LinearLayout
android:id="@+id/mould_ad"
android:layout_width="match_parent"
android:layout_height="50dp"
android:layout_marginTop="50dp"
android:orientation="horizontal"
android:background="@drawable/shape_ad"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="20dp"
android:text="千门课免费看+下载会员,低至0.8员/天"
android:textSize="18sp"
android:layout_gravity="center"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="20dp"
android:layout_gravity="center"
android:text="立即开通"
android:layout_marginLeft="15dp"/>
</LinearLayout>
<LinearLayout
android:id="@+id/content"
android:layout_width="match_parent"
android:layout_height="150dp"
android:layout_below="@+id/mould_ad"
android:layout_marginTop="16dp"
android:background="@drawable/shape_user"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="50dp"
android:text="内容"
android:textColor="#000"
android:textSize="22sp"
android:gravity="center_vertical"
android:layout_marginLeft="20dp"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="100dp"
android:orientation="horizontal"
android:layout_marginLeft="40dp"
android:layout_marginRight="20dp">
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="40dp"
android:src="@mipmap/blog"/>
<TextView
android:layout_width="match_parent"
android:layout_height="30dp"
android:text="博客"
android:textSize="20sp"
android:textColor="#444"
android:layout_marginTop="10dp"
android:gravity="center"/>
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="40dp"
android:src="@mipmap/blink"/>
<TextView
android:layout_width="match_parent"
android:layout_height="30dp"
android:text="Blink"
android:textSize="20sp"
android:textColor="#444"
android:gravity="center"
android:layout_marginTop="10dp"/>
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="50dp"
android:src="@mipmap/talk"/>
<TextView
android:layout_width="match_parent"
android:layout_height="30dp"
android:text="帖子"
android:textSize="20sp"
android:textColor="#444"
android:gravity="center"/>
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="40dp"
android:src="@mipmap/simi"/>
<TextView
android:layout_width="match_parent"
android:layout_height="30dp"
android:text="私密文章"
android:textSize="18sp"
android:textColor="#444"
android:gravity="center"
android:layout_marginTop="10dp"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id="@+id/study"
android:layout_width="match_parent"
android:layout_height="250dp"
android:layout_below="@+id/content"
android:layout_marginTop="16dp"
android:background="@drawable/shape_user"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="50dp"
android:text="学习"
android:textColor="#000"
android:textSize="22sp"
android:gravity="center_vertical"
android:layout_marginLeft="20dp"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="100dp"
android:orientation="horizontal"
android:layout_marginLeft="40dp"
android:layout_marginRight="20dp">
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="50dp"
android:src="@mipmap/zuji"/>
<TextView
android:layout_width="match_parent"
android:layout_height="30dp"
android:text="足迹"
android:textSize="20sp"
android:textColor="#444"
android:gravity="center"/>
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="40dp"
android:src="@mipmap/dabeny"/>
<TextView
android:layout_width="match_parent"
android:layout_height="30dp"
android:text="大本营"
android:textSize="20sp"
android:textColor="#444"
android:gravity="center"
android:layout_marginTop="10dp"/>
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="50dp"
android:src="@mipmap/collect"/>
<TextView
android:layout_width="match_parent"
android:layout_height="30dp"
android:text="收藏夹"
android:textSize="20sp"
android:textColor="#444"
android:gravity="center"/>
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="40dp"
android:src="@mipmap/video"/>
<TextView
android:layout_width="match_parent"
android:layout_height="30dp"
android:text="视频课"
android:textSize="20sp"
android:textColor="#444"
android:gravity="center"
android:layout_marginTop="10dp"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="100dp"
android:orientation="horizontal"
android:layout_marginLeft="40dp"
android:layout_marginRight="20dp">
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="40dp"
android:src="@mipmap/books"/>
<TextView
android:layout_width="match_parent"
android:layout_height="30dp"
android:text="书架"
android:textSize="20sp"
android:textColor="#444"
android:layout_marginTop="10dp"
android:gravity="center"/>
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="40dp"
android:src="@mipmap/loc"/>
<TextView
android:layout_width="match_parent"
android:layout_height="30dp"
android:text="付费专栏"
android:textSize="18sp"
android:textColor="#444"
android:gravity="center"
android:layout_marginTop="10dp"/>
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="50dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="30dp"
android:text=""
android:textSize="20sp"
android:textColor="#444"
android:gravity="center"/>
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="40dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="30dp"
android:text=""
android:textSize="20sp"
android:textColor="#444"
android:gravity="center"
android:layout_marginTop="10dp"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="250dp"
android:layout_below="@id/study"
android:layout_marginTop="16dp"
android:background="@drawable/shape_user"
android:layout_marginLeft="10dp"
android:layout_marginRight="10dp"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="50dp"
android:text="学习"
android:textColor="#000"
android:textSize="22sp"
android:gravity="center_vertical"
android:layout_marginLeft="20dp"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="100dp"
android:orientation="horizontal"
android:layout_marginLeft="40dp"
android:layout_marginRight="20dp">
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="50dp"
android:src="@mipmap/zuji"/>
<TextView
android:layout_width="match_parent"
android:layout_height="30dp"
android:text="足迹"
android:textSize="20sp"
android:textColor="#444"
android:gravity="center"/>
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="40dp"
android:src="@mipmap/dabeny"/>
<TextView
android:layout_width="match_parent"
android:layout_height="30dp"
android:text="大本营"
android:textSize="20sp"
android:textColor="#444"
android:gravity="center"
android:layout_marginTop="10dp"/>
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="50dp"
android:src="@mipmap/collect"/>
<TextView
android:layout_width="match_parent"
android:layout_height="30dp"
android:text="收藏夹"
android:textSize="20sp"
android:textColor="#444"
android:gravity="center"/>
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="40dp"
android:src="@mipmap/video"/>
<TextView
android:layout_width="match_parent"
android:layout_height="30dp"
android:text="视频课"
android:textSize="20sp"
android:textColor="#444"
android:gravity="center"
android:layout_marginTop="10dp"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="100dp"
android:orientation="horizontal"
android:layout_marginLeft="40dp"
android:layout_marginRight="20dp">
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="40dp"
android:src="@mipmap/books"/>
<TextView
android:layout_width="match_parent"
android:layout_height="30dp"
android:text="书架"
android:textSize="20sp"
android:textColor="#444"
android:layout_marginTop="10dp"
android:gravity="center"/>
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="40dp"
android:src="@mipmap/loc"/>
<TextView
android:layout_width="match_parent"
android:layout_height="30dp"
android:text="付费专栏"
android:textSize="20sp"
android:textColor="#444"
android:gravity="center"
android:layout_marginTop="10dp"/>
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="50dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="30dp"
android:text=""
android:textSize="20sp"
android:textColor="#444"
android:gravity="center"/>
</LinearLayout>
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
android:orientation="vertical">
<ImageView
android:layout_width="match_parent"
android:layout_height="40dp"/>
<TextView
android:layout_width="match_parent"
android:layout_height="30dp"
android:text=""
android:textSize="20sp"
android:textColor="#444"
android:gravity="center"
android:layout_marginTop="10dp"/>
</LinearLayout>
</LinearLayout>
</LinearLayout>
</RelativeLayout>
<LinearLayout
android:id="@+id/user_info"
android:layout_width="match_parent"
android:layout_height="160dp"
android:layout_below="@id/topPanel"
android:layout_margin="15dp"
android:background="@drawable/shape_user"
android:orientation="horizontal">
<LinearLayout
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="6"
android:orientation="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<ImageView
android:layout_width="60dp"
android:layout_height="60dp"
android:src="@drawable/shape_avter"
android:layout_margin="10dp"/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="5dp"
android:orientation="vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="0dp"
android:text="three lines of code"
android:textSize="26sp"
android:textColor="#000"
android:layout_weight="1"/>
<TextView
android:layout_width="match_parent"
android:layout_height="0dp"
android:text="阅读59天/阅读总时长4时14分"
android:layout_weight="1"/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">
<TextView
android:layout_width="0dp"
android:layout_weight="1"
android:text="4\n关注"
android:textSize="20sp"
android:gravity="center"
android:layout_height="match_parent"/>
<TextView
android:layout_width="0dp"
android:layout_weight="1"
android:text="1\n粉丝"
android:textSize="20sp"
android:gravity="center"
android:layout_height="match_parent"/>
<TextView
android:layout_width="0dp"
android:layout_weight="1"
android:text="0\n访问"
android:textSize="20sp"
android:gravity="center"
android:layout_height="match_parent"/>
<TextView
android:layout_width="0dp"
android:layout_weight="1"
android:text="--\n排名"
android:textSize="20sp"
android:gravity="center"
android:layout_height="match_parent"/>
</LinearLayout>
</LinearLayout>
<RelativeLayout
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content">
<TextView
android:layout_width="wrap_content"
android:text="主页>"
android:textSize="16sp"
android:layout_alignParentBottom="true"
android:layout_height="wrap_content"/>
</RelativeLayout>
</LinearLayout>
</RelativeLayout>