Hi,

Is there any way to change orientation for only some part my screen
(Framelayout) within my activity whenever there is a configuration
change.

Here is My activity defination in Manifest File
<activity android:name=".TestActivity"
                  android:label="@string/app_name"
                  android:screenOrientation="portrait"
                  android:configChanges="orientation|keyboardHidden"
                  >


Here is my XML layout for TestActivity

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/
android"
    android:orientation="horizontal"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="fill_parent"
            android:text="@string/hello"
    />
     <com.xyz.test.TestUi
     android:id="@+id/testUi"
     android:layout_width="fill_parent"
     android:layout_height="wrap_content"
     />
</LinearLayout>

Here i want to apply orientation only for my "com.xyz.test.TestUi".

Regards,
Anzi




-- 
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

Reply via email to