<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" > <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="BtnA" > </Button> <RelativeLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_weight="1" android:orientation="horizontal" > <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerInParent="true" android:text="BtnB" > </Button> </RelativeLayout> <Button android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="BtnC" > </Button> </LinearLayout>
android ImageButton 左中右分段排列
猜你喜欢
转载自dasheny.iteye.com/blog/2175866
今日推荐
周排行