Quantcast
Channel: Appcelerator Developer Center Q&A Unanswered Questions 20
Viewing all articles
Browse latest Browse all 8068

Ti.UI.createAlertDialog androidView does not seem to work

$
0
0

Hi, I'm testing on real devices SO-01C, F-02E, and so on. SDK3.1.1.GA.

var view = Ti.UI.createView( {
        top : '40dp',
        width : '300dp',
        height : '150dp',
        backgroundColor : '#ff0000'
    } );
 
    Ti.UI.createAlertDialog( {
        title : 'Alert',
        message : 'test',
        buttonNames : [ 'OK' ],
        androidView: view
    } ).show( );
The code above displays a default dialog, not a customized one by androidView. How can I change the appearance of the dialog? Thanks for any info in advance!

Viewing all articles
Browse latest Browse all 8068

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>