The screen gets jumbled when the keypad opens in android

deep

In emulator screen not jumped , But when i rum application on mobile phone the screen Jumped

enter image description here

Here My xml file code

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:ads="http://schemas.android.com/apk/lib/com.google.ads"
android:id="@+id/relativeLayout1"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/main_bg" >

<!-- Logo -->

<RelativeLayout
 android:id="@+id/main_tabBar"
 android:layout_width="fill_parent"
 android:layout_height="40dip"

 android:layout_alignParentTop="true"
  >
</RelativeLayout>

<RelativeLayout
android:id="@+id/relativeLayout2"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="2dip"
android:layout_marginRight="2dip"
android:layout_marginTop="100dip" >

 <!-- JOB DESCRIPTION -->

 <TextView
    android:id="@+id/txt_JOB_DESCRIPTION"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginLeft="20dip"
    android:layout_marginTop="20dip"
    android:text="@string/job_desc"
    android:textColor="#000000"
    android:textSize="14dip"
    android:textStyle="bold" >
   </TextView>

  <EditText
     android:id="@+id/edit_JOB_DESCRIPTION11"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:layout_marginRight="20dip"
    android:layout_marginTop="10dip"
    android:layout_toRightOf="@+id/txt_JOB_DESCRIPTION"
    android:background="@android:drawable/editbox_background"
    android:maxLines="1"
    android:singleLine="true" >
  </EditText>

  <TextView
    android:id="@+id/txt_JDESCRIPTION"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_below="@+id/edit_JOB_DESCRIPTION11"
    android:layout_centerInParent="true"
    android:layout_marginLeft="45dip"
    android:text="@string/job_title"
    android:textColor="#4a596e"
    android:textSize="12dip" >
  </TextView>
  <!--  -->


   <!-- LOCATION -->

   <TextView
    android:id="@+id/txt_JOB_LOCATION"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_below="@+id/txt_JDESCRIPTION"
    android:layout_marginLeft="20dip"
    android:layout_marginTop="40dip"
    android:layout_toLeftOf="@+id/btn_SEARCH"
    android:text="@string/location"
    android:textColor="#000000"
    android:textSize="15dip"
    android:textStyle="bold" >
    </TextView>

    <EditText
    android:id="@+id/edit_JOB_LOCATION1"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:layout_alignLeft="@+id/edit_JOB_DESCRIPTION11"
    android:layout_below="@+id/txt_JDESCRIPTION"
    android:layout_marginRight="20dip"
    android:layout_marginTop="30dip"
    android:background="@android:drawable/editbox_background"
    android:maxLines="1"
    android:singleLine="true" >
    </EditText>

   <TextView

    android:id="@+id/txt_JLOCATION"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_below="@+id/edit_JOB_LOCATION1"
    android:layout_centerInParent="true"
    android:layout_marginLeft="45dip"
    android:text="@string/city_state"
    android:textColor="#4a596e"
    android:textSize="12dip" >
  </TextView>
   <!--  -->


   <!-- JOB ID -->
   <!--  -->


   <!-- SEARCH BUTTON -->

    <Button
    android:id="@+id/btn_search1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_below="@+id/txt_JLOCATION"
    android:layout_centerInParent="true"
    android:layout_marginTop="15dip"
    android:background="@drawable/draw"
    android:text="@string/search" >
   </Button>
  <!--  -->



   </RelativeLayout>

 <LinearLayout
 android:layout_width="fill_parent"
 android:layout_height="wrap_content"
 android:layout_marginBottom="5dip"
 android:gravity="center"

 android:layout_above="@+id/adView"
 android:orientation="horizontal"
 android:weightSum="10"
 android:id="@+id/btnParent" >

  <Button
    android:id="@+id/btn_Login1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_margin="5dp"
    android:layout_marginBottom="5dp"
    android:background="@drawable/draw"
    android:gravity="center"
    android:text="@string/login" />

   <Button
    android:id="@+id/btn_register"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_margin="5dp"
    android:layout_marginBottom="5dp"
    android:background="@drawable/draw"
    android:gravity="center"
    android:text="@string/register" />
  <!-- 
   <Button
    android:id="@+id/btn_lostlogin"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_margin="5dp"
    android:layout_marginBottom="20dp"
    android:background="@drawable/draw"
    android:gravity="center"
    android:text="Lost Login" />

     -->
  </LinearLayout>

  <TextView
 android:id="@+id/textView2"
 style="flat_detail_name"
 android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_above="@+id/btnParent"
