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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T19:09:50+00:00 2026-06-11T19:09:50+00:00

I have an up with 3 buttons bat the bottom. When i test it

  • 0

I have an up with 3 buttons bat the bottom. When i test it on the emulator, the full screen appears. when i test it on my device, the buttons below does not show. it’s like the resolution is incorrect. here is my xml layout:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@raw/mexicanbg"
android:orientation="vertical" >




<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content" >

    <Button
        android:id="@+id/buttonbacksubreclist"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginLeft="15dp"
        android:background="@drawable/back_button"
        android:onClick="back" />

    <TextView
        android:id="@+id/textViewreclist"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:layout_marginLeft="45dp"
        android:text="@string/reclist"
        android:textAppearance="?android:attr/textAppearanceLarge"
        android:textColor="#000000" />

 </LinearLayout>


 <LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content" >
 </LinearLayout>

 <ListView
    android:id="@+id/android:list"
    android:layout_width="fill_parent"
    android:layout_height="382dp" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="362dp" >

<Button
    android:id="@+id/buttonRecipes"
    android:layout_width="108dp"
    android:layout_height="wrap_content"
    android:background="@drawable/menu_xrecipes"
    android:onClick="recipe"
    android:text="@string/rec" />

<Button
    android:id="@+id/buttonGroList"
    android:layout_width="110dp"
    android:layout_height="wrap_content"
    android:background="@drawable/menu_xgrocery"
    android:onClick="grocerylist"
    android:text="@string/grolist" />

<Button
    android:id="@+id/button1"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:background="@drawable/menu_xmore"
    android:text="@string/more" />
</LinearLayout>

</LinearLayout>

EDIT:
New Layout:

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@raw/mexicanbg"
android:orientation="vertical" >




<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content" >

    <Button
        android:id="@+id/buttonbacksubreclist"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_marginLeft="15dp"
        android:background="@drawable/back_button"
        android:onClick="back" />

    <TextView
        android:id="@+id/textViewreclist"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:layout_marginLeft="45dp"
        android:text="@string/reclist"
        android:textAppearance="?android:attr/textAppearanceLarge"
        android:textColor="#000000" />

</LinearLayout>

<LinearLayout
    android:layout_width="match_parent"
    android:layout_height="wrap_content" >
</LinearLayout>


<ListView
    android:id="@+id/android:list"
    android:layout_width="fill_parent"
    android:layout_height="382dp" />

<LinearLayout
android:layout_width="match_parent"
android:layout_height="362dp" >




<Button
    android:id="@+id/buttonRecipes"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_weight="1"
    android:background="@drawable/menu_xrecipes"
    android:onClick="recipe"
    android:text="@string/rec" />



<Button
    android:id="@+id/buttonGroList"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_weight="1"
    android:background="@drawable/menu_xgrocery"
    android:onClick="grocerylist"
    android:text="@string/grolist" />



<Button
    android:id="@+id/button1"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_weight="1"
    android:background="@drawable/menu_xmore"
    android:text="@string/more" />

</LinearLayout>

</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-06-11T19:09:51+00:00Added an answer on June 11, 2026 at 7:09 pm

    I found the answer … The problem is not with t he buttons.. it is with my ListView. I did not put weight on my listview. Here is my final xml layout:

    <?xml version="1.0" encoding="utf-8"?>
    <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:orientation="vertical"
    android:background="@raw/mexicanbg">
    
    
    
    
    
    
       <LinearLayout
       android:layout_alignParentBottom="true"
            android:layout_centerHorizontal="true"
            android:layout_width="fill_parent"
            android:layout_height="50dip"
            android:orientation="horizontal"
            android:background="@drawable/xpage_label">
    
    
    
    
        <TextView
            android:id="@+id/textViewrecipe"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_gravity="center"
            android:layout_margin="10dp"
            android:layout_marginBottom="10dp"
            android:text="@string/rec"
            android:textAppearance="?android:attr/textAppearanceLarge"
            android:textColor="#000000" />
    
     </LinearLayout>
    
    
    
    
    
    
    
    
     <ListView
        android:id="@+id/android:list"
        android:layout_width="fill_parent"
        android:layout_height="wrap_content"
        android:layout_weight="1" />
    
     <LinearLayout
         android:layout_width="match_parent"
         android:layout_height="wrap_content" >
    
         <Button
             android:id="@+id/button3"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:layout_weight="1"
             android:background="@drawable/menu_xrecipes"
             android:onClick="recipe" />
    
         <Button
             android:id="@+id/buttonGroList"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:layout_weight="1"
             android:background="@drawable/menu_xgrocery"
             android:onClick="grocerylist" />
    
         <Button
             android:id="@+id/button1"
             android:layout_width="wrap_content"
             android:layout_height="wrap_content"
             android:layout_weight="1"
             android:background="@drawable/menu_xmore" />
     </LinearLayout>
    
    </LinearLayout>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have buttons on a page that look like: <p> <a href=view.php> <input type=button
I have buttons and a selector for the buttons, the code looks like this:
I want to have buttons that kind of act like tabs - they switch
In my Java Swing application, I have buttons. If the screen size is changed,
My coworker and I constantly argue about button sizes. I like to have buttons
I have buttons that has ids like that: id='button0' id='button1' id='button2' id='button3' id='button4' ...
I have buttons that always float at the the bottom corner of the browser
I have buttons going from A-Z. I have the jQuery code below where if
Multiple sites have buttons where you can tweet, digg, etc. On this page you'll
I have five buttons on one form that when clicked enables a bool each

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.