FokkeZB / nl.fokkezb.loading

The widget provides a simple loading mask that can be easily styled and configured.
93 stars 18 forks source link

Images / Spinning Wheel in Progress Indicator wont show #27

Closed marcoschierhorn closed 8 years ago

marcoschierhorn commented 8 years ago

I tried several settings and also the cross platform solution, but the images wont be shown. Are there some changes in Alloy which I need to adapt? I'm using SDK 5.03. I implemented the call in Alloy globally:

Alloy.Globals.loading = Alloy.createWidget("nl.fokkezb.loading", "progress"); Alloy.Globals.loading.images = true;

And call then:

Alloy.Globals.showIndicator = function(e) { Alloy.Globals.loading.show('Loading...', false); };

Alloy.Globals.hideIndicator = function(e) { Alloy.Globals.loading.hide(); };

Any help would be highly appreciated. I imported your widget through using:

gittio install nl.fokkezb.loading

The tss with the images looks like this (do I need to change the path?):

".loadingImages": { top: '0dp', images: [ "/images/nl.fokkezb.loading/00.png", "/images/nl.fokkezb.loading/01.png", "/images/nl.fokkezb.loading/02.png", "/images/nl.fokkezb.loading/03.png", "/images/nl.fokkezb.loading/04.png", "/images/nl.fokkezb.loading/05.png", "/images/nl.fokkezb.loading/06.png", "/images/nl.fokkezb.loading/07.png", "/images/nl.fokkezb.loading/08.png", "/images/nl.fokkezb.loading/09.png", "/images/nl.fokkezb.loading/10.png", "/images/nl.fokkezb.loading/11.png" ] }

FokkeZB commented 8 years ago

Does the test app work for you?

https://github.com/FokkeZB/nl.fokkezb.loading/tree/test

marcoschierhorn commented 8 years ago

Unfortunately not :( Looks the same. I have attached the screenshots and the log output. Any suggestion why this happens?

Thanks a lot for your quick response! :) adb_log.txt screenshot_2015-11-17-15-57-23 screenshot_2015-11-17-15-57-31 screenshot_2015-11-17-15-57-38

FokkeZB commented 8 years ago

Why you don't see the Activity/Progress Indicators is a mystery to me. When I run the tests I do see them. I've updated the test to contain a app/styles/app.tss where you can set it to use images for the second example. That works fine for me on the second sample, although just like in your screenshot it does show under the button no matter what zIndex I give it.

I'm sorry but that's as much time as I can send on this right now. Always open for PRs.

marcoschierhorn commented 8 years ago

It seems to be a problem with my OnePlus 2. On other Android devices it works like a charm :)

On Wed, Nov 18, 2015 at 8:29 AM, Fokke Zandbergen notifications@github.com wrote:

Why you don't see the Activity/Progress Indicators is a mystery to me. When I run the tests I do see them. I've updated the test to contain a app/styles/app.tss where you can set it to use images for the second example. That works fine for me on the second sample, although just like in your screenshot it does show under the button no matter what zIndex I give it.

I'm sorry but that's as much time as I can send on this right now. Always open for PRs.

— Reply to this email directly or view it on GitHub https://github.com/FokkeZB/nl.fokkezb.loading/issues/27#issuecomment-157631308 .

FokkeZB commented 8 years ago

Android...awesome ;)