I have got horizontal oriented view and i want to show vertical oriented pop up view on it. Even i set vertical orientation on my pop up layer view it looks horizontal.
My pop Up view xml is :
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:weightSum="1" android:orientation="vertical"
android:layout_width="wrap_content" android:layout_height="fill_parent">
<LinearLayout android:id="@+id/linearLayout1" android:layout_height="wrap_content" android:layout_weight="0.35" android:layout_width="321dp">
<Button android:text="Button" android:id="@+id/button1" android:layout_height="wrap_content" android:layout_width="fill_parent"></Button>
</LinearLayout>
</LinearLayout>
And on my manifest file xml:
<activity android:name="PopUpLayer" android:label="@string/app_name"
android:theme="@android:style/Theme.Dialog" >
Thanks for any help.
I don’t think that you can have landscape view and portrait popup at the same time if that’s what you mean.