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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T04:58:05+00:00 2026-06-06T04:58:05+00:00

Typical search layout having RelativeLayout, TextView, EditText and Button I have a.9.png image having

  • 0

Typical search layout having RelativeLayout, TextView, EditText and Button

I have a.9.png image having height of 46px

The relative layout looks ok, but the views inside of it is too small, the Button don’t adapt the height size and EditText too.(using hdpi in tablet)

This is my code::

<RelativeLayout
        android:id="@+id/cuadrobusqueda"
        android:layout_width="match_parent"
        android:layout_height="50dp"
        android:layout_alignParentLeft="true"
        android:layout_alignParentRight="true"
        android:layout_marginBottom="9dp"
        android:layout_marginLeft="14dp"
        android:layout_marginRight="14dp"
        android:layout_marginTop="8dp"
        android:background="@drawable/bg_buscar_servicios"
        android:gravity="center_vertical" >

        <TextView
            android:id="@+id/textView1"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignParentLeft="true"
            android:layout_centerVertical="true"
            android:text="TextView" />



        <EditText
            android:id="@+id/editText1"
            android:layout_width="50dp"
            android:layout_height="wrap_content"
            android:layout_alignParentTop="true"
            android:layout_marginLeft="27dp"
            android:layout_toRightOf="@+id/textView1"
            android:ems="10"
            android:inputType="number" >

            <requestFocus />
        </EditText>

        <Button
            android:id="@+id/button1"
            android:layout_width="100dp"
            android:layout_height="32dp"
            android:layout_alignTop="@+id/textView1"
            android:layout_marginLeft="26dp"
            android:layout_toRightOf="@+id/editText1"
            android:text="Button" android:textSize="11sp"/>

    </RelativeLayout>

Any idea why it is happening?

  • 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-06T04:58:08+00:00Added an answer on June 6, 2026 at 4:58 am

    Check the image you supplied in android:background=”@drawable/bg_buscar_servicios”, It’s height and also don’t give height of RealtiveLayout if you want to make it small and need more screen area just below it then try to give android:layout_weight which will automatically adjust according to your device.

    But i’m sure problem with your Image check it out first..

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

Sidebar

Related Questions

I have a typical problem with SVN. I did a search in this repository
I have a typical search facility in my app which returns a list of
I have List collection with around 35,000 strings Typical string looks like this: <i>füüs</i>ampri
I'm working with arrays of image filepaths. A typical array might have 5 image
In a pretty typical scenario, I have a 'Search' text box on my web
Given some typical search form, I can't construct this form action when submitting a
Typical jQuery over-use: $('button').click(function() { alert('Button clicked: ' + $(this).attr('id')); }); Which can be
The typical Python threadpool will have a structure like this one: def run(self): while
What is the typical scenario of storing image files in Django? More specifically, are
In your typical MVC application, you have many layers. Database layer Model layer (possibly

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.