Wish Wrapper for MaterialLibrary - bring Material Design to pre-Lollipop

DonManfred

Expert
Licensed User
Longtime User
The Snackbar is not a Tabbed View! It is a single view which can hold text and have the possibility to auto disappear after x second

Example:
B4X:
    snack.Initialize("snackbar")
    snack.actionText("Close")
    snack.actionTextColor(Colors.Yellow)
    snack.singleLine(False)
    snack.Text("Snackbartext"&CRLF&"Line two of snackbar")
    snack.TextColor(Colors.Blue)
    snack.duration(50000)
    snack.show

See bottom of picture

materiallib0004.png


Here the code for the TimePicker
B4X:
    tPick.BackgroundColor = Colors.Black
    tPick.Color = Colors.ARGB(128,192,192,0)
    selectedHour = 16
    selectedMinute = 0
    tPick.Hour = selectedHour
    tPick.Minute = selectedMinute
    lblTime.Text = NumberFormat(selectedHour,2,0)&":"&NumberFormat(selectedMinute,2,0)
    tPick.TwentyFourHour = True
    tPick.SelectionRadius = 50
    tPick.TextSize = 50
    tPick.TextColor = Colors.Blue
    tPick.TextHighlightColor = Colors.Green
    tPick.TickSize = 3dip
    tPick.TickColor = Colors.Red
 
Last edited:
Top