hi guys,

i have a layout like this

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

        <RelativeLayout android:orientation="vertical"
                android:layout_width="fill_parent"
android:layout_height="wrap_content">

                <TextView android:id="@+id/lbl_title"
android:layout_width="fill_parent"
                        android:layout_height="wrap_content" 
android:background="@drawable/
title_bar_bg"
                        android:gravity="center_horizontal" 
android:textSize="30px"
                        android:textColor="@drawable/Black" />
        </RelativeLayout>

        <LinearLayout android:orientation="vertical"
                android:layout_width="fill_parent" 
android:background="@drawable/
login_screen_bg"
                android:layout_height="wrap_content" android:padding="10dip">

                <TextView android:layout_width="fill_parent"
                        android:layout_height="wrap_content" 
android:id="@+id/lbl_u_name"
                        android:paddingTop="60dip" android:textSize="30px"
android:textColor="@drawable/U_NAME_LBL" />

                <EditText android:id="@+id/u_name"
android:layout_width="fill_parent"
                        android:layout_height="wrap_content" 
android:textSize="25px"
                        android:imeOptions="actionNext" />

                <TextView android:id="@+id/lbl_pwd"
android:layout_width="fill_parent"
                        android:layout_height="wrap_content" 
android:textSize="30px"
                        android:textColor="@drawable/PWD_LBL" />

                <EditText android:id="@+id/pwd" 
android:layout_width="fill_parent"
                        android:layout_height="wrap_content" 
android:paddingLeft="10dip"
                        android:password="true" android:textSize="25px"
android:imeOptions="actionSend" />

                <RelativeLayout android:orientation="vertical"
                        android:layout_width="fill_parent"
android:layout_height="wrap_content" >
                        <ImageButton android:id="@+id/btn_lgn"
                                android:layout_width="wrap_content"
android:layout_height="wrap_content"
                                android:layout_alignParentRight="true"
android:background="@drawable/login_submit_button" />
                </RelativeLayout>

                <TextView android:id="@+id/nt_registered"
                        android:layout_width="fill_parent"
android:layout_height="wrap_content"
                        android:textSize="30px" 
android:textColor="@drawable/PWD_LBL" />

                <Button android:id="@+id/registration"
android:layout_width="fill_parent"
                        android:layout_height="wrap_content" 
android:text="Register Now" />
        </LinearLayout>
</LinearLayout>

once user selects a particular Edittext the Softkey board will appear
at that time i want Application to be resize. i have add these
attribute to the Activity in the manifest

        <activity android:name=".Login"
                        android:screenOrientation="portrait"
android:windowSoftInputMode="stateVisible|adjustResize" />

but its not happening??

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