eclipse中怎样将两种界面布局结合在一起 使两个界面结合在一起 比如RelativeLayout TableLayout
答案:1 悬赏:30
解决时间 2021-02-20 12:49
- 提问者网友:轮囘Li巡影
- 2021-02-20 03:18
eclipse中怎样将两种界面布局结合在一起 使两个界面结合在一起 比如RelativeLayout TableLayout
最佳答案
- 二级知识专家网友:撞了怀
- 2021-02-20 03:30
可以内嵌啊!
比如:
android:layout_width="match_parent"
android:layout_height="match_parent" >
android:layout_width="match_parent"
android:layout_height="20dp"
android:layout_centerInParent="true" >
android:id="@+id/test"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="测试" />
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_below="@+id/test"
android:orientation="horizontal">
比如:
android:layout_height="match_parent" >
android:layout_height="20dp"
android:layout_centerInParent="true" >
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="测试" />
android:layout_height="match_parent"
android:layout_below="@+id/test"
android:orientation="horizontal">
我要举报
如以上问答内容为低俗、色情、不良、暴力、侵权、涉及违法等信息,可以点下面链接进行举报!
大家都在看
推荐资讯