1. *** New version of B4J is available ***
    B4J v7.8
    Dismiss Notice

Android Question TabStrip vs (AHViewPager, AHViewPagerFixedTabs, AHPageContainer)

Discussion in 'Android Questions' started by Robert Valentino, May 12, 2019.

  1. Robert Valentino

    Robert Valentino Well-Known Member Licensed User

    I currently use AHViewPager, AHViewPagerFixedTabs and AHPageContainer for my tabbing pages and was considering converting to TabStrip

    Having one (I believe) simple problem

    In AHPageContainer if I want a two line Tab all I have to do is
    Code:
    mContainer.AddPage(ClassPanel, "Line 1" &CRLF "Line2")
    If I try this in TabStrip
    Code:
    TabStrip1.LoadLayout("Page2""THIS IS" &CRLF &"PAGE 2")    '  Modifies from Erel's example
    It just discards the CRLF and puts out the text as 1 line

    Is there anyway to get a two line tab

    BobVal
     
  2. Erel

    Erel Administrator Staff Member Licensed User

    jimmyF likes this.
  3. Robert Valentino

    Robert Valentino Well-Known Member Licensed User

    Thanks that worked great
     
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