android - ScrollView in Fullscreen -



android - ScrollView in Fullscreen -

i have develope app in fullscreen mode , have formular textedits , buttons. if keyboard pops hides 2 buttons set scrollview:

<scrollview xmlns:android="http://schemas.android.com/apk/res/android" xmlns:tools="http://schemas.android.com/tools" android:layout_width="fill_parent" android:layout_height="fill_parent" android:padding="10dip" tools:context="controller.regsiteractivity" > <linearlayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="vertical" > <textview android:id="@+id/register_textview_firstname" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginbottom="5dip" android:singleline="true" android:text="@string/text_firstname" /> <edittext android:id="@+id/register_textedit_firstname" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginbottom="10dip" android:inputtype="text" /> <textview android:id="@+id/register_textview_lastname" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginbottom="5dip" android:singleline="true" android:text="@string/text_lastname" /> <edittext android:id="@+id/register_textedit_lastname" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginbottom="10dip" android:inputtype="text" /> <textview android:id="@+id/register_textview_email" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginbottom="5dip" android:singleline="true" android:text="@string/text_email" /> <edittext android:id="@+id/register_textedit_email" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginbottom="10dip" android:inputtype="textemailaddress" /> <textview android:id="@+id/register_text_password" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginbottom="5dip" android:singleline="true" android:text="@string/text_password" /> <edittext android:id="@+id/register_textedit_password" android:layout_width="fill_parent" android:layout_height="wrap_content" android:layout_marginbottom="10dip" android:inputtype="text" /> <button android:id="@+id/register_button_register" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/button_register" /> <button android:id="@+id/register_button_cancel" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/button_cancel" /> </linearlayout> </scrollview>

as said have run app in fullscreen:

<application android:allowbackup="true" android:icon="@drawable/ic_launcher" android:label="@string/app_name" android:theme="@android:style/theme.notitlebar.fullscreen" >

but when run app no scrollview appears , no scrolling working.

how can create scrollview work?

there no need set scrollview reason if positioning okay before appearance of keyboard. have avoid scrolling issues keyboard set in manifest file, within specific activity declaration next :

android:windowsoftinputmode="adjustpan"

android android-scrollview

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

ubuntu - Bash Script to Check That Files Are Being Created -