android:layout_centerHorizontal="true"
android:capitalize="characters"
 android:gravity="center_horizontal"
 android:text="Login or register"
  android:textColor="#000000" />

 <TextView
 android:id="@+id/textView1"
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 android:layout_below="@+id/main_tabBar"
 android:layout_centerHorizontal="true"
 android:layout_marginTop="30dp"
 android:text="@string/get_started_with"
 android:textColor="#000000"
 android:textSize="14dip"    
 android:textStyle="bold" />



 <com.google.ads.AdView android:id="@+id/adView"
                     android:layout_width="fill_parent"
                     android:layout_height="wrap_content"
                   android:layout_alignParentBottom="true"
                     ads:adUnitId="ca-app-pub-2584288851778590/4570818460"
                     ads:adSize="BANNER"
                     ads:loadAdOnCreate="true"
                     ads:testDevices="TEST_EMULATOR, TEST_DEVICE_ID"/>
 </RelativeLayout>

In Emulator when i click on EditText then screen not jumped and in mobile phone button and text view jumped and overlap.

Please suggest me how i can fix this problem

Thanks In Advance

Ando Masahashi

hi deep please follow below step

1) select Activity

2) then select window soft mode from right side pleas scroll it.

3) then select adjustNothing

then you got result

enter image description here

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Android Studio: New activity opens as blank screen

From Dev

Android app gets killed when gallery is opened

From Dev

How to detect when the Windows start menu / start screen opens?

From Dev

Sprite-Kit Change Image of Node when screen gets touched

From Dev

Is there a keypad widget for Android?

From Dev

TimerTask pauses when screen gets locked

From Dev

Automatically reopen an Android application when it gets closed

From Dev

When using gets to get a file name in C, the file opens but when using fgets it does not

From Dev

Android: copy/paste bar gets pushed out of screen by soft keyboard

From Dev

paintComponent() gets called only when Minimizing-Maximizing Screen

From Dev

Android: Detect when soft keyboard gets enabled

From Dev

Add class on html element when it gets visible on screen

From Dev

Android studio gets stuck when updating SDK

From Dev

PowerShell Opens Off Screen

From Dev

Responsive timelines pointers are moving when the screen gets wider

From Dev

pref screen opens multiple times android

From Dev

how to open iPhone call screen keypad with number, when click on the button in iOS?

From Dev

Android keypad view is in front of the EditText when touched to edit

From Dev

android custom Listview items are jumbled

From Dev

GNOME Boxes: VM gets paused when going back to home screen

From Dev

Android imageView gets out of screen boundries

From Dev

Can't hide navigation when screen gets smaller

From Dev

PowerShell Opens Off Screen

From Dev

Drive window around screen with keypad

From Dev

Automate with watir on-screen keypad login

From Dev

Ubuntu gets frozen when turn on second screen

From Dev

boostrap sidebar button gets invisible when screen is resized

From Dev

When the splash screen of my Android application opens the application crashes

From Dev

Make boxes stack when the screen gets to small (CSS/HTML)

Related Related

  1. 1

    Android Studio: New activity opens as blank screen

  2. 2

    Android app gets killed when gallery is opened

  3. 3

    How to detect when the Windows start menu / start screen opens?

  4. 4

    Sprite-Kit Change Image of Node when screen gets touched

  5. 5

    Is there a keypad widget for Android?

  6. 6

    TimerTask pauses when screen gets locked

  7. 7

    Automatically reopen an Android application when it gets closed

  8. 8

    When using gets to get a file name in C, the file opens but when using fgets it does not

  9. 9

    Android: copy/paste bar gets pushed out of screen by soft keyboard

  10. 10

    paintComponent() gets called only when Minimizing-Maximizing Screen

  11. 11

    Android: Detect when soft keyboard gets enabled

  12. 12

    Add class on html element when it gets visible on screen

  13. 13

    Android studio gets stuck when updating SDK

  14. 14

    PowerShell Opens Off Screen

  15. 15

    Responsive timelines pointers are moving when the screen gets wider

  16. 16

    pref screen opens multiple times android

  17. 17

    how to open iPhone call screen keypad with number, when click on the button in iOS?

  18. 18

    Android keypad view is in front of the EditText when touched to edit

  19. 19

    android custom Listview items are jumbled

  20. 20

    GNOME Boxes: VM gets paused when going back to home screen

  21. 21

    Android imageView gets out of screen boundries

  22. 22

    Can't hide navigation when screen gets smaller

  23. 23

    PowerShell Opens Off Screen

  24. 24

    Drive window around screen with keypad

  25. 25

    Automate with watir on-screen keypad login

  26. 26

    Ubuntu gets frozen when turn on second screen

  27. 27

    boostrap sidebar button gets invisible when screen is resized

  28. 28

    When the splash screen of my Android application opens the application crashes

  29. 29

    Make boxes stack when the screen gets to small (CSS/HTML)

HotTag

Archive