Android Question Can I wrap the 1st line of a ListView?

Discussion in 'Android Questions' started by Jose Cuevas, Aug 27, 2015.

  1. Jose Cuevas

    Jose Cuevas Member Licensed User

    Hi, I have a Twoline Listview, but when the first line is too big, disappear the first characters (as shown in the first 3 lines of the image, the 4th line is fine), the problem is with a device 4 inches display, with a device 5 inches display appears fine. Is there any way to disable the wrap of this line?

    Thanks in advance.

    IMG-20150826-WA0001.jpg
     
    Last edited: Aug 27, 2015
  2. Erel

    Erel Administrator Staff Member Licensed User

    Not with ListView. You can change the font size of all items.

    Another option is to use CustomListView instead. It will allow you to customize the items as needed.
     
  3. Jose Cuevas

    Jose Cuevas Member Licensed User

    Hi Erel, I solved the problem with this:

    ListView.TwoLinesLayout.Label.Width=150%x
     
    asales likes this.
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice