Thursday, February 3, 2011

[android-developers] Re: “Split View” app on Android

I suggest you read about Fragments in the latest SDK documentation.

On Feb 2, 7:00 am, siva <siva...@gmail.com> wrote:
> Hi Guys, I am new to Android development. I like to develop
> application in "split view"(ipad has inbuilt framework). I did sample
> for "WVGA800" landscape mode, but for multiple screen not able to fix
> it. sample code:
>
> <?xml version="1.0" encoding="utf-8"?>
> <RelativeLayout
> android:id="@+id/widget30"
> android:layout_width="fill_parent"
> android:layout_height="fill_parent"
> xmlns:android="http://schemas.android.com/apk/res/android"
>
> <LinearLayout
> android:id="@+id/widget32"
> android:layout_width="395dp"
> android:layout_height="fill_parent"
> android:background="#ff99ff99"
> android:orientation="vertical"
> android:layout_alignBottom="@+id/widget31"
> android:layout_toRightOf="@+id/widget31"
>
> </LinearLayout>
> <LinearLayout
> android:id="@+id/widget31"
> android:layout_width="166dp"
> android:layout_height="fill_parent"
> android:background="#ff9999ff"
> android:orientation="vertical"
> android:layout_alignParentTop="true"
> android:layout_alignParentLeft="true"
>
> </LinearLayout>
> </RelativeLayout>
>
> The above one is sample layout. can any one suggest me how to fix
> "split view" for multiple screens.

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

No comments:

Post a Comment