To make an application expand to fill any screen size:
1. Open AndroidManifest.xml.
2. Select the Manifest tab.
3. Select Add… then Supports Screens.
4. Set Normal screens to true, set Large screens to true, set Any
denisty to true. Leave the others blank.
This is the XML:
<supports-screens
android:largeScreens="true"
android:anyDensity="true"
android:normalScreens="true">
</supports-screens>
Cheers,
Jeff
On Dec 2, 12:03 pm, Foolx <[email protected]> wrote:
> Hi there!
>
> I just got my Android Tablet (Archos 10.1 IT) and want to programm
> some little Tools for it.
> I already started with eclipse and the first Tutorials, but i already
> found some problems i can't handle.
> Please help me!
>
> I defined a Virtual Device fitting my real Device with 10.1" 1280 x
> 720px
> but when i start the app its just a little screen in the middle of
> this Device.
> How can i change the view to being fullscreen and widescreen also, ->
> Full fill parent.
> My Main View looks like this:
>
> <?xml version="1.0" encoding="utf-8"?>
> <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/
> android"
> android:layout_width="fill_parent"
> android:layout_height="fill_parent">
> <TextView
> android:id="@+id/label"
> android:layout_width="fill_parent"
> android:layout_height="wrap_content"
> android:text="Type here:"/>
> <EditText
> android:id="@+id/entry"
> android:layout_width="fill_parent"
> android:layout_height="wrap_content"
> android:background="@android:drawable/editbox_background"
> android:layout_below="@id/label"/>
> <Button
> android:id="@+id/ok"
> android:layout_width="wrap_content"
> android:layout_height="wrap_content"
> android:layout_below="@id/entry"
> android:layout_alignParentRight="true"
> android:layout_marginLeft="10dip"
> android:text="OK" />
> <Button
> android:layout_width="wrap_content"
> android:layout_height="wrap_content"
> android:layout_toLeftOf="@id/ok"
> android:layout_alignTop="@id/ok"
> android:text="Cancel" />
> </RelativeLayout>
>
> Where is my problem, how can i change it to real 1280x720 widescreen?
>
> THANKS!!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en