mirror of
https://github.com/iSoron/uhabits.git
synced 2025-12-06 09:08:52 -06:00
Add notification actions (check, snooze)
This commit is contained in:
BIN
res/drawable-hdpi/ic_action_snooze.png
Normal file
BIN
res/drawable-hdpi/ic_action_snooze.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.0 KiB |
BIN
res/drawable-mdpi/ic_action_snooze.png
Normal file
BIN
res/drawable-mdpi/ic_action_snooze.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 694 B |
22
res/drawable-v21/habits_item_check_normal.xml
Normal file
22
res/drawable-v21/habits_item_check_normal.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item>
|
||||
<shape android:shape="oval" >
|
||||
<gradient
|
||||
android:endColor="#00000000"
|
||||
android:gradientRadius="50%p"
|
||||
android:startColor="#50000000"
|
||||
android:type="radial" />
|
||||
</shape>
|
||||
</item>
|
||||
<item
|
||||
android:bottom="6dp"
|
||||
android:left="4dp"
|
||||
android:right="4dp"
|
||||
android:top="2dp">
|
||||
<shape android:shape="oval" >
|
||||
<solid android:color="#ffffff" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
</layer-list>
|
||||
22
res/drawable-v21/habits_item_check_pressed.xml
Normal file
22
res/drawable-v21/habits_item_check_pressed.xml
Normal file
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item>
|
||||
<shape android:shape="oval" >
|
||||
<gradient
|
||||
android:endColor="#00000000"
|
||||
android:gradientRadius="50%p"
|
||||
android:startColor="#50000000"
|
||||
android:type="radial" />
|
||||
</shape>
|
||||
</item>
|
||||
<item
|
||||
android:bottom="6dp"
|
||||
android:left="4dp"
|
||||
android:right="4dp"
|
||||
android:top="2dp">
|
||||
<shape android:shape="oval" >
|
||||
<solid android:color="#20000000" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
</layer-list>
|
||||
BIN
res/drawable-xhdpi/ic_action_snooze.png
Normal file
BIN
res/drawable-xhdpi/ic_action_snooze.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
BIN
res/drawable-xxhdpi/ic_action_snooze.png
Normal file
BIN
res/drawable-xxhdpi/ic_action_snooze.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.1 KiB |
@@ -4,7 +4,7 @@
|
||||
<shape android:shape="oval" >
|
||||
<gradient
|
||||
android:endColor="#00000000"
|
||||
android:gradientRadius="50%p"
|
||||
android:gradientRadius="@dimen/radius"
|
||||
android:startColor="#50000000"
|
||||
android:type="radial" />
|
||||
</shape>
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
<shape android:shape="oval" >
|
||||
<gradient
|
||||
android:endColor="#00000000"
|
||||
android:gradientRadius="50%p"
|
||||
android:gradientRadius="@dimen/radius"
|
||||
android:startColor="#50000000"
|
||||
android:type="radial" />
|
||||
</shape>
|
||||
|
||||
@@ -41,5 +41,7 @@
|
||||
|
||||
<string name="habit_key"></string>
|
||||
<string name="offset_key"></string>
|
||||
|
||||
|
||||
<item type="id" name="KEY_TIMESTAMP"/>
|
||||
|
||||
</resources>
|
||||
Reference in New Issue
Block a user