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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T11:03:34+00:00 2026-06-03T11:03:34+00:00

For a calculator app, I have like 40 buttons and an EditText view but

  • 0

For a calculator app, I have like 40 buttons and an EditText view but not all are fitting in the emulator. I was wondering if I could decrease the size of table rows.

If it is not possible, Is there any other way?

Here is the code for a tablerow

  <TableRow
        android:id="@+id/tableRow1"
        android:layout_width="wrap_content"
        android:layout_height="8dp"       
        >       
               <Button
            android:id="@+id/b1"
            android:text="("
            />

               <Button 
            android:id="@+id/b3"
            android:text=")"
            />
               <Button 
            android:id="@+id/b4"
            android:text="+-"
            />
               <Button 
            android:id="@+id/b5"
            android:text="√"
            />
               <Button 
                android:id="@+id/b24"
                android:text="n!"                   
             />                   
    </TableRow>
  • 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-03T11:03:35+00:00Added an answer on June 3, 2026 at 11:03 am

    Dont fix your height of table row just put all table row in a Linear layout whose orientation is vertical and give layout_weight equal to 1 for all table rows.

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

Sidebar

Related Questions

well the calculation in my app goes like this.. have a edittext box where
I have a graphing calculator app that can graph basic trig functions like sin
I have a calculator app in which I have a textfield in which if
I have a decorator chain that looks like this when initially created: IType calculator
Am developing an app which has a calculator function: for example, i have 4
I have been trying to implement a comment engine in my app (UItableView) but
I'm building a basic calculator app for iPhone. I've got all the basics in
I have a win form UI that looks like a typical calculator. Naturally I
I'm writing an app based around a calculator-like UI. On an iPad, I'd like
I have an Android app which calculates poker odds ( Shufflebot if you're interested).

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.