Android Question Error time Dialog

Roberto P.

Well-Known Member
Licensed User
Longtime User
I All,

width Android 7 and samsung Galaxi A S6, the TimeDialog object doesn't show any image. See the picture. Why?

B4X:
    Dim td As TimeDialog
    td.TimeTicks = DateTime.Now
   
    Dim sf As Object = td.ShowAsync("", "Select time", "Yes", "", "Cancel", Null, False)
    Wait For (sf) Dialog_Result(Result As Int)
    If Result = DialogResponse.POSITIVE Then
       
        Log(DateTime.Time(td.TimeTicks))
        m_CtrlOraInizio.Text    =    DateTime.Time(td.TimeTicks)
    End If



Thanks you
 

Attachments

  • time dialog.png
    time dialog.png
    11.5 KB · Views: 233

Roberto P.

Well-Known Member
Licensed User
Longtime User
Hi Erel,
in portrait it works. but with other devices it works in both ways. See image.

what control should I use to make it work even in landscape?

thank you
 

Attachments

  • time dialog.png
    time dialog.png
    40.8 KB · Views: 242
Upvote 0
Top