<?xml version="1.0" encoding="utf-8"?> <merge 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="wrap_content" android:orientation="vertical"> <com.yidianling.home.ui.view.HomeCommonTitleView android:id="@+id/homeModuleConfideViewHomeCommonTitleView" android:layout_width="match_parent" android:layout_height="wrap_content"/> <LinearLayout android:layout_width="match_parent" android:layout_height="40dp" android:gravity="center_vertical" android:orientation="horizontal" > <RelativeLayout android:layout_width="0dp" android:layout_height="40dp" android:layout_weight="1"> <android.support.design.widget.TabLayout android:id="@+id/tab_layout" android:layout_width="match_parent" android:layout_height="40dp" app:tabGravity="fill" app:tabIndicatorHeight="0dp" app:tabMode="scrollable" app:tabSelectedTextColor="@color/platform_color_242424" app:tabTextAppearance="@style/TabLayoutTextSize" app:tabTextColor="#333"/> <View android:layout_alignParentRight="true" android:background="@drawable/home_consult_head_border" android:layout_width="20dp" android:layout_height="match_parent"/> </RelativeLayout> <ImageView android:layout_width="5dp" android:layout_height="10dp" android:layout_marginLeft="20dp" android:layout_marginRight="20dp" android:src="@drawable/home_sale_arrow"/> </LinearLayout> <LinearLayout android:id="@+id/ll_content" android:layout_width="match_parent" android:layout_height="wrap_content" android:orientation="vertical"/> </merge>