Phew. Changed settings backend. Used more ENUM, fixed some bugs.
* Settings now use the database instead of SharedPreferences (which are bad) * Changed many constants to now be ENUMs. * Changed some character mappings which were too big. * Added limit to number of results returned to stop crash. * Changed Lang id so can do binary operations on it * Removed some old code
This commit is contained in:
parent
300e9df54b
commit
b40db96182
44 changed files with 1043 additions and 483 deletions
31
res/drawable/btn_circle.xml
Normal file
31
res/drawable/btn_circle.xml
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- taken from Sharp 007SH -->
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:state_window_focused="false"
|
||||
android:state_enabled="true"
|
||||
android:drawable="@drawable/btn_circle_normal" />
|
||||
<item
|
||||
android:state_window_focused="false"
|
||||
android:state_enabled="false"
|
||||
android:drawable="@drawable/btn_circle_disable" />
|
||||
<item
|
||||
android:state_enabled="false"
|
||||
android:state_pressed="true"
|
||||
android:drawable="@drawable/btn_circle_disable" />
|
||||
<item
|
||||
android:state_pressed="true"
|
||||
android:drawable="@drawable/btn_circle_pressed" />
|
||||
<item
|
||||
android:state_focused="true"
|
||||
android:state_enabled="true"
|
||||
android:drawable="@drawable/btn_circle_selected" />
|
||||
<item
|
||||
android:state_enabled="true"
|
||||
android:drawable="@drawable/btn_circle_normal" />
|
||||
<item
|
||||
android:state_focused="true"
|
||||
android:drawable="@drawable/btn_circle_disable_focused" />
|
||||
<item android:drawable="@drawable/btn_circle_disable" />
|
||||
</selector>
|
||||
9
res/drawable/ic_btn_round_more.xml
Normal file
9
res/drawable/ic_btn_round_more.xml
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- taken from Sharp 007SH -->
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item
|
||||
android:state_enabled="false"
|
||||
android:drawable="@drawable/ic_btn_round_more_disabled" />
|
||||
<item android:drawable="@drawable/ic_btn_round_more_normal" />
|
||||
</selector>
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 894 B After Width: | Height: | Size: 888 B |
Binary file not shown.
|
Before Width: | Height: | Size: 915 B After Width: | Height: | Size: 817 B |
Binary file not shown.
|
Before Width: | Height: | Size: 823 B After Width: | Height: | Size: 809 B |
Loading…
Add table
Add a link
Reference in a new issue