kopia lustrzana https://github.com/ge0rg/aprsdroid
switch to API 19, Holo UI
rodzic
44bf2ff30c
commit
9626984a07
|
@ -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" />
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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>
|
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="MapViewTheme"
|
||||
parent="@android:style/Theme.NoTitleBar">
|
||||
</style>
|
||||
</resources>
|
|
@ -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)
|
||||
}
|
||||
}
|
||||
|
|
Ładowanie…
Reference in New Issue