This is my xml layout for the log in page
<?xml version="1.0" encoding="utf-8"?>
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:fillViewport="true">
<LinearLayout
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:paddingBottom="@dimen/activity_vertical_margin"
>
<!-- Logo -->
<TextView android:id="@+id/headText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="60dip"
android:textSize="45sp"
android:fontFamily="sans-serif"
android:textColor="#FFFFFF"
android:textStyle="bold"
android:layout_gravity="center"
android:gravity="center"
android:text="@string/logo"
/>
<!-- Email TextField -->
<EditText android:id="@+id/loginEmail"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="text"
android:hint="@string/username_text"
android:fontFamily="sans-serif"
android:textSize="15sp"
android:layout_marginTop="100dip"
android:layout_marginLeft="20dip"
android:layout_marginRight="20dip"
/>
<!-- Password TextField -->
<EditText android:id="@+id/loginPassword"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:inputType="textPassword"
android:hint="@string/password_text"
android:textSize="15sp"
android:fontFamily="sans-serif"
android:layout_marginTop="20dip"
android:layout_marginLeft="20dip"
android:layout_marginRight="20dip"
/>
<!-- Error message -->
<TextView android:id="@+id/login_error"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textColor="#e30000"
android:padding="10dip"
android:textStyle="bold"
android:layout_gravity="center"
android:gravity="center"/>
<!-- Login Button -->
<Button android:id="@+id/btnLogin"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="20sp"
android:textColor="#FFFFFF"
android:textStyle="bold"
android:paddingTop="10dip"
android:paddingBottom="10dip"
android:background="@drawable/login_button_corners"
android:fontFamily="sans-serif"
android:layout_marginTop="20dip"
android:layout_marginLeft="80dip"
android:layout_marginRight="80dip"
android:text="@string/login_button"
/>
<!-- Link to Registration Screen -->
<Button android:id="@+id/btnLinkToRegisterScreen"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:textSize="20sp"
android:textColor="#FFFFFF"
android:textStyle="bold"
android:paddingTop="10dip"
android:paddingBottom="10dip"
android:background="@drawable/signup_button_corners"
android:fontFamily="sans-serif"
android:layout_marginTop="40dip"
android:layout_marginLeft="80dip"
android:layout_marginRight="80dip"
android:text="@string/signup_button"
/>
</LinearLayout>
</ScrollView>
I have this in the manifest file
<activity
android:name=".LoginActivity"
android:theme="@android:style/Theme.Black.NoTitleBar.Fullscreen"
android:windowSoftInputMode="adjustPan|adjustResize"></activity>
but the screen does not scroll when the keyboard comes up, why is this?