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

Discussion in 'Bugs & wishlist' started by Inman, May 19, 2015.

  1. Inman

    Inman Well-Known Member Licensed User

    Last edited: May 19, 2015
    asales likes this.
  2. DonManfred

    DonManfred Expert Licensed 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:
    Code:
    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

    [​IMG]

    Here the code for the TimePicker
    Code:
    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: May 19, 2015
  3. asales

    asales Well-Known Member Licensed User

  4. Inman

    Inman Well-Known Member Licensed User

    You are correct. My mistake.
     
  5. DonManfred

    DonManfred Expert Licensed User

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