我想在我的布局中插入一个新行。像在第一行,我有4个简单的TextViews 和第二行我想有按钮.. 搜索扔我有这样回答的互联网:LinearLayout样式和XML文件
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:gravity="center"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
<LinearLayout
android:orientation="vertical"
android:layout_width="wrap_content"
android:layout_height="fill_parent">
</LinearLayout>
</LinearLayout>
但是,当即时寻找在一个Desinger IM让所有的wigets在同一条线上 我的错在哪里?
没有。仍然按钮是在与textView – Hakon89
在同一行其实我不明白为什么答案不显示根线性布局。使用根线性布局的方向垂直和内线性布局添加此代码 –
尝试那里http://pastebin.ru/319682对不起,语言是鲁斯,但我不知道在美国的服务。那里你可以粘贴和编辑我们分享的文字 – Hakon89