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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T16:19:16+00:00 2026-06-12T16:19:16+00:00

I have the following activity as rendered from a 320 x 480 low-density screen

  • 0

I have the following activity as rendered from a 320 x 480 low-density screen (don’t mind the black strip on the right, it’s a problem with the screen capture).

enter image description here

The EditTexts are enclosed in a ScrollView–there’s six of them, actually. The sign up button shares a LinearLayout with the ScrollView via weight measurement, while everything else is positioned via a RelativeLayout. When I tap on the “E-mail” text field (the fourth one), this is what shows:

enter image description here

My question is, how can I make the parent RelativeLayout move up and not just the ScrollView to make the e-mail text field more visible? Also, the hint of the sign-up button there is quite ugly. Is there any way I can avoid that? Here’s the XML code for the layout.

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/bg_320x480">

    <TextView android:id="@+id/signup_logo_txt"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="#0a6698"
        android:textColor="#ff7f00"
        android:text="Blackened App Name"
        android:textStyle="bold"
        android:textSize="10pt"
        android:gravity="center"
        android:padding="8dp"
        />

    <ImageView android:id="@+id/signup_icons_ghost_img"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:src="@drawable/icons_ghost_320x112"
        android:layout_below="@id/signup_logo_txt"
        android:contentDescription="lalalala"
        android:layout_marginTop="-21dp"
        />

    <TextView android:id="@+id/signup_tagline_txt"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="The easiest way to find a mobile plan that best suits how you use your phone."
        android:textColor="#000"
        android:textSize="5pt"
        android:gravity="center"
        android:layout_below="@id/signup_logo_txt"
        android:layout_marginTop="10dp"
        />

    <TextView android:id="@+id/signup_getstarted_txt"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:text="Sign up and let's get started!"
        android:textColor="#0a6998"
        android:textSize="6pt"
        android:textStyle="bold"
        android:gravity="center"
        android:layout_below="@id/signup_tagline_txt"
        android:layout_marginTop="6dp"
        />

    <LinearLayout android:orientation="vertical"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:weightSum="1.0"
        android:layout_marginLeft="10dp"
        android:layout_marginRight="10dp"
        android:layout_below="@id/signup_getstarted_txt"
        >
        <ScrollView android:id="@+id/signup_fields_view"
            android:layout_width="match_parent"
            android:layout_height="0dp"
            android:layout_weight=".8">
            <LinearLayout android:orientation="vertical"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                >
                <EditText android:id="@+id/signup_name_fld"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:singleLine="true"
                    android:hint="Navn"
                    android:layout_marginTop="5dp"
                    />

                <EditText android:id="@+id/signup_carrier_fld"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:singleLine="true"
                    android:hint="Nuvaerende mobilselskab"
                    android:layout_marginTop="3dp"
                    />

                <EditText android:id="@+id/signup_plan_fld"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:singleLine="true"
                    android:hint="Mobilforbrug i kroner"
                    android:layout_marginTop="3dp"
                    />

                <EditText android:id="@+id/signup_email_fld"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:singleLine="true"
                    android:hint="E-mail"
                    android:layout_marginTop="3dp"
                    />

                <EditText android:id="@+id/signup_verify_email_fld"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:singleLine="true"
                    android:hint="Bekraeft e-mail"
                    android:layout_marginTop="3dp"
                    />

                <EditText android:id="@+id/signup_mobile_number_fld"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:singleLine="true"
                    android:hint="Mobilnummer"
                    android:layout_marginTop="3dp"
                    />
            </LinearLayout>
        </ScrollView>

        <Button android:id="@+id/signup_signup_btn"
            android:layout_width="wrap_content"
            android:layout_height="0dp"
            android:layout_weight=".2"
            android:text="SIGN UP"
            android:textColor="#fff"
            android:layout_gravity="center"
            android:layout_marginBottom="8dp"
            />
    </LinearLayout>

</RelativeLayout>
  • 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-12T16:19:18+00:00Added an answer on June 12, 2026 at 4:19 pm

    i thing you not set adjust pan.set android:windowSoftInputMode="adjustPan" in Activity in Manifest file

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

Sidebar

Related Questions

I have the following problem: I opened the activity A, from which I opened
I have an activity with the following layout. So in this screen, initally the
I have following goal: From a list in main activity that extends ListActivity, I
I have following function in one Activity public void AppExit() { Editor edit =
I have the following scenario: in activity A, when a user clicks a button,
In my android application, I have following requirement. Activity A --> Activity B(Go to
Within one Activity I have th following piece of code: public void onStartMonitoringToggleClicked(View v)
I have the following problem: I have an Activity where a user can start
I have the following asynctask class which is not inside the activity. In the
I have an broadcast-receiver that looks like the following within an activity named childActivity

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.