From e02aa48b6f2b7ddca9b55c56288cd2512702da6d Mon Sep 17 00:00:00 2001 From: Radek Czajka Date: Thu, 8 Sep 2011 15:24:28 +0200 Subject: [PATCH] nicer spinner animation, some cleaning --- AndroidManifest.xml | 2 +- assets/www/css/book_text.css | 156 +----------------- assets/www/css/style.css | 7 +- assets/www/js/view.js | 11 +- .../nowoczesnapolska/wlmobi/Catalogue.java | 1 - 5 files changed, 19 insertions(+), 158 deletions(-) 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; -- 2.20.1