switch to API 19, Holo UI

usb
Georg Lukas 2014-06-30 09:39:34 +02:00
rodzic 44bf2ff30c
commit 9626984a07
5 zmienionych plików z 19 dodań i 5 usunięć

Wyświetl plik

@ -6,7 +6,7 @@
android:installLocation="auto">
<uses-sdk android:minSdkVersion="3"
android:targetSdkVersion="8" />
android:targetSdkVersion="19" />
<uses-feature android:name="android.hardware.bluetooth" android:required="false" />
<uses-feature android:name="android.hardware.location" android:required="false" />
@ -63,7 +63,7 @@
<activity android:name=".MapAct" android:label="@string/app_map"
android:launchMode="singleTop"
android:configChanges="orientation|keyboardHidden"
android:theme="@android:style/Theme.NoTitleBar" >
android:theme="@style/MapViewTheme" >
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.DEFAULT" />

Wyświetl plik

@ -8,7 +8,7 @@
# project structure.
# Project target.
target=Google Inc.:Google APIs:8
target=Google Inc.:Google APIs:19
# work around yet another android SDK fuckup
renderscript.opt.level=O0

Wyświetl plik

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="MapViewTheme"
parent="@android:style/Theme.Holo.Light.DarkActionBar">
<!--item name="android:windowActionBarOverlay">true</item>
<item name="android:background">#64000000</item-->
</style>
</resources>

Wyświetl plik

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="MapViewTheme"
parent="@android:style/Theme.NoTitleBar">
</style>
</resources>

Wyświetl plik

@ -99,12 +99,12 @@ abstract class ServiceNotifier {
class DonutNotifier extends ServiceNotifier {
def start(ctx : Service, status : String) = {
ctx.setForeground(true)
//ctx.setForeground(true)
getNotificationMgr(ctx).notify(SERVICE_NOTIFICATION, newNotification(ctx, status))
}
def stop(ctx : Service) = {
ctx.setForeground(false)
//ctx.setForeground(false)
getNotificationMgr(ctx).cancel(SERVICE_NOTIFICATION)
}
}