Fixed the green theme colors. Added dark gray theme. Renamed the themes
after metals.
5
AndorsTrail/res/drawable/ui_charcoal_buttonbar.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item android:drawable="@drawable/ui_charcoal_buttonbar_bg"/>
|
||||
<item android:drawable="@drawable/ui_charcoal_buttonbar_frame"/>
|
||||
</layer-list>
|
||||
41
AndorsTrail/res/drawable/ui_charcoal_buttonbar_bg.xml
Normal file
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_buttonbar_bg_enabled_unpressed"
|
||||
android:state_pressed="false"
|
||||
android:state_enabled="true"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_buttonbar_bg_enabled_pressed"
|
||||
android:state_pressed="true"
|
||||
android:state_enabled="true"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_buttonbar_bg_disabled_unpressed"
|
||||
android:state_pressed="false"
|
||||
android:state_enabled="false"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_buttonbar_bg_disabled_pressed"
|
||||
android:state_pressed="true"
|
||||
android:state_enabled="false"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_buttonbar_bg_enabled_unpressed"
|
||||
android:state_enabled="true"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_buttonbar_bg_disabled_unpressed"
|
||||
android:state_enabled="false"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_buttonbar_bg_enabled_unpressed"
|
||||
/>
|
||||
|
||||
</selector>
|
||||
|
After Width: | Height: | Size: 426 B |
|
After Width: | Height: | Size: 416 B |
|
After Width: | Height: | Size: 426 B |
|
After Width: | Height: | Size: 416 B |
29
AndorsTrail/res/drawable/ui_charcoal_buttonbar_frame.xml
Normal file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res/com.gpl.rpg.AndorsTrail" >
|
||||
|
||||
<item app:single="true" android:drawable="@drawable/ui_charcoal_buttonbar_frame_solo" />
|
||||
|
||||
<item app:vertical="true" app:first="true" app:reverse="false" android:drawable="@drawable/ui_charcoal_buttonbar_frame_vtop" />
|
||||
<item app:vertical="true" app:first="true" app:reverse="true" android:drawable="@drawable/ui_charcoal_buttonbar_frame_vbottom" />
|
||||
<item app:vertical="true" app:first="true" android:drawable="@drawable/ui_charcoal_buttonbar_frame_vtop" />
|
||||
|
||||
<item app:vertical="true" app:last="true" app:reverse="false" android:drawable="@drawable/ui_charcoal_buttonbar_frame_vbottom" />
|
||||
<item app:vertical="true" app:last="true" app:reverse="true" android:drawable="@drawable/ui_charcoal_buttonbar_frame_vtop" />
|
||||
<item app:vertical="true" app:last="true" android:drawable="@drawable/ui_charcoal_buttonbar_frame_vbottom" />
|
||||
|
||||
<item app:vertical="true" android:drawable="@drawable/ui_charcoal_buttonbar_frame_vmid" />
|
||||
|
||||
<item app:horizontal="true" app:first="true" app:reverse="false" android:drawable="@drawable/ui_charcoal_buttonbar_frame_hleft" />
|
||||
<item app:horizontal="true" app:first="true" app:reverse="true" android:drawable="@drawable/ui_charcoal_buttonbar_frame_hright" />
|
||||
<item app:horizontal="true" app:first="true" android:drawable="@drawable/ui_charcoal_buttonbar_frame_hleft" />
|
||||
|
||||
<item app:horizontal="true" app:last="true" app:reverse="false" android:drawable="@drawable/ui_charcoal_buttonbar_frame_hright" />
|
||||
<item app:horizontal="true" app:last="true" app:reverse="true" android:drawable="@drawable/ui_charcoal_buttonbar_frame_hleft" />
|
||||
<item app:horizontal="true" app:last="true" android:drawable="@drawable/ui_charcoal_buttonbar_frame_hright" />
|
||||
|
||||
<item app:horizontal="true" android:drawable="@drawable/ui_charcoal_buttonbar_frame_hmid" />
|
||||
|
||||
<item android:drawable="@drawable/ui_charcoal_buttonbar_frame_solo" />
|
||||
|
||||
</selector>
|
||||
BIN
AndorsTrail/res/drawable/ui_charcoal_buttonbar_frame_hleft.9.png
Normal file
|
After Width: | Height: | Size: 448 B |
BIN
AndorsTrail/res/drawable/ui_charcoal_buttonbar_frame_hmid.9.png
Normal file
|
After Width: | Height: | Size: 435 B |
|
After Width: | Height: | Size: 445 B |
BIN
AndorsTrail/res/drawable/ui_charcoal_buttonbar_frame_solo.9.png
Normal file
|
After Width: | Height: | Size: 451 B |
|
After Width: | Height: | Size: 460 B |
BIN
AndorsTrail/res/drawable/ui_charcoal_buttonbar_frame_vmid.9.png
Normal file
|
After Width: | Height: | Size: 438 B |
BIN
AndorsTrail/res/drawable/ui_charcoal_buttonbar_frame_vtop.9.png
Normal file
|
After Width: | Height: | Size: 458 B |
13
AndorsTrail/res/drawable/ui_charcoal_groupindicator.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_radiobutton_enabled_checked"
|
||||
android:state_expanded="true"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_radiobutton_enabled_unchecked"
|
||||
/>
|
||||
|
||||
</selector>
|
||||
BIN
AndorsTrail/res/drawable/ui_charcoal_lightframe.9.png
Normal file
|
After Width: | Height: | Size: 382 B |
BIN
AndorsTrail/res/drawable/ui_charcoal_lightframe_highlight.9.png
Normal file
|
After Width: | Height: | Size: 393 B |
15
AndorsTrail/res/drawable/ui_charcoal_listseparator.xml
Normal file
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item android:top="1dp" android:left="2dp" android:right="2dp" android:bottom="2dp">
|
||||
<shape android:shape="line">
|
||||
<stroke android:width="1dp" android:color="@color/ui_charcoal_palette_charcoal_light"/>
|
||||
<size android:height="4dp"/>
|
||||
</shape>
|
||||
</item>
|
||||
<item android:top="2dp" android:left="3dp" android:right="3dp" android:bottom="1dp">
|
||||
<shape android:shape="line">
|
||||
<stroke android:width="1dp" android:color="@android:color/black"/>
|
||||
<size android:height="4dp"/>
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
||||
41
AndorsTrail/res/drawable/ui_charcoal_radiobutton.xml
Normal file
@@ -0,0 +1,41 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_radiobutton_enabled_checked"
|
||||
android:state_pressed="true"
|
||||
android:state_enabled="true"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_radiobutton_enabled_checked"
|
||||
android:state_selected="true"
|
||||
android:state_enabled="true"
|
||||
/>
|
||||
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_radiobutton_enabled_unchecked"
|
||||
android:state_checked="false"
|
||||
android:state_enabled="true"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_radiobutton_enabled_checked"
|
||||
android:state_checked="true"
|
||||
android:state_enabled="true"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_radiobutton_disabled_unchecked"
|
||||
android:state_checked="false"
|
||||
android:state_enabled="false"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_radiobutton_disabled_checked"
|
||||
android:state_checked="true"
|
||||
android:state_enabled="false"
|
||||
/>
|
||||
|
||||
</selector>
|
||||
|
After Width: | Height: | Size: 625 B |
|
After Width: | Height: | Size: 580 B |
|
After Width: | Height: | Size: 638 B |
|
After Width: | Height: | Size: 600 B |
BIN
AndorsTrail/res/drawable/ui_charcoal_richframe.9.png
Normal file
|
After Width: | Height: | Size: 565 B |
5
AndorsTrail/res/drawable/ui_charcoal_spinner.xml
Normal file
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item android:drawable="@drawable/ui_charcoal_spinner_bg"/>
|
||||
<item android:drawable="@drawable/ui_charcoal_spinner_arrow"/>
|
||||
</layer-list>
|
||||
BIN
AndorsTrail/res/drawable/ui_charcoal_spinner_arrow.9.png
Normal file
|
After Width: | Height: | Size: 379 B |
31
AndorsTrail/res/drawable/ui_charcoal_spinner_bg.xml
Normal file
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:constantSize="true">
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_spinner_enabled_unpressed"
|
||||
android:state_pressed="false"
|
||||
android:state_enabled="true"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_spinner_enabled_pressed"
|
||||
android:state_pressed="true"
|
||||
android:state_enabled="true"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_spinner_disabled_unpressed"
|
||||
android:state_pressed="false"
|
||||
android:state_enabled="false"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_spinner_disabled_pressed"
|
||||
android:state_pressed="true"
|
||||
android:state_enabled="false"
|
||||
/>
|
||||
|
||||
|
||||
|
||||
</selector>
|
||||
|
After Width: | Height: | Size: 482 B |
|
After Width: | Height: | Size: 480 B |
|
After Width: | Height: | Size: 505 B |
|
After Width: | Height: | Size: 497 B |
7
AndorsTrail/res/drawable/ui_charcoal_spinner_list_bg.xml
Normal file
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item android:state_focused="true" android:drawable="@drawable/ui_charcoal_lightframe_highlight"/>
|
||||
<item android:state_pressed="true" android:drawable="@drawable/ui_charcoal_lightframe_highlight"/>
|
||||
<item android:state_checked="true" android:drawable="@drawable/ui_charcoal_lightframe_highlight"/>
|
||||
<item android:state_checked="false" android:drawable="@drawable/ui_charcoal_lightframe"/>
|
||||
</selector>
|
||||
BIN
AndorsTrail/res/drawable/ui_charcoal_stdframe.9.png
Normal file
|
After Width: | Height: | Size: 583 B |
BIN
AndorsTrail/res/drawable/ui_charcoal_submenu_indicator.9.png
Normal file
|
After Width: | Height: | Size: 351 B |
BIN
AndorsTrail/res/drawable/ui_charcoal_tabframe.9.png
Normal file
|
After Width: | Height: | Size: 455 B |
BIN
AndorsTrail/res/drawable/ui_charcoal_tabframe_topoverlay.9.png
Normal file
|
After Width: | Height: | Size: 341 B |
34
AndorsTrail/res/drawable/ui_charcoal_tabwidget.xml
Normal file
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:constantSize="true">
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_tabwidget_enabled_selected"
|
||||
android:state_pressed="true"
|
||||
android:state_enabled="true"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_tabwidget_enabled_unselected"
|
||||
android:state_selected="false"
|
||||
android:state_enabled="true"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_tabwidget_enabled_selected"
|
||||
android:state_selected="true"
|
||||
android:state_enabled="true"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_tabwidget_disabled_unselected"
|
||||
android:state_selected="false"
|
||||
android:state_enabled="false"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_tabwidget_disabled_selected"
|
||||
android:state_selected="true"
|
||||
android:state_enabled="false"
|
||||
/>
|
||||
</selector>
|
||||
|
After Width: | Height: | Size: 447 B |
|
After Width: | Height: | Size: 433 B |
|
After Width: | Height: | Size: 475 B |
|
After Width: | Height: | Size: 441 B |
31
AndorsTrail/res/drawable/ui_charcoal_textbutton.xml
Normal file
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:constantSize="true">
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_textbutton_enabled_unpressed"
|
||||
android:state_pressed="false"
|
||||
android:state_enabled="true"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_textbutton_enabled_pressed"
|
||||
android:state_pressed="true"
|
||||
android:state_enabled="true"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_textbutton_disabled_unpressed"
|
||||
android:state_pressed="false"
|
||||
android:state_enabled="false"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_textbutton_disabled_pressed"
|
||||
android:state_pressed="true"
|
||||
android:state_enabled="false"
|
||||
/>
|
||||
|
||||
|
||||
|
||||
</selector>
|
||||
|
After Width: | Height: | Size: 452 B |
|
After Width: | Height: | Size: 450 B |
|
After Width: | Height: | Size: 465 B |
|
After Width: | Height: | Size: 463 B |
34
AndorsTrail/res/drawable/ui_charcoal_togglebutton.xml
Normal file
@@ -0,0 +1,34 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:constantSize="true">
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_textbutton_enabled_pressed"
|
||||
android:state_pressed="true"
|
||||
android:state_enabled="true"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_textbutton_enabled_unpressed"
|
||||
android:state_checked="false"
|
||||
android:state_enabled="true"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_textbutton_enabled_pressed"
|
||||
android:state_checked="true"
|
||||
android:state_enabled="true"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_textbutton_disabled_unpressed"
|
||||
android:state_checked="false"
|
||||
android:state_enabled="false"
|
||||
/>
|
||||
|
||||
<item
|
||||
android:drawable="@drawable/ui_charcoal_textbutton_disabled_pressed"
|
||||
android:state_checked="true"
|
||||
android:state_enabled="false"
|
||||
/>
|
||||
</selector>
|
||||
|
Before Width: | Height: | Size: 421 B After Width: | Height: | Size: 416 B |
|
Before Width: | Height: | Size: 410 B After Width: | Height: | Size: 411 B |
|
Before Width: | Height: | Size: 418 B After Width: | Height: | Size: 427 B |
|
Before Width: | Height: | Size: 408 B After Width: | Height: | Size: 416 B |
|
Before Width: | Height: | Size: 442 B After Width: | Height: | Size: 448 B |
|
Before Width: | Height: | Size: 429 B After Width: | Height: | Size: 435 B |
|
Before Width: | Height: | Size: 439 B After Width: | Height: | Size: 445 B |
|
Before Width: | Height: | Size: 445 B After Width: | Height: | Size: 451 B |
|
Before Width: | Height: | Size: 454 B After Width: | Height: | Size: 460 B |
|
Before Width: | Height: | Size: 432 B After Width: | Height: | Size: 438 B |
|
Before Width: | Height: | Size: 452 B After Width: | Height: | Size: 458 B |
|
Before Width: | Height: | Size: 375 B After Width: | Height: | Size: 382 B |
|
Before Width: | Height: | Size: 389 B After Width: | Height: | Size: 396 B |
|
Before Width: | Height: | Size: 655 B After Width: | Height: | Size: 637 B |
|
Before Width: | Height: | Size: 614 B After Width: | Height: | Size: 611 B |
|
Before Width: | Height: | Size: 660 B After Width: | Height: | Size: 661 B |
|
Before Width: | Height: | Size: 615 B After Width: | Height: | Size: 613 B |
|
Before Width: | Height: | Size: 567 B After Width: | Height: | Size: 566 B |
|
Before Width: | Height: | Size: 373 B After Width: | Height: | Size: 379 B |
|
Before Width: | Height: | Size: 511 B After Width: | Height: | Size: 500 B |
|
Before Width: | Height: | Size: 509 B After Width: | Height: | Size: 498 B |
|
Before Width: | Height: | Size: 512 B After Width: | Height: | Size: 512 B |
|
Before Width: | Height: | Size: 512 B After Width: | Height: | Size: 506 B |
|
Before Width: | Height: | Size: 586 B After Width: | Height: | Size: 585 B |
|
Before Width: | Height: | Size: 345 B After Width: | Height: | Size: 351 B |
|
Before Width: | Height: | Size: 456 B After Width: | Height: | Size: 459 B |
|
Before Width: | Height: | Size: 335 B After Width: | Height: | Size: 341 B |
|
Before Width: | Height: | Size: 488 B After Width: | Height: | Size: 465 B |
|
Before Width: | Height: | Size: 446 B After Width: | Height: | Size: 443 B |
|
Before Width: | Height: | Size: 498 B After Width: | Height: | Size: 466 B |
|
Before Width: | Height: | Size: 453 B After Width: | Height: | Size: 444 B |
|
Before Width: | Height: | Size: 455 B After Width: | Height: | Size: 470 B |
|
Before Width: | Height: | Size: 493 B After Width: | Height: | Size: 466 B |
|
Before Width: | Height: | Size: 465 B After Width: | Height: | Size: 457 B |
|
Before Width: | Height: | Size: 467 B After Width: | Height: | Size: 471 B |
@@ -1,25 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="AndorsTrailTheme_Blue_v14" parent="AndorsTrailTheme_Base">
|
||||
<item name="android:buttonBarStyle">@style/AndorsTrail_Style_StdFrame</item>
|
||||
<item name="android:dialogTheme">@style/AndorsTrailDialogTheme_Blue</item>
|
||||
</style>
|
||||
|
||||
<style name="AndorsTrailDialogTheme_Blue_v14" parent="AndorsTrailDialogTheme_Base">
|
||||
<item name="android:buttonBarButtonStyle">@style/AndorsTrail_Style_TextButton</item>
|
||||
<item name="android:buttonBarStyle">@style/AndorsTrail_Style_StdFrame</item>
|
||||
<item name="android:dialogTheme">@style/AndorsTrailDialogTheme_Blue</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="AndorsTrailTheme_Green_v14" parent="AndorsTrailTheme_Green_Base">
|
||||
<item name="android:buttonBarStyle">@style/AndorsTrail_Style_StdFrame</item>
|
||||
<item name="android:dialogTheme">@style/AndorsTrailDialogTheme_Green</item>
|
||||
</style>
|
||||
|
||||
<style name="AndorsTrailDialogTheme_Green_v14" parent="AndorsTrailDialogTheme_Green_Base">
|
||||
<item name="android:buttonBarButtonStyle">@style/AndorsTrail_Style_TextButton</item>
|
||||
<item name="android:buttonBarStyle">@style/AndorsTrail_Style_StdFrame</item>
|
||||
<item name="android:dialogTheme">@style/AndorsTrailDialogTheme_Green</item>
|
||||
</style>
|
||||
</resources>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="AndorsTrailTheme_Blue_v14" parent="AndorsTrailTheme_Base">
|
||||
<item name="android:buttonBarStyle">@style/AndorsTrail_Style_StdFrame</item>
|
||||
<item name="android:dialogTheme">@style/AndorsTrailDialogTheme_Blue</item>
|
||||
</style>
|
||||
|
||||
<style name="AndorsTrailDialogTheme_Blue_v14" parent="AndorsTrailDialogTheme_Base">
|
||||
<item name="android:buttonBarButtonStyle">@style/AndorsTrail_Style_TextButton</item>
|
||||
<item name="android:buttonBarStyle">@style/AndorsTrail_Style_StdFrame</item>
|
||||
<item name="android:dialogTheme">@style/AndorsTrailDialogTheme_Blue</item>
|
||||
</style>
|
||||
|
||||
<style name="AndorsTrailTheme_Green_v14" parent="AndorsTrailTheme_Green_Base">
|
||||
<item name="android:dialogTheme">@style/AndorsTrailDialogTheme_Green</item>
|
||||
</style>
|
||||
|
||||
<style name="AndorsTrailDialogTheme_Green_v14" parent="AndorsTrailDialogTheme_Green_Base">
|
||||
<item name="android:dialogTheme">@style/AndorsTrailDialogTheme_Green</item>
|
||||
</style>
|
||||
|
||||
<style name="AndorsTrailTheme_Charcoal_v14" parent="AndorsTrailTheme_Charcoal_Base">
|
||||
<item name="android:dialogTheme">@style/AndorsTrailDialogTheme_Charcoal</item>
|
||||
</style>
|
||||
|
||||
<style name="AndorsTrailDialogTheme_Charcoal_v14" parent="AndorsTrailDialogTheme_Charcoal_Base">
|
||||
<item name="android:dialogTheme">@style/AndorsTrailDialogTheme_Charcoal</item>
|
||||
</style>
|
||||
</resources>
|
||||
|
||||
@@ -1,175 +1,177 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<resources>
|
||||
|
||||
<string-array name="questlog_includecompleted">
|
||||
<item>@string/questlog_includecompleted_hidecompleted</item>
|
||||
<item>@string/questlog_includecompleted_includecompleted</item>
|
||||
<item>@string/questlog_includecompleted_onlycompleted</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Order is hardcoded within HeroInfoActivity_inventory-->
|
||||
<string-array name="inventorylist_category_filters">
|
||||
<item>@string/inventory_category_all</item>
|
||||
<item>@string/inventory_category_weapons</item>
|
||||
<item>@string/inventory_category_armor</item>
|
||||
<item>@string/inventory_category_usable</item>
|
||||
<item>@string/inventory_category_quest</item>
|
||||
<item>@string/inventory_category_other</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Order is hardcoded within ItemContainerAdapter method-->
|
||||
<string-array name="inventorylist_sort_filters">
|
||||
<item>@string/inventory_sort_custom</item>
|
||||
<item>@string/inventory_sort_name</item>
|
||||
<item>@string/inventory_sort_price</item>
|
||||
<item>@string/inventory_sort_quantity</item>
|
||||
<item>@string/inventory_sort_rarity</item>
|
||||
<item>@string/inventory_sort_type</item>
|
||||
</string-array>
|
||||
|
||||
<!-- the categories need to be in the same order as SkillList.SkillCategory-->
|
||||
<string-array name="skill_category_filters">
|
||||
<item>@string/skill_category_all</item>
|
||||
<item>@string/skill_category_offense</item>
|
||||
<item>@string/skill_category_defense</item>
|
||||
<item>@string/skill_category_criticals</item>
|
||||
<item>@string/skill_category_immunity</item>
|
||||
<item>@string/skill_category_utility</item>
|
||||
<item>@string/skill_category_speciality</item>
|
||||
<item>@string/skill_category_proficiency</item>
|
||||
</string-array>
|
||||
|
||||
<!-- order is hardcoded in HeroInfoActivity_skills method -->
|
||||
<string-array name="skill_sort_filters">
|
||||
<item>@string/skill_sort_unsorted</item>
|
||||
<item>@string/skill_sort_name</item>
|
||||
<item>@string/skill_sort_points</item>
|
||||
<item>@string/skill_sort_unlocked</item>
|
||||
</string-array>
|
||||
|
||||
<!-- order hardcoded similar to skills adapter -->
|
||||
<string-array name="shoplist_sort_filters">
|
||||
<item>@string/shoplist_sort_custom</item>
|
||||
<item>@string/shoplist_sort_name</item>
|
||||
<item>@string/shoplist_sort_price</item>
|
||||
<item>@string/shoplist_sort_quantity</item>
|
||||
<item>@string/shoplist_sort_rarity</item>
|
||||
<item>@string/shoplist_sort_type</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="preferences_display_loot">
|
||||
<item>@string/preferences_display_loot_dialog</item>
|
||||
<item>@string/preferences_display_loot_dialog_on_items</item>
|
||||
<item>@string/preferences_display_loot_dialog_on_items_or_toast</item>
|
||||
<item>@string/preferences_display_loot_toast</item>
|
||||
<item>@string/preferences_display_loot_toast_on_items</item>
|
||||
<item>@string/preferences_display_loot_never</item>
|
||||
</string-array>
|
||||
<string-array name="preferences_display_loot_values">
|
||||
<item>0</item>
|
||||
<item>3</item>
|
||||
<item>4</item>
|
||||
<item>1</item>
|
||||
<item>5</item>
|
||||
<item>2</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="preferences_attackspeed">
|
||||
<item>@string/preferences_attackspeed_instant</item>
|
||||
<item>@string/preferences_attackspeed_fast</item>
|
||||
<item>@string/preferences_attackspeed_normal</item>
|
||||
<item>@string/preferences_attackspeed_slow</item>
|
||||
</string-array>
|
||||
<string-array name="preferences_attackspeed_values">
|
||||
<item>0</item>
|
||||
<item>400</item>
|
||||
<item>1000</item>
|
||||
<item>1500</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="preferences_movementmethods">
|
||||
<item>@string/preferences_movementmethods_straight</item>
|
||||
<item>@string/preferences_movementmethods_avoid</item>
|
||||
</string-array>
|
||||
<string-array name="preferences_movementmethod_values">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
</string-array>
|
||||
|
||||
|
||||
<string-array name="preferences_display_theme">
|
||||
<item>@string/preferences_display_theme_blue</item>
|
||||
<item>@string/preferences_display_theme_green</item>
|
||||
</string-array>
|
||||
<string-array name="preferences_display_theme_values">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
</string-array>
|
||||
|
||||
|
||||
<string-array name="preferences_display_scaling_factor">
|
||||
<item>@string/preferences_display_scaling_factor_normal</item>
|
||||
<item>@string/preferences_display_scaling_factor_50_percent_larger</item>
|
||||
<item>@string/preferences_display_scaling_factor_double</item>
|
||||
</string-array>
|
||||
<string-array name="preferences_display_scaling_factor_values">
|
||||
<item>1.0f</item>
|
||||
<item>1.5f</item>
|
||||
<item>2.0f</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="preferences_movement_dpad_positions">
|
||||
<item>@string/preferences_movement_dpad_positions_disabled</item>
|
||||
<item>@string/preferences_movement_dpad_positions_lower_right</item>
|
||||
<item>@string/preferences_movement_dpad_positions_lower_left</item>
|
||||
<item>@string/preferences_movement_dpad_positions_center_bottom</item>
|
||||
<item>@string/preferences_movement_dpad_positions_center_left</item>
|
||||
<item>@string/preferences_movement_dpad_positions_center_right</item>
|
||||
<item>@string/preferences_movement_dpad_positions_upper_left</item>
|
||||
<item>@string/preferences_movement_dpad_positions_upper_right</item>
|
||||
<item>@string/preferences_movement_dpad_positions_center_top</item>
|
||||
</string-array>
|
||||
<string-array name="preferences_movement_dpad_positions_values">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
<item>4</item>
|
||||
<item>5</item>
|
||||
<item>6</item>
|
||||
<item>7</item>
|
||||
<item>8</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="preferences_display_overwrite_savegame_entries">
|
||||
<item>@string/preferences_display_overwrite_savegame_entries_always_confirm</item>
|
||||
<item>@string/preferences_display_overwrite_savegame_entries_confirm_overwrite</item>
|
||||
<item>@string/preferences_display_overwrite_savegame_entries_never_confirm</item>
|
||||
</string-array>
|
||||
<string-array name="preferences_display_overwrite_savegame_values">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="preferences_quickslots_placements">
|
||||
<item>@string/preferences_quickslots_placements_horizontal_center_bottom</item>
|
||||
<item>@string/preferences_quickslots_placements_vertical_center_left</item>
|
||||
<item>@string/preferences_quickslots_placements_vertical_center_right</item>
|
||||
<item>@string/preferences_quickslots_placements_vertical_bottom_left</item>
|
||||
<item>@string/preferences_quickslots_placements_horizontal_bottom_left</item>
|
||||
<item>@string/preferences_quickslots_placements_horizontal_bottom_right</item>
|
||||
<item>@string/preferences_quickslots_placements_vertical_bottom_right</item>
|
||||
</string-array>
|
||||
<string-array name="preferences_quickslots_placements_values">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
<item>4</item>
|
||||
<item>5</item>
|
||||
<item>6</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
|
||||
<resources>
|
||||
|
||||
<string-array name="questlog_includecompleted">
|
||||
<item>@string/questlog_includecompleted_hidecompleted</item>
|
||||
<item>@string/questlog_includecompleted_includecompleted</item>
|
||||
<item>@string/questlog_includecompleted_onlycompleted</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Order is hardcoded within HeroInfoActivity_inventory-->
|
||||
<string-array name="inventorylist_category_filters">
|
||||
<item>@string/inventory_category_all</item>
|
||||
<item>@string/inventory_category_weapons</item>
|
||||
<item>@string/inventory_category_armor</item>
|
||||
<item>@string/inventory_category_usable</item>
|
||||
<item>@string/inventory_category_quest</item>
|
||||
<item>@string/inventory_category_other</item>
|
||||
</string-array>
|
||||
|
||||
<!-- Order is hardcoded within ItemContainerAdapter method-->
|
||||
<string-array name="inventorylist_sort_filters">
|
||||
<item>@string/inventory_sort_custom</item>
|
||||
<item>@string/inventory_sort_name</item>
|
||||
<item>@string/inventory_sort_price</item>
|
||||
<item>@string/inventory_sort_quantity</item>
|
||||
<item>@string/inventory_sort_rarity</item>
|
||||
<item>@string/inventory_sort_type</item>
|
||||
</string-array>
|
||||
|
||||
<!-- the categories need to be in the same order as SkillList.SkillCategory-->
|
||||
<string-array name="skill_category_filters">
|
||||
<item>@string/skill_category_all</item>
|
||||
<item>@string/skill_category_offense</item>
|
||||
<item>@string/skill_category_defense</item>
|
||||
<item>@string/skill_category_criticals</item>
|
||||
<item>@string/skill_category_immunity</item>
|
||||
<item>@string/skill_category_utility</item>
|
||||
<item>@string/skill_category_speciality</item>
|
||||
<item>@string/skill_category_proficiency</item>
|
||||
</string-array>
|
||||
|
||||
<!-- order is hardcoded in HeroInfoActivity_skills method -->
|
||||
<string-array name="skill_sort_filters">
|
||||
<item>@string/skill_sort_unsorted</item>
|
||||
<item>@string/skill_sort_name</item>
|
||||
<item>@string/skill_sort_points</item>
|
||||
<item>@string/skill_sort_unlocked</item>
|
||||
</string-array>
|
||||
|
||||
<!-- order hardcoded similar to skills adapter -->
|
||||
<string-array name="shoplist_sort_filters">
|
||||
<item>@string/shoplist_sort_custom</item>
|
||||
<item>@string/shoplist_sort_name</item>
|
||||
<item>@string/shoplist_sort_price</item>
|
||||
<item>@string/shoplist_sort_quantity</item>
|
||||
<item>@string/shoplist_sort_rarity</item>
|
||||
<item>@string/shoplist_sort_type</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="preferences_display_loot">
|
||||
<item>@string/preferences_display_loot_dialog</item>
|
||||
<item>@string/preferences_display_loot_dialog_on_items</item>
|
||||
<item>@string/preferences_display_loot_dialog_on_items_or_toast</item>
|
||||
<item>@string/preferences_display_loot_toast</item>
|
||||
<item>@string/preferences_display_loot_toast_on_items</item>
|
||||
<item>@string/preferences_display_loot_never</item>
|
||||
</string-array>
|
||||
<string-array name="preferences_display_loot_values">
|
||||
<item>0</item>
|
||||
<item>3</item>
|
||||
<item>4</item>
|
||||
<item>1</item>
|
||||
<item>5</item>
|
||||
<item>2</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="preferences_attackspeed">
|
||||
<item>@string/preferences_attackspeed_instant</item>
|
||||
<item>@string/preferences_attackspeed_fast</item>
|
||||
<item>@string/preferences_attackspeed_normal</item>
|
||||
<item>@string/preferences_attackspeed_slow</item>
|
||||
</string-array>
|
||||
<string-array name="preferences_attackspeed_values">
|
||||
<item>0</item>
|
||||
<item>400</item>
|
||||
<item>1000</item>
|
||||
<item>1500</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="preferences_movementmethods">
|
||||
<item>@string/preferences_movementmethods_straight</item>
|
||||
<item>@string/preferences_movementmethods_avoid</item>
|
||||
</string-array>
|
||||
<string-array name="preferences_movementmethod_values">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
</string-array>
|
||||
|
||||
|
||||
<string-array name="preferences_display_theme">
|
||||
<item>@string/preferences_display_theme_blue</item>
|
||||
<item>@string/preferences_display_theme_green</item>
|
||||
<item>@string/preferences_display_theme_charcoal</item>
|
||||
</string-array>
|
||||
<string-array name="preferences_display_theme_values">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</string-array>
|
||||
|
||||
|
||||
<string-array name="preferences_display_scaling_factor">
|
||||
<item>@string/preferences_display_scaling_factor_normal</item>
|
||||
<item>@string/preferences_display_scaling_factor_50_percent_larger</item>
|
||||
<item>@string/preferences_display_scaling_factor_double</item>
|
||||
</string-array>
|
||||
<string-array name="preferences_display_scaling_factor_values">
|
||||
<item>1.0f</item>
|
||||
<item>1.5f</item>
|
||||
<item>2.0f</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="preferences_movement_dpad_positions">
|
||||
<item>@string/preferences_movement_dpad_positions_disabled</item>
|
||||
<item>@string/preferences_movement_dpad_positions_lower_right</item>
|
||||
<item>@string/preferences_movement_dpad_positions_lower_left</item>
|
||||
<item>@string/preferences_movement_dpad_positions_center_bottom</item>
|
||||
<item>@string/preferences_movement_dpad_positions_center_left</item>
|
||||
<item>@string/preferences_movement_dpad_positions_center_right</item>
|
||||
<item>@string/preferences_movement_dpad_positions_upper_left</item>
|
||||
<item>@string/preferences_movement_dpad_positions_upper_right</item>
|
||||
<item>@string/preferences_movement_dpad_positions_center_top</item>
|
||||
</string-array>
|
||||
<string-array name="preferences_movement_dpad_positions_values">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
<item>4</item>
|
||||
<item>5</item>
|
||||
<item>6</item>
|
||||
<item>7</item>
|
||||
<item>8</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="preferences_display_overwrite_savegame_entries">
|
||||
<item>@string/preferences_display_overwrite_savegame_entries_always_confirm</item>
|
||||
<item>@string/preferences_display_overwrite_savegame_entries_confirm_overwrite</item>
|
||||
<item>@string/preferences_display_overwrite_savegame_entries_never_confirm</item>
|
||||
</string-array>
|
||||
<string-array name="preferences_display_overwrite_savegame_values">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
</string-array>
|
||||
|
||||
<string-array name="preferences_quickslots_placements">
|
||||
<item>@string/preferences_quickslots_placements_horizontal_center_bottom</item>
|
||||
<item>@string/preferences_quickslots_placements_vertical_center_left</item>
|
||||
<item>@string/preferences_quickslots_placements_vertical_center_right</item>
|
||||
<item>@string/preferences_quickslots_placements_vertical_bottom_left</item>
|
||||
<item>@string/preferences_quickslots_placements_horizontal_bottom_left</item>
|
||||
<item>@string/preferences_quickslots_placements_horizontal_bottom_right</item>
|
||||
<item>@string/preferences_quickslots_placements_vertical_bottom_right</item>
|
||||
</string-array>
|
||||
<string-array name="preferences_quickslots_placements_values">
|
||||
<item>0</item>
|
||||
<item>1</item>
|
||||
<item>2</item>
|
||||
<item>3</item>
|
||||
<item>4</item>
|
||||
<item>5</item>
|
||||
<item>6</item>
|
||||
</string-array>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -697,8 +697,9 @@ Every skill level increases the attack chance of weapons with %1$d %% of their o
|
||||
|
||||
<string name="preferences_display_theme_title">Theme</string>
|
||||
<string name="preferences_display_theme">Choose the UI theme. (requires restart)</string>
|
||||
<string name="preferences_display_theme_blue">Blue</string>
|
||||
<string name="preferences_display_theme_green">Green</string>
|
||||
<string name="preferences_display_theme_blue">Cobalt</string>
|
||||
<string name="preferences_display_theme_green">Manganate</string>
|
||||
<string name="preferences_display_theme_charcoal">Cast-Iron</string>
|
||||
<string name="change_theme_requires_restart">Changing UI theme requires restart. Andor\'s Trail has been closed.</string>
|
||||
|
||||
|
||||
|
||||
@@ -199,7 +199,7 @@
|
||||
</style>
|
||||
|
||||
|
||||
<!-- Red style alternative -->
|
||||
<!-- Green style alternative -->
|
||||
<style name="AndorsTrailTheme_Green_Base" parent="AndorsTrailTheme_Blue" >
|
||||
<!-- XML drawables -->
|
||||
<item name="ui_theme_buttonbar_bg_drawable">@drawable/ui_green_buttonbar_bg</item>
|
||||
@@ -317,9 +317,9 @@
|
||||
<!-- ui_green concrete palette -->
|
||||
|
||||
<!-- Backgrounds -->
|
||||
<color name="ui_green_palette_green_dark">#053800</color>
|
||||
<color name="ui_green_palette_green_mid">#0C4F04</color>
|
||||
<color name="ui_green_palette_green_light">#248217</color>
|
||||
<color name="ui_green_palette_green_dark">#142323</color>
|
||||
<color name="ui_green_palette_green_mid">#1f3434</color>
|
||||
<color name="ui_green_palette_green_light">#294646</color>
|
||||
|
||||
<!-- Wrappers -->
|
||||
<style name="AndorsTrailTheme_Green_v14" parent="AndorsTrailTheme_Green_Base" />
|
||||
@@ -327,5 +327,137 @@
|
||||
|
||||
<style name="AndorsTrailTheme_Green" parent="AndorsTrailTheme_Green_v14" />
|
||||
<style name="AndorsTrailDialogTheme_Green" parent="AndorsTrailDialogTheme_Green_v14" />
|
||||
|
||||
|
||||
|
||||
<!-- Charcoal style alternative -->
|
||||
<style name="AndorsTrailTheme_Charcoal_Base" parent="AndorsTrailTheme_Blue" >
|
||||
<!-- XML drawables -->
|
||||
<item name="ui_theme_buttonbar_bg_drawable">@drawable/ui_charcoal_buttonbar_bg</item>
|
||||
<item name="ui_theme_buttonbar_drawable">@drawable/ui_charcoal_buttonbar</item>
|
||||
<item name="ui_theme_buttonbar_frame_drawable">@drawable/ui_charcoal_buttonbar_frame</item>
|
||||
<item name="ui_theme_groupindicator_drawable">@drawable/ui_charcoal_groupindicator</item>
|
||||
<item name="ui_theme_listseparator_drawable">@drawable/ui_charcoal_listseparator</item>
|
||||
<item name="ui_theme_radiobutton_drawable">@drawable/ui_charcoal_radiobutton</item>
|
||||
<item name="ui_theme_spinner_drawable">@drawable/ui_charcoal_spinner</item>
|
||||
<item name="ui_theme_spinner_bg_drawable">@drawable/ui_charcoal_spinner_bg</item>
|
||||
<item name="ui_theme_spinner_list_bg_drawable">@drawable/ui_charcoal_spinner_list_bg</item>
|
||||
<item name="ui_theme_tabwidget_drawable">@drawable/ui_charcoal_tabwidget</item>
|
||||
<item name="ui_theme_textbutton_drawable">@drawable/ui_charcoal_textbutton</item>
|
||||
<item name="ui_theme_togglebutton_drawable">@drawable/ui_charcoal_togglebutton</item>
|
||||
<!-- Bitmaps -->
|
||||
<item name="ui_theme_buttonbar_bg_disabled_pressed_bitmap">@drawable/ui_charcoal_buttonbar_bg_disabled_pressed</item>
|
||||
<item name="ui_theme_buttonbar_bg_disabled_unpressed_bitmap">@drawable/ui_charcoal_buttonbar_bg_disabled_unpressed</item>
|
||||
<item name="ui_theme_buttonbar_bg_enabled_pressed_bitmap">@drawable/ui_charcoal_buttonbar_bg_enabled_pressed</item>
|
||||
<item name="ui_theme_buttonbar_bg_enabled_unpressed_bitmap">@drawable/ui_charcoal_buttonbar_bg_enabled_unpressed</item>
|
||||
<item name="ui_theme_buttonbar_frame_hleft_bitmap">@drawable/ui_charcoal_buttonbar_frame_hleft</item>
|
||||
<item name="ui_theme_buttonbar_frame_hmid_bitmap">@drawable/ui_charcoal_buttonbar_frame_hmid</item>
|
||||
<item name="ui_theme_buttonbar_frame_hright_bitmap">@drawable/ui_charcoal_buttonbar_frame_hright</item>
|
||||
<item name="ui_theme_buttonbar_frame_solo_bitmap">@drawable/ui_charcoal_buttonbar_frame_solo</item>
|
||||
<item name="ui_theme_buttonbar_frame_vbottom_bitmap">@drawable/ui_charcoal_buttonbar_frame_vbottom</item>
|
||||
<item name="ui_theme_buttonbar_frame_vmid_bitmap">@drawable/ui_charcoal_buttonbar_frame_vmid</item>
|
||||
<item name="ui_theme_buttonbar_frame_vtop_bitmap">@drawable/ui_charcoal_buttonbar_frame_vtop</item>
|
||||
<item name="ui_theme_lightframe_bitmap">@drawable/ui_charcoal_lightframe</item>
|
||||
<item name="ui_theme_lightframe_highlight_bitmap">@drawable/ui_charcoal_lightframe_highlight</item>
|
||||
<item name="ui_theme_radiobutton_disabled_checked_bitmap">@drawable/ui_charcoal_radiobutton_disabled_checked</item>
|
||||
<item name="ui_theme_radiobutton_disabled_unchecked_bitmap">@drawable/ui_charcoal_radiobutton_disabled_unchecked</item>
|
||||
<item name="ui_theme_radiobutton_enabled_checked_bitmap">@drawable/ui_charcoal_radiobutton_enabled_checked</item>
|
||||
<item name="ui_theme_radiobutton_enabled_unchecked_bitmap">@drawable/ui_charcoal_radiobutton_enabled_unchecked</item>
|
||||
<item name="ui_theme_richframe_bitmap">@drawable/ui_charcoal_richframe</item>
|
||||
<item name="ui_theme_spinner_arrow_bitmap">@drawable/ui_charcoal_spinner_arrow</item>
|
||||
<item name="ui_theme_spinner_disabled_pressed_bitmap">@drawable/ui_charcoal_spinner_disabled_pressed</item>
|
||||
<item name="ui_theme_spinner_disabled_unpressed_bitmap">@drawable/ui_charcoal_spinner_disabled_unpressed</item>
|
||||
<item name="ui_theme_spinner_enabled_pressed_bitmap">@drawable/ui_charcoal_spinner_enabled_pressed</item>
|
||||
<item name="ui_theme_spinner_enabled_unpressed_bitmap">@drawable/ui_charcoal_spinner_enabled_unpressed</item>
|
||||
<item name="ui_theme_stdframe_bitmap">@drawable/ui_charcoal_stdframe</item>
|
||||
<item name="ui_theme_submenu_indicator_bitmap">@drawable/ui_charcoal_submenu_indicator</item>
|
||||
<item name="ui_theme_tabframe_bitmap">@drawable/ui_charcoal_tabframe</item>
|
||||
<item name="ui_theme_tabwidget_disabled_selected_bitmap">@drawable/ui_charcoal_tabwidget_disabled_selected</item>
|
||||
<item name="ui_theme_tabwidget_disabled_unselected_bitmap">@drawable/ui_charcoal_tabwidget_disabled_unselected</item>
|
||||
<item name="ui_theme_tabwidget_enabled_selected_bitmap">@drawable/ui_charcoal_tabwidget_enabled_selected</item>
|
||||
<item name="ui_theme_tabwidget_enabled_unselected_bitmap">@drawable/ui_charcoal_tabwidget_enabled_unselected</item>
|
||||
<item name="ui_theme_textbutton_disabled_pressed_bitmap">@drawable/ui_charcoal_textbutton_disabled_pressed</item>
|
||||
<item name="ui_theme_textbutton_disabled_unpressed_bitmap">@drawable/ui_charcoal_textbutton_disabled_unpressed</item>
|
||||
<item name="ui_theme_textbutton_enabled_pressed_bitmap">@drawable/ui_charcoal_textbutton_enabled_pressed</item>
|
||||
<item name="ui_theme_textbutton_enabled_unpressed_bitmap">@drawable/ui_charcoal_textbutton_enabled_unpressed</item>
|
||||
<!-- Color palette -->
|
||||
<item name="ui_theme_stdframe_bg_color">@color/ui_charcoal_palette_charcoal_dark</item>
|
||||
<item name="ui_theme_buttonbar_bg_color">@color/ui_charcoal_palette_charcoal_mid</item>
|
||||
<item name="ui_theme_displayworldmap_bg_color">@color/ui_charcoal_palette_charcoal_dark</item>
|
||||
</style>
|
||||
|
||||
|
||||
<style name="AndorsTrailDialogTheme_Charcoal_Base" parent="AndorsTrailDialogTheme_Blue" >
|
||||
<!-- XML drawables -->
|
||||
<item name="ui_theme_buttonbar_bg_drawable">@drawable/ui_charcoal_buttonbar_bg</item>
|
||||
<item name="ui_theme_buttonbar_drawable">@drawable/ui_charcoal_buttonbar</item>
|
||||
<item name="ui_theme_buttonbar_frame_drawable">@drawable/ui_charcoal_buttonbar_frame</item>
|
||||
<item name="ui_theme_groupindicator_drawable">@drawable/ui_charcoal_groupindicator</item>
|
||||
<item name="ui_theme_listseparator_drawable">@drawable/ui_charcoal_listseparator</item>
|
||||
<item name="ui_theme_radiobutton_drawable">@drawable/ui_charcoal_radiobutton</item>
|
||||
<item name="ui_theme_spinner_drawable">@drawable/ui_charcoal_spinner</item>
|
||||
<item name="ui_theme_spinner_bg_drawable">@drawable/ui_charcoal_spinner_bg</item>
|
||||
<item name="ui_theme_spinner_list_bg_drawable">@drawable/ui_charcoal_spinner_list_bg</item>
|
||||
<item name="ui_theme_tabwidget_drawable">@drawable/ui_charcoal_tabwidget</item>
|
||||
<item name="ui_theme_textbutton_drawable">@drawable/ui_charcoal_textbutton</item>
|
||||
<item name="ui_theme_togglebutton_drawable">@drawable/ui_charcoal_togglebutton</item>
|
||||
<!-- Bitmaps -->
|
||||
<item name="ui_theme_buttonbar_bg_disabled_pressed_bitmap">@drawable/ui_charcoal_buttonbar_bg_disabled_pressed</item>
|
||||
<item name="ui_theme_buttonbar_bg_disabled_unpressed_bitmap">@drawable/ui_charcoal_buttonbar_bg_disabled_unpressed</item>
|
||||
<item name="ui_theme_buttonbar_bg_enabled_pressed_bitmap">@drawable/ui_charcoal_buttonbar_bg_enabled_pressed</item>
|
||||
<item name="ui_theme_buttonbar_bg_enabled_unpressed_bitmap">@drawable/ui_charcoal_buttonbar_bg_enabled_unpressed</item>
|
||||
<item name="ui_theme_buttonbar_frame_hleft_bitmap">@drawable/ui_charcoal_buttonbar_frame_hleft</item>
|
||||
<item name="ui_theme_buttonbar_frame_hmid_bitmap">@drawable/ui_charcoal_buttonbar_frame_hmid</item>
|
||||
<item name="ui_theme_buttonbar_frame_hright_bitmap">@drawable/ui_charcoal_buttonbar_frame_hright</item>
|
||||
<item name="ui_theme_buttonbar_frame_solo_bitmap">@drawable/ui_charcoal_buttonbar_frame_solo</item>
|
||||
<item name="ui_theme_buttonbar_frame_vbottom_bitmap">@drawable/ui_charcoal_buttonbar_frame_vbottom</item>
|
||||
<item name="ui_theme_buttonbar_frame_vmid_bitmap">@drawable/ui_charcoal_buttonbar_frame_vmid</item>
|
||||
<item name="ui_theme_buttonbar_frame_vtop_bitmap">@drawable/ui_charcoal_buttonbar_frame_vtop</item>
|
||||
<item name="ui_theme_lightframe_bitmap">@drawable/ui_charcoal_lightframe</item>
|
||||
<item name="ui_theme_lightframe_highlight_bitmap">@drawable/ui_charcoal_lightframe_highlight</item>
|
||||
<item name="ui_theme_radiobutton_disabled_checked_bitmap">@drawable/ui_charcoal_radiobutton_disabled_checked</item>
|
||||
<item name="ui_theme_radiobutton_disabled_unchecked_bitmap">@drawable/ui_charcoal_radiobutton_disabled_unchecked</item>
|
||||
<item name="ui_theme_radiobutton_enabled_checked_bitmap">@drawable/ui_charcoal_radiobutton_enabled_checked</item>
|
||||
<item name="ui_theme_radiobutton_enabled_unchecked_bitmap">@drawable/ui_charcoal_radiobutton_enabled_unchecked</item>
|
||||
<item name="ui_theme_richframe_bitmap">@drawable/ui_charcoal_richframe</item>
|
||||
<item name="ui_theme_spinner_arrow_bitmap">@drawable/ui_charcoal_spinner_arrow</item>
|
||||
<item name="ui_theme_spinner_disabled_pressed_bitmap">@drawable/ui_charcoal_spinner_disabled_pressed</item>
|
||||
<item name="ui_theme_spinner_disabled_unpressed_bitmap">@drawable/ui_charcoal_spinner_disabled_unpressed</item>
|
||||
<item name="ui_theme_spinner_enabled_pressed_bitmap">@drawable/ui_charcoal_spinner_enabled_pressed</item>
|
||||
<item name="ui_theme_spinner_enabled_unpressed_bitmap">@drawable/ui_charcoal_spinner_enabled_unpressed</item>
|
||||
<item name="ui_theme_stdframe_bitmap">@drawable/ui_charcoal_stdframe</item>
|
||||
<item name="ui_theme_submenu_indicator_bitmap">@drawable/ui_charcoal_submenu_indicator</item>
|
||||
<item name="ui_theme_tabframe_bitmap">@drawable/ui_charcoal_tabframe</item>
|
||||
<item name="ui_theme_tabwidget_disabled_selected_bitmap">@drawable/ui_charcoal_tabwidget_disabled_selected</item>
|
||||
<item name="ui_theme_tabwidget_disabled_unselected_bitmap">@drawable/ui_charcoal_tabwidget_disabled_unselected</item>
|
||||
<item name="ui_theme_tabwidget_enabled_selected_bitmap">@drawable/ui_charcoal_tabwidget_enabled_selected</item>
|
||||
<item name="ui_theme_tabwidget_enabled_unselected_bitmap">@drawable/ui_charcoal_tabwidget_enabled_unselected</item>
|
||||
<item name="ui_theme_textbutton_disabled_pressed_bitmap">@drawable/ui_charcoal_textbutton_disabled_pressed</item>
|
||||
<item name="ui_theme_textbutton_disabled_unpressed_bitmap">@drawable/ui_charcoal_textbutton_disabled_unpressed</item>
|
||||
<item name="ui_theme_textbutton_enabled_pressed_bitmap">@drawable/ui_charcoal_textbutton_enabled_pressed</item>
|
||||
<item name="ui_theme_textbutton_enabled_unpressed_bitmap">@drawable/ui_charcoal_textbutton_enabled_unpressed</item>
|
||||
<!-- Color palette -->
|
||||
<item name="ui_theme_stdframe_bg_color">@color/ui_charcoal_palette_charcoal_dark</item>
|
||||
<item name="ui_theme_buttonbar_bg_color">@color/ui_charcoal_palette_charcoal_mid</item>
|
||||
<item name="ui_theme_displayworldmap_bg_color">@color/ui_charcoal_palette_charcoal_dark</item>
|
||||
</style>
|
||||
<style name="AndorsTrailTheme_Charcoal.NoBackground" parent="AndorsTrailTheme_Charcoal">
|
||||
<item name="android:windowBackground">@null</item>
|
||||
</style>
|
||||
|
||||
<!-- ui_charcoal concrete palette -->
|
||||
|
||||
<!-- Backgrounds -->
|
||||
<color name="ui_charcoal_palette_charcoal_dark">#161616</color>
|
||||
<color name="ui_charcoal_palette_charcoal_mid">#2e2e2e</color>
|
||||
<color name="ui_charcoal_palette_charcoal_light">#404040</color>
|
||||
|
||||
<!-- Wrappers -->
|
||||
<style name="AndorsTrailTheme_Charcoal_v14" parent="AndorsTrailTheme_Charcoal_Base" />
|
||||
<style name="AndorsTrailDialogTheme_Charcoal_v14" parent="AndorsTrailDialogTheme_Charcoal_Base" />
|
||||
|
||||
<style name="AndorsTrailTheme_Charcoal" parent="AndorsTrailTheme_Charcoal_v14" />
|
||||
<style name="AndorsTrailDialogTheme_Charcoal" parent="AndorsTrailDialogTheme_Charcoal_v14" />
|
||||
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -23,7 +23,8 @@ public class ThemeHelper {
|
||||
|
||||
public static enum Theme {
|
||||
blue,
|
||||
green
|
||||
green,
|
||||
charcoal
|
||||
}
|
||||
|
||||
private static final Map<Theme, ThemeSet> THEME_SETS = new HashMap<ThemeHelper.Theme, ThemeHelper.ThemeSet>();
|
||||
@@ -33,6 +34,7 @@ public class ThemeHelper {
|
||||
static {
|
||||
THEME_SETS.put(Theme.blue, new ThemeSet(R.style.AndorsTrailTheme_Blue, R.style.AndorsTrailTheme_Blue_NoBackground, R.style.AndorsTrailDialogTheme_Blue));
|
||||
THEME_SETS.put(Theme.green, new ThemeSet(R.style.AndorsTrailTheme_Green, R.style.AndorsTrailTheme_Green_NoBackground, R.style.AndorsTrailDialogTheme_Green));
|
||||
THEME_SETS.put(Theme.charcoal, new ThemeSet(R.style.AndorsTrailTheme_Charcoal, R.style.AndorsTrailTheme_Charcoal_NoBackground, R.style.AndorsTrailDialogTheme_Charcoal));
|
||||
}
|
||||
|
||||
public static int getThemeColor(Context context, int attrResId) {
|
||||
|
||||