Hello All, I am having one layout which is in scroll bar. The Scroll bar is not working when I am setting the activity theme as full screen mode. I don't know how to overcome this problem. Can any one help me?
this is my layout <?xml version="1.0" encoding="utf-8"?> <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/scroll_layout" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_gravity="center_horizontal" android:layout_marginBottom="5dp" android:layout_weight="1" android:background="@drawable/bg" android:gravity="center_horizontal|bottom" android:scrollbars="vertical" > <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_gravity="center" android:gravity="center" android:orientation="vertical" > <LinearLayout android:id="@+id/layout_top" android:layout_width="wrap_content" android:layout_height="wrap_content" android:orientation="vertical" > <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:orientation="horizontal" > <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/add_mood_left" android:gravity="center_horizontal|bottom" > <Button android:id="@+id/btn_left" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="5dp" android:layout_marginLeft="15dp" android:background="@drawable/btn_previous" /> </LinearLayout> <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/add_mood_circle" android:gravity="center_horizontal" > <ImageButton android:id="@+id/btn_select_mood" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center" android:background="@drawable/mood1" android:focusable="true" android:focusableInTouchMode="true" /> </LinearLayout> <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/add_mood_right" android:gravity="center_horizontal|bottom" > <Button android:id="@+id/btn_right" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="5dp" android:layout_marginRight="15dp" android:background="@drawable/btn_next" /> </LinearLayout> </LinearLayout> <LinearLayout android:id="@+id/layout_feeling" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:background="@drawable/add_mood_middle" android:gravity="center_horizontal" android:orientation="horizontal" android:paddingLeft="2dp" android:paddingTop="1dp" > <TextView android:id="@+id/txt_i_m_feeling" style="@style/i_m_feeling" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/i_m_feeling" /> <TextView android:id="@+id/txt_feeling" style="@style/feeling" android:layout_width="wrap_content" android:layout_height="wrap_content" android:text="@string/happy" > </TextView> <TextView android:id="@+id/txt_because" style="@style/i_m_feeling" android:layout_width="wrap_content" android:layout_height="wrap_content" android:ellipsize="end" android:gravity="center_horizontal" android:text="@string/because" /> </LinearLayout> </LinearLayout> <LinearLayout android:id="@+id/layout_middle" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:background="@drawable/add_mood_bottom_top" android:gravity="center_horizontal" android:orientation="vertical" > <LinearLayout android:id="@+id/layout_responsible" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_marginBottom="10dp" android:layout_marginLeft="10dp" android:layout_marginRight="10dp" android:layout_marginTop="10dp" android:gravity="center_vertical" android:orientation="vertical" > <Button android:id="@+id/btn_select_category" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="2dp" android:background="@drawable/btn_bg" android:drawableLeft="@drawable/chart_icon" android:gravity="left|center_vertical" android:padding="10dp" android:text="@string/btn_what" /> <Button android:id="@+id/btn_responsible" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="2dp" android:layout_marginTop="5dp" android:background="@drawable/btn_bg" android:drawableLeft="@drawable/user_icon" android:gravity="left|center_vertical" android:padding="10dp" android:text="@string/btn_whome" > </Button> </LinearLayout> <EditText android:id="@+id/et_reason" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginLeft="13dp" android:layout_marginRight="13dp" android:layout_marginTop="-5dp" android:gravity="top" android:hint="@string/my_daily_mood_detail" android:imeOptions="actionSend|flagNoEnterAction" android:inputType="textShortMessage|textAutoCorrect| textCapSentences|textMultiLine" android:lines="5" android:maxLines="5" > </EditText> <LinearLayout android:id="@+id/layout_bottom" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_gravity="center" android:layout_marginLeft="15dp" android:layout_marginRight="15dp" android:layout_marginTop="2dp" android:orientation="horizontal" > <Button android:id="@+id/btn_SelectPic" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_weight="1" android:background="@drawable/btn_bg" android:drawableLeft="@drawable/capture_icon" android:gravity="left|center_vertical" android:padding="10dp" android:text="@string/btn_capture" /> <Button android:id="@+id/btn_save" android:layout_width="0dp" android:layout_height="wrap_content" android:layout_marginLeft="8dp" android:layout_weight="1" android:background="@drawable/btn_bg" android:drawableLeft="@drawable/save_icon" android:gravity="left|center_vertical" android:padding="10dp" android:text="@string/btn_save" /> </LinearLayout> </LinearLayout> <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@drawable/add_mood_bottom_round" > </LinearLayout> </LinearLayout> </ScrollView> I am also having one another problem that Its not showing the full editbox while it get focus. My edittext box in in below portion of layout. I set the activity sof tinput config as adjust resize. Thanks In Advance. Regards, Bhumika Kania -- 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

