Reputation: 31963
What is the problem that Hello app, just with some other text doesn't fill the whole screen ?
The properties of textview widget are both fill_parent...
How can I use the entire screen of the tablet for my application >?
the 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>
Upvotes: 0
Views: 1166
Reputation: 2409
Some times Android has difficulties to choose the specific graphics to use. I have the same problem and i solved it by using special drawable directory - drawable-hdpi-1200x650.
Upvotes: 0
Reputation: 41076
Add this to AndroidManifest file.
<supports-screens android:smallScreens="true" android:normalScreens="true" android:largeScreens="true" android:anyDensity="true" />
Upvotes: 2