From: Radek Czajka Date: Thu, 8 Sep 2011 13:24:28 +0000 (+0200) Subject: nicer spinner animation, some cleaning X-Git-Url: https://git.mdrn.pl/wl-mobile.git/commitdiff_plain/e02aa48b6f2b7ddca9b55c56288cd2512702da6d?ds=sidebyside nicer spinner animation, some cleaning --- diff --git a/AndroidManifest.xml b/AndroidManifest.xml index 6ff99bb..ba87eca 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,6 +1,6 @@ + package="pl.org.nowoczesnapolska.wlmobi" android:versionName="1.1" android:versionCode="3"> "; + if (self.at_spinner) { + document.getElementById("spinnertext").innerHTML = text; + } + else { + self._content.innerHTML = "
" + text +"
"; + self.at_spinner = true; + } setOffset(0); }; this.content = function(text, offset) { console.log('content'); + self.at_spinner = false; self._content.innerHTML = ''; self._content.innerHTML = text; diff --git a/src/pl/org/nowoczesnapolska/wlmobi/Catalogue.java b/src/pl/org/nowoczesnapolska/wlmobi/Catalogue.java index d296270..be22a34 100644 --- a/src/pl/org/nowoczesnapolska/wlmobi/Catalogue.java +++ b/src/pl/org/nowoczesnapolska/wlmobi/Catalogue.java @@ -5,7 +5,6 @@ package pl.org.nowoczesnapolska.wlmobi; -import android.graphics.Color; import android.os.Bundle; import android.view.KeyEvent; import android.view.Menu;