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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T16:46:20+00:00 2026-05-31T16:46:20+00:00

For Android I have two labels in a table row. I am trying to

  • 0

For Android

I have two labels in a table row. I am trying to set these two label vertical but the firstLabel overlaps the second one. As firstLabel‘s height is “auto” and it contains dynamic text e.g. 10 lines , 20 line.

Due to dynamic height of firstLabel I couldn’t set secondLabel‘s top so it gets overlapped.

I’ve tried all possible solution available on the SO and Appcelerator but couldn’t find the fix.

1). I couldn’t get height of firstLabel after or before adding it to the view, table’s row etc…

2) Tried to set height of label according to text’s length but couldn’t fix it .

Still looking for the solution..

enter image description here

  • 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-31T16:46:21+00:00Added an answer on May 31, 2026 at 4:46 pm

    What you’ll need to do is not to set the layout to vertical on the label, but rather on the view that is containing all the labels. If the parent view has a vertical layout, it will place the second label immediately after the first label ends. Additionally, setting the “top” property of the second label will place that many units between the bottom of label1 and top of label 2. Think relative positioning of block elements in CSS.

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

Sidebar

Related Questions

I am trying to serialize/deserialize JSON in Android using GSON. I have two classes
I have two android applications. The apks are Hello.apk and Fonts.apk I would like
I have two Android devices. One is acting as a server and the other
I have two android applications that I have developed. I need to compare the
Consider the following situation: I have two android projects named P1 and P2 which
I have two threads in an Android application, one is the view thread, and
I have two device: HTC Desire with Android 2.2 Froyo and HTC Evo 3D
I have two buttons in my first android frame. ok button and cancel button.
I'm building an Android app and I need to have two different themes for
I am trying to create an android app and I have to do the

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.