Quantcast
Viewing latest article 4
Browse Latest Browse All 5

Image picker inside alertdialog (androidView)

Hi,

merry christmas and here in germany is midnight …

I try to build an image selector.

Here my try:

exports.create = function() {
    var androidView = Ti.UI.createView({
        backgroundColor : 'white',
        height : '200dp'
    });
    var widget = Ti.UI.createAlertDialog({
        cancel : 0,
        buttonNames : ['Cancel', 'Change avatar'],
        title : 'Select an avatar',
        androidView : androidView
    });
    widget.show();
 
    // adding of image selector to container:
    // in the rest the view will filled 
}
Here the code of full modul

Issue: the androidView leaves black. Is there a problem to fill the view with scroll or scrollabelview? SDK 3.2.0.GA

Rainer


Viewing latest article 4
Browse Latest Browse All 5

Trending Articles



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