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

  • Home
  • SEARCH
  • 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 5959671
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 22, 20262026-05-22T18:43:05+00:00 2026-05-22T18:43:05+00:00

Thanks in advance… i have a string array which i want to set in

  • 0

Thanks in advance…

i have a string array which i want to set in textview in proper alignment..
my textview is created dynamically..

my string is :

                  private String[] mDialogue = 
                  {
                            "Copa de Agua      8 Oz\n"+
            "Copa de Vino Tinto      6 Oz\n"+
            "Copa de Vino Blanco      5 Oz\n"+
            "Copa Flauta      5 Oz\n"+
            "Copa Tulipan      6 Oz\n"+
            "Copa Cocktail      5 Oz\n"+
            "Copa Sour      5 Oz\n"+
            "Copa Borgo–a      10 Oz\n"+
            "Copa Licor      2 Oz\n"+
            "Copa Sherry      3 Oz\n"+
            "Copa Balon/Cognac      9-25 Oz\n"+
            "Copa Champagne      5 Oz\n"+
            "Copa Catavinos      3 Oz\n"+
            "Vaso High Ball      8 Oz\n"+
            "Vaso On the Rocks      6 Oz\n"+
            "Vaso Collins/Tubo      10 Oz\n"+
            "Vaso Pilsen      10 Oz\n"+
            "Jarra de Cerveza      12 Oz",

            "1 Mililitro         0,001 L\n"+
            "1 Centilitro        0,01 L\n"+
            "1 Decilitro      0,1 L\n"+
            "2 Cucharadas      10 cc\n"+
            "20 Cucharadas      10 cl\n"+
            "1 Taza      236,5 cc\n"+
            "1 Taza      23,6 cl\n"+
            "1 Golpe      1 gota\n"+
            "1 Chorro      10 gotas",
                  }

i set this string statically but for different layouts it doesn`t work properly..
when i run in my emulator its look like :i added screen shot for this..
is there any html format which i set my text in proper alignment..??
or if u have any kind of solution then please help me..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-22T18:43:06+00:00Added an answer on May 22, 2026 at 6:43 pm

    Your best bet is to use a layout with two textviews on each line. As far as I know there’s no good way to do what you want in a single textview.

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

Sidebar

Related Questions

Thanks in advance. I am new to Magento, and I have created a module
Thanks in advance i have made one attribute with option of yes/no i want
Thanks in advance . I have an ipod 3.1.3. If i want to develope
Thanks for reading this. I am dynamically generating some data which includes a select
Thanks in advance for any help. I've got two combo boxes which I'd like
Thanks in advance.I want to find all the substring that occurs between K and
Hello everyone and thanks in advance. I have a problem and I have 2
thanks in advance for your help. I'm working on this site and have an
Thanks in advance for any advice or tips! I have a booking table in
Thanks in advance. I create an array with 6 parts, each an NSString in

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.