I Inman Well-Known Member Licensed User Longtime User May 19, 2015 #1 While we already have corwin's excellent AppCompat library, this library has more UI components like Snackbar, Circular progressview, Date and Time pickers and much more. You can see all the screenshots here. http://rey5137.com/material/ Try the demo APK from Play Store https://play.google.com/store/apps/details?id=com.rey.material.demo Hoping someone will wrap it for B4A Last edited: May 19, 2015
While we already have corwin's excellent AppCompat library, this library has more UI components like Snackbar, Circular progressview, Date and Time pickers and much more. You can see all the screenshots here. http://rey5137.com/material/ Try the demo APK from Play Store https://play.google.com/store/apps/details?id=com.rey.material.demo Hoping someone will wrap it for B4A
DonManfred Expert Licensed User Longtime User May 19, 2015 #2 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 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: May 19, 2015
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 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
I Inman Well-Known Member Licensed User Longtime User May 19, 2015 #4 DonManfred said: 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 Click to expand... You are correct. My mistake.
DonManfred said: 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 Click to expand... You are correct. My mistake.