android ImageButton 左中右分段排列
16lz
2021-01-23
<?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教程
更多相关文章
- 实例教程四:采用Pull解析器解析和生成XML内容
- Android游戏开发系列教程第五讲(后台服务)
- 最新的免费android教程,助你深入浅出的轻松学习android基础
- IBM谷歌等工程师撰写Android开发教程合集
- Android AutoCompleteTextView示例教程
- android jni系列教程
- Android视频教程
- Android studio使用教程