Android Question DateDialog Width

hanyelmehy

Active Member
Licensed User
Longtime User
i use Dialog Lib 4.01
When Use DateDialog or TimeDialog
B4X:
Private Mydate As DateDialog
    Private SelectDate,SelectTime As String
    Mydate.DateTicks=DateTime.Now
    
    
    Private Ret As Int=Mydate.Show("Select Visit Date","Date","Ok","Cancel","",LoadBitmap(File.DirAssets,"mcalendar.png"))
    If Ret=DialogResponse.POSITIVE Then
        SelectDate=Mydate.Month & "/" & Mydate.DayOfMonth & "/" & Mydate.Year
    Else
        Return
    End If
its width not compatible with parent screen width (like attached image)
any idea how to solve this problem or how to adjust dialog width
 

Attachments

  • m3.png
    m3.png
    137.5 KB · Views: 241
Top