Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8020671
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T21:45:08+00:00 2026-06-04T21:45:08+00:00

My layout is getting messed up when the keyboard is shown. Here is my

  • 0

My layout is getting messed up when the keyboard is shown.
enter image description here

Here is my android manifest:

<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="org.BJ.Food4All"
      android:versionCode="1"
      android:versionName="1.0">
    <uses-sdk android:minSdkVersion="8" />

    <application
        android:name="CookTales"
        android:icon="@drawable/application_icon"
        android:label="@string/app_name" >
        <activity
            android:screenOrientation="portrait"
            android:name=".MyFood4AllActivity"
            android:label="@string/app_name" 
            android:theme="@android:style/Theme.NoTitleBar" >
            <intent-filter>
                <action android:name="android.intent.action.MAIN" />
                <category android:name="android.intent.category.LAUNCHER" />
            </intent-filter>
        </activity>

        <activity android:name=".Activities.Mailbox.MailboxActivity"
            android:screenOrientation="portrait"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>

        <activity android:name=".Activities.About.AboutDialog"
            android:screenOrientation="portrait"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>

        <activity android:name=".Activities.Settings.SettingsActivity"
            android:screenOrientation="portrait"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>

        <activity android:name="org.BJ.Food4All.Share_Facebook" />

        <activity android:name=".NewRecipeActivity" 
            android:screenOrientation="portrait"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>

        <activity android:name=".Activities.RecipeBook.RecipeBookTabHostActivity" 
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Light.NoFrame"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:label="@string/searchRecipe_title" >
        </activity>

        <activity android:name=".Activities.NewRecipe.Ingredients" 
            android:screenOrientation="portrait"
            android:label="@string/ingredients_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>

        <activity android:name=".Activities.NewRecipe.Instructions" 
            android:screenOrientation="portrait"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>

        <activity android:name=".Activities.NewRecipe.NewRecipeTabHost" 
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Light.NoFrame"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:label="@string/newRecipeTabWidget_title" >
        </activity>

        <activity android:name=".Activities.NewRecipe.General" 
            android:screenOrientation="portrait"
            android:label="@string/newRecipeTabWidget_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>

        <activity android:name=".Activities.RecipeBook.MyBookTab" 
            android:screenOrientation="portrait"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@style/Theme.Light.NoFrame" >
        </activity>

        <activity android:name=".Activities.RecipeBook.RecipeBookViewGroup"
            android:screenOrientation="portrait"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>

        <activity android:name=".Activities.RecipeBook.FavouritesTab"
            android:screenOrientation="portrait"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>

        <activity android:name=".Activities.RecipeBook.GlobalBookTab" 
            android:screenOrientation="portrait"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>

        <activity android:name=".Activities.RecipeBook.ShowRecipeTabHost" 
            android:screenOrientation="portrait"
            android:theme="@style/Theme.Light.NoFrame"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:label="@string/instructions_title" >
            <intent-filter>
                <action android:name="org.BJ.Food4All.myApp.NotifyLikeChanged" />
            </intent-filter>   
        </activity>

        <activity android:name=".Activities.RecipeBook.RecipeGlobalInfoTab" 
            android:screenOrientation="portrait"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
            <intent-filter>
                <action android:name="org.BJ.Food4All.myApp.NotifyLikeChanged" />
            </intent-filter>   

        </activity>

        <activity android:name=".Activities.RecipeBook.RecipeInstructionsTab" 
            android:screenOrientation="portrait"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>

        <activity android:name=".Activities.RecipeBook.RecipeIngredientsTab" 
            android:screenOrientation="portrait"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>

        <activity android:name=".Activities.RecipeBook.RecipeInfoTab" 
            android:screenOrientation="portrait"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>

        <activity android:name=".Activities.RecipeBook.RateRecipeActivity" 
            android:screenOrientation="portrait"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>

        <activity android:name=".Activities.RecipeBook.WriteReviewActivity" 
            android:screenOrientation="portrait"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>

        <activity android:name=".Activities.RecipeBook.UserInfoActivity" 
            android:screenOrientation="portrait"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
            <intent-filter>
                <action android:name="org.BJ.Food4All.myApp.NotifyUserWasUnfriend" />
            </intent-filter>   
        </activity>

        <activity android:name=".Activities.RecipeBook.GlobalBookCategories" 
            android:screenOrientation="portrait"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>

        <activity android:name=".Activities.NewRecipe.SnapShot"
            android:screenOrientation="portrait"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>

        <activity
            android:screenOrientation="portrait"
            android:name=".Activities.About.AboutActivity"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:label="@string/about_title" >
        </activity>
        <activity android:name="org.BJ.Food4All.Share_Facebook"/>

        <activity
            android:screenOrientation="portrait"
            android:name=".NewRecipeActivity"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:label="@string/newRecipe_title" >
        </activity>
        <activity
            android:screenOrientation="portrait"
            android:name=".Activities.RecipeBook.RecipeBookTabHostActivity"
            android:label="@string/searchRecipe_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@style/Theme.Light.NoFrame" >
        </activity>
        <activity
            android:screenOrientation="portrait"
            android:name=".Activities.NewRecipe.Ingredients"
            android:label="@string/ingredients_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>
        <activity
            android:screenOrientation="portrait"
            android:name=".Activities.NewRecipe.Instructions"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>
        <activity
            android:screenOrientation="portrait"
            android:name=".Activities.NewRecipe.NewRecipeTabHost"
            android:label="@string/newRecipeTabWidget_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@style/Theme.Light.NoFrame" >
        </activity>
        <activity
            android:screenOrientation="portrait"
            android:name=".Activities.NewRecipe.General"
            android:label="@string/newRecipeTabWidget_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>
        <activity
            android:screenOrientation="portrait"
            android:name=".Activities.RecipeBook.MyBookTab"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@style/Theme.Light.NoFrame" >
        </activity>
        <activity
            android:screenOrientation="portrait"
            android:name=".Activities.RecipeBook.RecipeBookViewGroup"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>
        <activity
            android:screenOrientation="portrait"
            android:name=".Activities.RecipeBook.FavouritesTab"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>
        <activity
            android:screenOrientation="portrait"
            android:name=".Activities.RecipeBook.GlobalBookTab"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>
        <activity
            android:screenOrientation="portrait"
            android:name=".Activities.RecipeBook.ShowRecipeTabHost"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@style/Theme.Light.NoFrame" >
        </activity>
        <activity
            android:screenOrientation="portrait"
            android:name=".Activities.RecipeBook.RecipeGlobalInfoTab"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>
        <activity
            android:screenOrientation="portrait"
            android:name=".Activities.RecipeBook.RecipeInstructionsTab"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>
        <activity
            android:screenOrientation="portrait"
            android:name=".Activities.RecipeBook.RecipeIngredientsTab"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>
        <activity
            android:screenOrientation="portrait"
            android:name=".Activities.RecipeBook.RecipeInfoTab"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>
        <activity
            android:screenOrientation="portrait"
            android:name=".Activities.RecipeBook.RateRecipeActivity"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>
        <activity
            android:screenOrientation="portrait"
            android:name=".Activities.RecipeBook.WriteReviewActivity"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>
        <activity
            android:screenOrientation="portrait"
            android:name=".Activities.RecipeBook.UserInfoActivity"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>
        <activity
            android:screenOrientation="portrait"
            android:name=".Activities.RecipeBook.GlobalBookCategories"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>
        <activity
            android:screenOrientation="portrait"
            android:name=".Activities.NewRecipe.SnapShot"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>
        <activity
            android:screenOrientation="portrait"
            android:name=".Activities.Signup.LoginActivity"
            android:label="@string/instructions_title"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>

        <activity
            android:screenOrientation="portrait"
            android:name=".Activities.Friends.FriendsActivity"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>

        <activity
            android:screenOrientation="portrait"
            android:name=".Activities.Top10.Top10Activity"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>

        <activity
            android:screenOrientation="portrait"
            android:name=".Activities.RecipeBook.AllReviewsActivity"
            android:configChanges="keyboard|keyboardHidden|orientation"
            android:theme="@android:style/Theme.NoTitleBar" >
        </activity>

        <activity 
            android:screenOrientation="portrait"
            android:name="com.paypal.android.MEP.PayPalActivity"
            android:theme="@android:style/Theme.Translucent.NoTitleBar"
            android:configChanges="keyboardHidden|orientation" />

    </application>

    <uses-permission android:name="android.permission.INTERNET" />
    <uses-permission android:name="android.permission.CAMERA" />
    <uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
    <uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
    <uses-permission android:name="android.permission.ACCESS_FINE_LOCATION" />
    <uses-permission android:name="android.permission.READ_PHONE_STATE"/>

    <supports-screens 
        android:smallScreens="false" 
        android:largeScreens="true"
        android:normalScreens="true" 
        android:anyDensity="true" />

</manifest>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T21:45:10+00:00Added an answer on June 4, 2026 at 9:45 pm

    add this to your activity in your manifest:

    <activity android:windowSoftInputMode="adjustPan|stateHidden" />
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Here's my layout, I'm getting this message for the 2 buttons in the bottom,
I'm new to Tkinter and I have some problems getting the desired layout. Here's
I'm having issues getting the customer.xml layout file to work properly for the customer's
I've been getting occasional exception reports from my users when inflating a layout: android.view.InflateException:
I'm trying to replicate this layout with HTML/CSS: http://reformrevolution.com/ I think I'm getting close
I am getting stuck with making android screen layout same like i have in
Please see designer's picture: Now see what I'm getting: Here is my layout: <LinearLayout
Getting some object from the layout file (say, test.xml) requiring setting this layout in
I am getting a No XML content. Please add a root view or layout
I m getting error at setcontentview, its not taking layout main.Resource file is doesn't

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.