More icon changes, including switching to vector icons.
4
.idea/libraries/library_2_4_0.xml
generated
@ -4,8 +4,6 @@
|
|||||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.nineoldandroids/library/2.4.0/e9b63380f3a242dbdbf103a2355ad7e43bad17cb/library-2.4.0.jar!/" />
|
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.nineoldandroids/library/2.4.0/e9b63380f3a242dbdbf103a2355ad7e43bad17cb/library-2.4.0.jar!/" />
|
||||||
</CLASSES>
|
</CLASSES>
|
||||||
<JAVADOC />
|
<JAVADOC />
|
||||||
<SOURCES>
|
<SOURCES />
|
||||||
<root url="jar://$USER_HOME$/.gradle/caches/modules-2/files-2.1/com.nineoldandroids/library/2.4.0/83d41901478fa8795254244acbafd03f14224dab/library-2.4.0-sources.jar!/" />
|
|
||||||
</SOURCES>
|
|
||||||
</library>
|
</library>
|
||||||
</component>
|
</component>
|
@ -18,7 +18,7 @@ import android.widget.Button;
|
|||||||
|
|
||||||
// TODO sound audible alarm -- see AlarmKlaxon.java
|
// TODO sound audible alarm -- see AlarmKlaxon.java
|
||||||
// TODO Lower alarm volume if in phone call (and detect phone call!)
|
// TODO Lower alarm volume if in phone call (and detect phone call!)
|
||||||
// TODO set another alarm for the next half-hour (or grace_period / 2)?
|
// TODO Snooze? set another alarm for the next half-hour (or grace_period / 2)?
|
||||||
|
|
||||||
public class AlarmAlertActivity extends Activity {
|
public class AlarmAlertActivity extends Activity {
|
||||||
// TODO correct alert lifetime
|
// TODO correct alert lifetime
|
||||||
|
@ -42,7 +42,7 @@ public class AlarmNotify extends Service {
|
|||||||
final long endTime = System.currentTimeMillis() + (gracePeriod * 60 * 1000);
|
final long endTime = System.currentTimeMillis() + (gracePeriod * 60 * 1000);
|
||||||
|
|
||||||
//Bitmap bm = BitmapFactory.decodeResource(getResources(), R.drawable.alarm_notification);
|
//Bitmap bm = BitmapFactory.decodeResource(getResources(), R.drawable.alarm_notification);
|
||||||
Bitmap bm = BitmapFactory.decodeResource(getResources(), R.drawable.ic_grayscale);
|
Bitmap bm = BitmapFactory.decodeResource(getResources(), R.drawable.ic_launcher_grey);
|
||||||
final NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
|
final NotificationManager nm = (NotificationManager) getSystemService(Context.NOTIFICATION_SERVICE);
|
||||||
final Notification.Builder notification = new Notification.Builder(this)
|
final Notification.Builder notification = new Notification.Builder(this)
|
||||||
.setContentTitle(getString(R.string.app_name))
|
.setContentTitle(getString(R.string.app_name))
|
||||||
|
Before Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 7.0 KiB |
Before Width: | Height: | Size: 4.1 KiB |
Before Width: | Height: | Size: 3.8 KiB |
Before Width: | Height: | Size: 11 KiB |
Before Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 23 KiB |
Before Width: | Height: | Size: 19 KiB |
Before Width: | Height: | Size: 64 KiB |
504
HypoAlarm/src/main/res/drawable/ic_launcher.svg
Normal file
After Width: | Height: | Size: 20 KiB |
491
HypoAlarm/src/main/res/drawable/ic_launcher_grey.svg
Normal file
After Width: | Height: | Size: 19 KiB |