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 5948469
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T17:06:43+00:00 2026-05-22T17:06:43+00:00

I am trying to make an application where content inside a Layout is dense.

  • 0

I am trying to make an application where content inside a Layout is dense. However I want functionality which will keep showing my focused EditText on top half of the screen while soft keyboard pops up…

So far my research says I have to use…

   <activity android:windowSoftInputMode="adjustUnspecified" android:name=".main">
        <intent-filter>
            <action android:name="com.last.project.main" />
            <category android:name="android.intent.category.DEFAULT" />
        </intent-filter>
    </activity>

I have been told that (this) android:windowSoftInputMode=”adjustUnspecified” line of Manifest.xml will solve my problem, However it doesn’t seems to be working.
(I have been told means …. from this link I read http://developer.android.com/guide/topics/manifest/activity-element.html#wsoft )

Just need to know why it is not working…Are there any other reasons which may affect my manifest XML to just ignore what I have wrote?

Do let me know if any other codes needed

Thanks heaps,

Krio

My layout XML is…

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout android:layout_height="wrap_content" 
    android:id="@+id/linearLayout1" 
    android:layout_width="match_parent">
    <ImageView android:src="@drawable/header" 
        android:layout_height="wrap_content" 
        android:id="@+id/imageView1" 
        android:layout_width="match_parent" >
    </ImageView>
</LinearLayout>
<LinearLayout android:layout_height="wrap_content" 
    android:id="@+id/linearLayout2" 
    android:layout_width="match_parent" 
    android:baselineAligned="false" 
    android:layout_gravity="fill">
        <Button android:layout_height="wrap_content" 
            android:text="English" android:id="@+id/button1" 
            android:onClick="languageSelectionButtonFrom" 
            android:layout_width="wrap_content" 
            android:layout_weight="2">
        </Button>
        <ImageButton android:layout_height="wrap_content" 
            android:src="@drawable/arrow" 
            android:id="@+id/imageButton1" 
            android:layout_width="wrap_content">
        </ImageButton>
        <Button android:text="English" 
            android:onClick="languageSelectionButtonTo" 
            android:id="@+id/button3" 
            android:layout_gravity="right" 
            android:layout_width="wrap_content" 
            android:layout_height="wrap_content" 
            android:layout_weight="2">
        </Button>
</LinearLayout>
<TableLayout android:id="@+id/tableLayout1" 
    android:layout_width="match_parent" 
    android:layout_height="match_parent">
        <EditText android:hint="Text to translate..."  
            android:layout_width="wrap_content" 
            android:id="@+id/editText1" 
            android:layout_height="wrap_content">
        </EditText>
        <Button android:text="Translate" 
            android:id="@+id/button4" 
            android:layout_width="wrap_content" 
            android:layout_height="wrap_content" 
            android:onClick="translationButtonClickHandler" >
        </Button>
        <TextView android:text="Translation :" 
            android:textSize="15sp" 
            android:id="@+id/textView1" 
            android:layout_width="wrap_content" 
            android:layout_height="wrap_content">
        </TextView>
        <EditText android:text="" 
            android:layout_width="wrap_content" 
            android:id="@+id/editText2" 
            android:scrollbars="vertical" 
            android:layout_weight="4" 
            android:gravity="top"  
            android:layout_height="match_parent">
        </EditText>
     </TableLayout>
</LinearLayout>
  • 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-05-22T17:06:44+00:00Added an answer on May 22, 2026 at 5:06 pm

    Problem has been solved Thank you for people who have attempted to brain strom…

    answer is…We must put all layout content inside a scroll view to get this thing work!

    So, In my case

    <?xml version="1.0" encoding="utf-8"?>
    <ScrollView xmlns:android="http://schemas.android.com/apk/res/android" 
    android:layout_width="match_parent" 
    android:layout_height="match_parent"
    android:fillViewport="true">
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical" android:layout_width="match_parent"
    android:layout_height="match_parent">
    ....(All other content omitted for whole file reference same xml text inside question)
    </LinearLayout>
    </ScrollView>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm trying to make an application in which both the developer and the end
Recently I was trying to make a calendar application that will display the current
I am trying to make a WPF Application containing a treeview, whose data will
I'm trying to make simple use of the NSNotification center inside my iPhone application,
I'm trying to make an experimental web application which minimises redundant data. I have
hi i am trying to make an application which can submit a comment to
I'm trying to develop an application server that will deliver content to a core
I am trying to make a application where a dialog will come from where
I'm trying to make an application that keeps an object model in sync with
I am trying to make an application for drawing shapes on screen by touching

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.