• Post Reply Bookmark Topic Watch Topic
  • New Topic

AlertDialog changing look of font (size, colour, align)  RSS feed

 
Ranch Hand
Posts: 103
Eclipse IDE Firefox Browser Netbeans IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello, I'm trying to change properties of my AlertDialog inside of my game, currently I'm building it with this way:



And if player clicked certain button, I'm showing this dialog with this way:



Everything works, but I decided to change look of font used in this dialog, with this way:



But code works only, if I put this code after showDialog(DIALOG_INFO); which means I have to create new object (TextView textView = ...) everytime I'm showing dialog, and my question is, can't I do it only once while creating dialog?

Thanks in advance.
 
Forget this weirdo. You guys wanna see something really neat? I just have to take off my shoe .... (hint: it's a tiny ad)
ScroogeXHTML 7.1 - RTF to HTML5 / XHTML converter
https://coderanch.com/t/690611/ScroogeXHTML-RTF-HTML-XHTML-converter
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!