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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T05:35:49+00:00 2026-05-27T05:35:49+00:00

i have a big problem with a layout in my Android Application. I have

  • 0

i have a big problem with a layout in my Android Application. I have a

RelativeLayout
– inside this Layout I will nest a TableLayout (at Top) and another RelativeLayout (at Bottom)

In my program I fill both layouts (programmatically) with some views – first the TableLayout and then the RelativeLayout. I need the height from the nested RelativeLayout to calculate some things. But I always get the height without the height from the “fresh painted” TableLayout.

How can I get a callback (ore something) to recognize that my first layout (TableLayout) is finished and “sticks” at the parent layout? Then I determine the correct amount remaining height (of the nested 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-05-27T05:35:49+00:00Added an answer on May 27, 2026 at 5:35 am

    Probably you need to override the class TableLayout and override it’s methods onMeasure, onDraw or onAttachedToWindow

    It’s not difficult, but a bit tricky to handle when a view is completely drawn on the screen

    Check the doc: http://developer.android.com/reference/android/view/View.html#onMeasure(int, int)

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

Sidebar

Related Questions

I have facing a big problem with my webView application for android. It was
This is a C# problem. I have a big object in memory at a
I have a big problem with the layout of a webpage designed for iPad
I have a little/big problem in my app in android.I have 2 activity:Activity1 and
I have big problem when I am trying to deploy my app over clickonce.
I have a big problem. I want to extract text from html table that
I have a (big) problem that all of you that work with Webforms might
I have a big problem dealing with data I try to download in my
I have an big problem with an SQL Statement in Oracle. I want to
I am using gettext in my PHP code, but I have a big problem.

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.