什么是你好的应用程序,只需用一些其他的文本不能填满整个屏幕的问题吗?
的TextView控件的属性都是FILL_PARENT ...
如何使用平板电脑的整个屏幕为我的应用>?
main.xml中
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<TextView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:text="just small area"
/>
</LinearLayout>
请显示您的xml .. – vsvydenko
我不认为这是xml问题...但在我的编辑中看到,我发布了main.xml – Lukap
fill_parent已被弃用。从API级别8开始,您应该使用match_parent – Merlin