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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T20:27:46+00:00 2026-06-12T20:27:46+00:00

Im trying to create a app but it wont all fit on the screen.

  • 0

Im trying to create a app but it wont all fit on the screen. I have tried to use Scroll View amongst other things and just cant seem to get it right. Do I need a table and make the table scrollable? When I use Scroll View it seems to make it a linear layout but Im using a relative layout? None of the other answers on here seem to work.
as you can see its quite cramped

enter image description here

<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:background="@drawable/black_white"
android:orientation="vertical" >

<Button
    android:id="@+id/North"
    style="?android:attr/buttonStyleSmall"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentLeft="true"
    android:layout_alignParentTop="true"
    android:background="@android:color/black"
    android:text="North"
    android:textColor="@android:color/white" />

<Button
    android:id="@+id/East"
    style="?android:attr/buttonStyleSmall"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentTop="true"
    android:layout_toRightOf="@+id/North"
    android:background="@android:color/black"
    android:text="East"
    android:textColor="@android:color/white" />

<Button
    android:id="@+id/South"
    style="?android:attr/buttonStyleSmall"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_above="@+id/address"
    android:layout_alignParentRight="true"
    android:background="@android:color/black"
    android:text="South"
    android:textColor="@android:color/white" />

<Button
    android:id="@+id/West"
    style="?android:attr/buttonStyleSmall"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_above="@+id/address"
    android:layout_toLeftOf="@+id/South"
    android:background="@android:color/black"
    android:text="West"
    android:textColor="@android:color/white" />

<CheckedTextView
    android:id="@+id/address"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:layout_alignParentLeft="true"
    android:layout_alignParentRight="true"
    android:layout_below="@+id/North"
    android:background="@android:color/black"
    android:text="Address"
    android:textColor="@android:color/white" />


<Button
    android:id="@+id/Button01"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentBottom="true"
    android:layout_alignParentRight="true"
    android:layout_toRightOf="@+id/East"
    android:background="@android:color/black"
    android:gravity="center_vertical|center_horizontal"
    android:text="Visit Website"
    android:textColor="@android:color/white" />

<EditText
    android:id="@+id/editText1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentLeft="true"
    android:layout_below="@+id/address"
    android:ems="10"
    android:inputType="textMultiLine"
    android:text="address" >

    <requestFocus />
</EditText>


<Button
    android:id="@+id/button1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentRight="true"
    android:layout_below="@+id/editText1"
    android:layout_toRightOf="@+id/East"
    android:background="@android:color/black"
    android:gravity="center_vertical|center_horizontal"
    android:text="Map &amp; Directions"
    android:textColor="@android:color/white" />

<CheckedTextView
    android:id="@+id/CheckedTextView01"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:layout_alignParentLeft="true"
    android:layout_below="@+id/button1"
    android:layout_marginTop="14dp"
    android:background="@android:color/black"
    android:text="Phone"
    android:textColor="@android:color/white" />

<ImageView
    android:id="@+id/imageView2"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_below="@+id/CheckedTextView01"
    android:layout_marginTop="20dp"
    android:layout_toLeftOf="@+id/East"
    android:src="@drawable/aphone" />


<EditText
    android:id="@+id/editText2"
    style="?android:attr/buttonStyleSmall"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignParentRight="true"
    android:layout_alignTop="@+id/imageView2"
    android:layout_toRightOf="@+id/East"
    android:background="@android:color/black"
    android:ems="10"
    android:gravity="center_vertical|center_horizontal"
    android:hint="Call Us"
    android:inputType="phone"
    android:text="1-614-555-5555"
    android:textColor="@android:color/white" />

<CheckedTextView
    android:id="@+id/CheckedTextView02"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:layout_alignParentLeft="true"
    android:layout_below="@+id/editText2"
    android:layout_marginTop="15dp"
    android:background="@android:color/black"
    android:text="E-Mail"
    android:textColor="@android:color/white" />

<ImageView
    android:id="@+id/imageView3"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignLeft="@+id/imageView2"
    android:layout_below="@+id/CheckedTextView02"
    android:layout_marginTop="17dp"
    android:src="@drawable/themail" />


<Button
    android:id="@+id/button2"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignLeft="@+id/editText2"
    android:layout_alignParentRight="true"
    android:layout_alignTop="@+id/imageView3"
    android:background="@android:color/black"
    android:gravity="center_vertical|center_horizontal"
    android:text="Send Message"
    android:textColor="@android:color/white" />

<CheckedTextView
    android:id="@+id/CheckedTextView03"
    android:layout_width="fill_parent"
    android:layout_height="wrap_content"
    android:layout_above="@+id/Button01"
    android:layout_alignParentLeft="true"
    android:background="@android:color/black"
    android:text="Website"
    android:textColor="@android:color/white" />

<ImageView
    android:id="@+id/imageView1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_alignLeft="@+id/imageView2"
    android:layout_alignTop="@+id/button1"
    android:src="@drawable/mapicon" />

</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-12T20:27:47+00:00Added an answer on June 12, 2026 at 8:27 pm

    Put your RelativeLayout inside a scrollview

    Make sure you set the layout_width and height set to match_parent

    <?xml version="1.0" encoding="utf-8"?>
    <ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
        android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:fillViewport="true" >
    
         <RelativeLayout
                android:layout_width="match_parent"
                android:layout_height="match_parent"
    android:background="@drawable/black_white"
    android:orientation="vertical" >
    
    put your other stuff here
    .
    .
    .
    
    </RelativeLayout>
    </ScrollView>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to use Jbuilder to create some JSON views for my app, but the
I'm trying to create a rails app, but somethings going wrong, I'm getting a
I'm trying to create my first app with AngularJS. It looks neat, but there's
Im trying to create a simple pan and zoom app using silverlight 4, but
I'm trying to create a GUI Python app using Py2App, but am having trouble
I'm trying to create a child class of Android.App.Application to override OnCreate(), but I
I'm trying to create some javascript validation for my web app and it's all
I'm trying to create a custom download app. Its all working except for the
I created a simple private messaging app through rails, but I am trying to
I am trying to create an app that saves the user's media selections from

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.