alexwekell Member Licensed User Longtime User Apr 23, 2014 #1 Anyone know the best and easiest way to either change the color of or create a holo light msgbox with red instead of ICS blue? Attachments Screenshot (06_37PM, Apr 23, 2014).png 154.1 KB · Views: 552 Last edited: Apr 23, 2014
Anyone know the best and easiest way to either change the color of or create a holo light msgbox with red instead of ICS blue?
Informatix Expert Licensed User Longtime User Apr 23, 2014 #2 Look at the BetterDialogs library. With it, you can create your own modal dialogs. Upvote 0
alexwekell Member Licensed User Longtime User Apr 23, 2014 #3 Informatix said: Look at the BetterDialogs library. With it, you can create your own modal dialogs. Click to expand... I tried that but couldn't get it to properly display, what am I doing wrong? B4X: Sub Simple2Buttons_Click myMsgBox.Initialize(Activity, Me, "Default", "H", 2, 95%x, 200dip, LoadBitmap(File.DirAssets, "WarningIcon.png")) myMsgBox.Title.Text = "Custom MsgBox v1.0" myMsgBox.Message.Color = Colors.Black myMsgBox.ShowSeparators(Colors.Red, Colors.red) myMsgBox.Panel.Color = Colors.White myMsgBox.ShowMessage("Simple box with 2 buttons, horizontal" & CRLF & "Custom separators color", "") Attachments Screenshot_2014-04-23-19-32-44.png 102.1 KB · Views: 635 Upvote 0
Informatix said: Look at the BetterDialogs library. With it, you can create your own modal dialogs. Click to expand... I tried that but couldn't get it to properly display, what am I doing wrong? B4X: Sub Simple2Buttons_Click myMsgBox.Initialize(Activity, Me, "Default", "H", 2, 95%x, 200dip, LoadBitmap(File.DirAssets, "WarningIcon.png")) myMsgBox.Title.Text = "Custom MsgBox v1.0" myMsgBox.Message.Color = Colors.Black myMsgBox.ShowSeparators(Colors.Red, Colors.red) myMsgBox.Panel.Color = Colors.White myMsgBox.ShowMessage("Simple box with 2 buttons, horizontal" & CRLF & "Custom separators color", "")
Informatix Expert Licensed User Longtime User Apr 23, 2014 #4 alexwekell said: I tried that but couldn't get it to properly display, what am I doing wrong? B4X: Sub Simple2Buttons_Click myMsgBox.Initialize(Activity, Me, "Default", "H", 2, 95%x, 200dip, LoadBitmap(File.DirAssets, "WarningIcon.png")) myMsgBox.Title.Text = "Custom MsgBox v1.0" myMsgBox.Message.Color = Colors.Black myMsgBox.ShowSeparators(Colors.Red, Colors.red) myMsgBox.Panel.Color = Colors.White myMsgBox.ShowMessage("Simple box with 2 buttons, horizontal" & CRLF & "Custom separators color", "") Click to expand... I don't know what's this but you're not using my library. Upvote 0
alexwekell said: I tried that but couldn't get it to properly display, what am I doing wrong? B4X: Sub Simple2Buttons_Click myMsgBox.Initialize(Activity, Me, "Default", "H", 2, 95%x, 200dip, LoadBitmap(File.DirAssets, "WarningIcon.png")) myMsgBox.Title.Text = "Custom MsgBox v1.0" myMsgBox.Message.Color = Colors.Black myMsgBox.ShowSeparators(Colors.Red, Colors.red) myMsgBox.Panel.Color = Colors.White myMsgBox.ShowMessage("Simple box with 2 buttons, horizontal" & CRLF & "Custom separators color", "") Click to expand... I don't know what's this but you're not using my library.