sky_flying對滴
2015-10-26 06:42安卓新手页面画不出来,求大神指教
我想知道安卓有没有像java中的div一样的东西
我在画页面,用的表格布局,有一列要放两个按钮,可是不知道怎么弄,
因为是新手,也不太懂,我画出来的样子:
可是我需要的是这个样子:
只要把那两个按钮放一起就可以了。
那一行我的代码:
android:id="@+id/send_notice_content"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="#CDCDCD"
android:stretchColumns="1" >
<TextView
android:id="@+id/notice_type"
android:gravity="right"
android:padding="5dip"
android:text="通知类型:" />
<Button
android:id="@+id/meeting_notice"
android:layout_height="match_parent"
android:background="@drawable/boder"
android:text="会议通知"
android:textSize="15dip" />
<Button
android:id="@+id/leave_notice"
android:layout_height="match_parent"
android:background="@drawable/boder"
android:text="放假通知"
android:textSize="15dip" />
</TableRow>
</TableLayout>
现在只是要画出页面。
- 点赞
- 回答
- 收藏
- 复制链接分享
4条回答
为你推荐
- android studio出现的错误
- android
- 2个回答
- android studio运行报错 ?
- 求大神解答一下
- android
- java
- 新手
- 萌新求帮助
- 2个回答
- 各位大神,安卓新手求指教,菜单图片的拖拽换位
- 1个回答
- 关于sqlite一个数据库创建多张表的问题 求大神指教!
- 数据库
- sqlite
- 1个回答
- BLE4.0蓝牙透传问题 CC2540模块
- ble
- android
- 手机
- 数据
- 蓝牙
- 2个回答
换一换