added a temp widget icon

This commit is contained in:
2011-01-31 05:38:16 +00:00
parent 1ad7485edb
commit 1e5667d018
5 changed files with 7 additions and 7 deletions

View File

@@ -12,6 +12,8 @@ public final class R {
}
public static final class drawable {
public static final int icon=0x7f020000;
public static final int sign_post_icon=0x7f020001;
public static final int sign_post_icon_mod=0x7f020002;
}
public static final class id {
public static final int authCode=0x7f060002;

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 8.5 KiB

View File

@@ -4,9 +4,9 @@
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<Button
<ImageButton
android:id="@+id/widgetbutton"
android:text="Post"
android:background="@drawable/sign_post_icon_mod"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
/>

View File

@@ -43,6 +43,8 @@ public class LocationService extends Service implements LocationListener {
private WakeLock mWakeLock;
private Location mLocation;
private int mStartId;
private Notification mNotification;
private NotificationManager mNotificationManager;
/**
* this runnable will be qued when the service is created. this will be used as a fail safe
@@ -55,10 +57,6 @@ public class LocationService extends Service implements LocationListener {
}
};
private Notification mNotification;
private NotificationManager mNotificationManager;
/**
* a convince method for starting the service
* @param context