linelayout兑现空位布局

linelayout实现空位布局LinearLayoutandroid:layout_widthmatch_parentandroid:layout_height@dimen

linelayout实现空位布局

 <LinearLayout     android:layout_width="match_parent"     android:layout_height="@dimen/add_city_height"    android:background="@drawable/button_bg">    <View android:layout_width="0dip"            android:layout_height="match_parent"            android:layout_weight="0.1" />    <Button android:id="@+id/btn_select_all"            android:layout_width="0dip"            android:layout_height="wrap_content"            android:layout_weight="0.35"            android:layout_gravity="center_vertical"            android:background="@drawable/menu_btn"            android:text="@string/menu_select_all" />        <View android:layout_width="0dip"            android:layout_height="match_parent"            android:layout_weight="0.1" />        <Button android:id="@+id/btn_delete"            android:layout_width="0dip"            android:layout_height="wrap_content"            android:layout_weight="0.35"android:layout_gravity="center_vertical"android:background="@drawable/menu_btn"android:text="@string/menu_delete" /><View android:layout_width="0dip"            android:layout_height="match_parent"            android:layout_weight="0.1" /></LinearLayout>    
?