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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:51:32+00:00 2026-05-26T23:51:32+00:00

In Android, I have a Parent RelativeLayout . Inside that I have, a ScrollView

  • 0

In Android, I have a Parent RelativeLayout.
Inside that I have, a ScrollView –> TableLayout

The TableLayout contains around 25 Form items (TextView : EditText) combination.

The issue here is, whenever the EditText is selected, the SoftInput keyboard hides the EditText and hence the user cannot view where he is typing the text.

Sample Layout file.

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
 android:layout_width="wrap_content"
 android:layout_height="match_parent"
 android:background="#FFFFFF"
 android:gravity="fill"
 android:orientation="vertical" >

<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
 android:id="@+id/retailinfoscroller"
 android:layout_width="wrap_content"
 android:layout_height="wrap_content"
 android:layout_below="@+id/logininputtime"
 android:layout_marginTop="10dip"
 android:scrollbars="vertical" >

<TableLayout
 android:id="@+id/newstoreregtable"
 android:layout_width="fill_parent"
 android:layout_height="fill_parent"
 android:fadeScrollbars="true"
 android:stretchColumns="1" >

 <TableRow >

 <TextView
 android:layout_width="120dip"
 android:layout_gravity="center_vertical"
 android:layout_marginBottom="5dip"
 android:layout_marginLeft="10dip"
 android:layout_marginTop="5dip"
 android:gravity="right"
 android:text="@string/strretailerid"
 android:textColor="#000000"
 android:textSize="16dip" />

 <EditText
 android:id="@+id/editretailerid"
 android:layout_width="120dip"
 android:layout_height="45dip"
 android:layout_marginLeft="5dip"
 android:layout_marginRight="5dip"
 android:layout_marginTop="5dip"
 android:layout_weight="0.6"
 android:background="@drawable/edittextsample"
 android:clickable="false"
 android:cursorVisible="false"
 android:editable="false"
 android:singleLine="true" >
 </EditText>
 </TableRow>

 <TableRow></TableRow>
 </TableLayout>
 </ScrollView>
 </RelativeLayout>

Basically I just want to have my EditText visible whenever user wants to type in.

I have gone through the forum, but cannot find the fix.

  • 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-26T23:51:33+00:00Added an answer on May 26, 2026 at 11:51 pm

    In manifest add android:windowSoftInputMode="adjustResize" under the Activity tag..

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have an Activity that consists of a large scrollview (that contains EditText fields)
I have a layout defined in XML. It contains also: <RelativeLayout android:id=@+id/item android:layout_width=fill_parent android:layout_height=wrap_content
I have a RelativeLayout with a few TextView as children <RelativeLayout android:id=@+id/shift_parent_name android:layout_width=fill_parent android:layout_weight=0.25
I have a some ui widgets including textview inside RelativeLayout which is clickable. My
I have row for ListView(listview is inside LinearLayout) like <?xml version=1.0 encoding=utf-8?> <RelativeLayout xmlns:android=http://schemas.android.com/apk/res/android
I have the following TextView in my XML layout file:- <TextView android:layout_width=fill_parent android:layout_height=wrap_content android:text=@string/autolink_test
I have android.permission.READ_OWNER_DATA but I can't find any reliable code that would explain how
In my xml I have: <RelativeLayout android:id=@+id/mainWeek android:layout_height=387dip android:layout_width=match_parent android:layout_marginTop=5dip> <RelativeLayout android:id=@+id/day1 android:layout_marginTop=5dip android:layout_marginLeft=5dip
I have the following layout: <?xml version=1.0 encoding=utf-8?> <RelativeLayout android:id=@+navigate/RLayout android:layout_width=fill_parent android:layout_height=fill_parent android:background=#ABABAB xmlns:android=http://schemas.android.com/apk/res/android
I have used the following in android manifest. <?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

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.