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

Android Question Spinner Drawing Content

Discussion in 'Android Questions' started by Tommaso, Jul 1, 2019.

Tags:
  1. Tommaso

    Tommaso Member Licensed User

    Hi Everyone!
    I've a problem with spinner content as you can see label was drawed bad. [​IMG]
    The items/label are sized based on text content, the problem is that doesn't manage click (on black portion).


    Doesn't work for example on Huawei MediaPad T5 Android 8.0
    Someone have any suggestion

    Thanks in advance
    regards
     
  2. rboeck

    rboeck Well-Known Member Licensed User

  3. Erel

    Erel Administrator Staff Member Licensed User

    Can you upload a small project that demonstrates it?
     
  4. Tommaso

    Tommaso Member Licensed User

    Hi Erel,
    sure, attached here a sample.
    I've verified this problem with Huawei MediaPad T5 Android 8.0 with other device it works fine.

    Thanks in advance
     

    Attached Files:

  5. Erel

    Erel Administrator Staff Member Licensed User

    Please use File - Export as zip when uploading projects.

    Don't change the activity color. Change the theme in the manifest editor:
    Code:
    CreateResourceFromFile(Macro, Themes.LightTheme)
    Complete code:
    Code:
    Activity.LoadLayout("Layout1")
    Spinner1.AddAll( 
    Array As String("Ok""Le voci piu corte""Su device Huawei""Non prendono il click","Se non dove ho del testo""Prova a premere la voce ok ma sulla destra"))
    Spinner1.TextSize = 
    15
     
  6. Tommaso

    Tommaso Member Licensed User

    Ok
    Grazie
     

    Attached Files:

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