<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <LinearLayout android:layout_width="match_parent" android:layout_height="60dp" android:background="#66CCff"> <ImageView android:id="@+id/iv_back" android:layout_width="50dp" android:layout_height="match_parent" android:padding="10dp" android:src="@drawable/ic_arrow_back_black_24dp"/> <TextView android:layout_width="0dp" android:layout_weight="1" android:gravity="center" android:text="频道管理" android:textColor="#ffffff" android:textAppearance="@style/TextAppearance.AppCompat.Title" android:layout_height="match_parent" /> <TextView android:id="@+id/edit" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginRight="10dp" android:textColor="#fff" android:text="编辑"/> </LinearLayout> <com.bawei.channelmanager.ui.ChannelView android:layout_width="match_parent" android:layout_height="match_parent" android:id="@+id/channe_view" ></com.bawei.channelmanager.ui.ChannelView> </LinearLayout>