dark theme, part 1

This commit is contained in:
Vadim Lopatin 2015-03-05 17:40:19 +03:00
parent f0742487dd
commit ae83f16639
93 changed files with 937 additions and 10 deletions

View File

@ -316,21 +316,26 @@ extern (C) int UIAppMain(string[] args) {
viewItem.add(langItem); viewItem.add(langItem);
MenuItem themeItem = new MenuItem(new Action(62, "MENU_VIEW_THEME")); MenuItem themeItem = new MenuItem(new Action(62, "MENU_VIEW_THEME"));
MenuItem theme1 = (new MenuItem(new Action(621, "MENU_VIEW_THEME_DEFAULT"))).type(MenuItemType.Radio).checked(true); MenuItem theme1 = (new MenuItem(new Action(621, "MENU_VIEW_THEME_DEFAULT"))).type(MenuItemType.Radio).checked(true);
MenuItem theme2 = (new MenuItem(new Action(622, "MENU_VIEW_THEME_CUSTOM1"))).type(MenuItemType.Radio); MenuItem theme2 = (new MenuItem(new Action(622, "MENU_VIEW_THEME_DARK"))).type(MenuItemType.Radio);
MenuItem theme3 = (new MenuItem(new Action(623, "MENU_VIEW_THEME_CUSTOM1"))).type(MenuItemType.Radio);
auto onThemeChange = delegate (MenuItem item) { auto onThemeChange = delegate (MenuItem item) {
if (!item.checked) if (!item.checked)
return false; return false;
if (item.id == 621) { if (item.id == 621) {
platform.instance.uiTheme = "theme_default"; platform.instance.uiTheme = "theme_default";
} else if (item.id == 622) { } else if (item.id == 622) {
platform.instance.uiTheme = "theme_dark";
} else if (item.id == 623) {
platform.instance.uiTheme = "theme_custom1"; platform.instance.uiTheme = "theme_custom1";
} }
return true; return true;
}; };
theme1.onMenuItemClick = onThemeChange; theme1.onMenuItemClick = onThemeChange;
theme2.onMenuItemClick = onThemeChange; theme2.onMenuItemClick = onThemeChange;
theme3.onMenuItemClick = onThemeChange;
themeItem.add(theme1); themeItem.add(theme1);
themeItem.add(theme2); themeItem.add(theme2);
themeItem.add(theme3);
viewItem.add(themeItem); viewItem.add(themeItem);
MenuItem windowItem = new MenuItem(new Action(3, "MENU_WINDOW"c)); MenuItem windowItem = new MenuItem(new Action(3, "MENU_WINDOW"c));
@ -842,7 +847,6 @@ void main()
window.mainWidget = contentLayout; window.mainWidget = contentLayout;
tabs.selectTab("tab3"); tabs.selectTab("tab3");
} else { } else {
window.mainWidget = (new Button()).text("sample button"); window.mainWidget = (new Button()).text("sample button");
} }

View File

@ -18,8 +18,9 @@ MENU_VIEW_LANGUAGE=Interface &Language
MENU_VIEW_LANGUAGE_EN=English MENU_VIEW_LANGUAGE_EN=English
MENU_VIEW_LANGUAGE_RU=Русский MENU_VIEW_LANGUAGE_RU=Русский
MENU_VIEW_THEME=&Theme MENU_VIEW_THEME=&Theme
MENU_VIEW_THEME_DEFAULT=&Default MENU_VIEW_THEME_DEFAULT=Default
MENU_VIEW_THEME_CUSTOM1=&Custom 1 MENU_VIEW_THEME_DARK=Dark
MENU_VIEW_THEME_CUSTOM1=Custom 1
MENU_WINDOW=&Window MENU_WINDOW=&Window
MENU_WINDOW_PREFERENCES=&Preferences MENU_WINDOW_PREFERENCES=&Preferences
MENU_HELP=&Help MENU_HELP=&Help

View File

@ -17,6 +17,7 @@ MENU_VIEW_LANGUAGE_EN=English
MENU_VIEW_LANGUAGE_RU=Русский MENU_VIEW_LANGUAGE_RU=Русский
MENU_VIEW_THEME=&Тема MENU_VIEW_THEME=&Тема
MENU_VIEW_THEME_DEFAULT=Стандартная MENU_VIEW_THEME_DEFAULT=Стандартная
MENU_VIEW_THEME_DARK=Тёмная
MENU_VIEW_THEME_CUSTOM1=Пример 1 MENU_VIEW_THEME_CUSTOM1=Пример 1
MENU_WINDOW=&Окно MENU_WINDOW=&Окно
MENU_WINDOW_PREFERENCES=&Настройки MENU_WINDOW_PREFERENCES=&Настройки

View File

@ -386,6 +386,8 @@ class Window {
_eventList = new EventList(); _eventList = new EventList();
_timerQueue = new TimerQueue(); _timerQueue = new TimerQueue();
_backgroundColor = 0xFFFFFF; _backgroundColor = 0xFFFFFF;
if (currentTheme)
_backgroundColor = currentTheme.customColor(STYLE_COLOR_WINDOW_BACKGROUND);
} }
~this() { ~this() {
debug Log.d("Destroying window"); debug Log.d("Destroying window");
@ -778,6 +780,10 @@ class Window {
} }
if (_tooltip.popup) if (_tooltip.popup)
_tooltip.popup.onThemeChanged(); _tooltip.popup.onThemeChanged();
if (currentTheme) {
_backgroundColor = currentTheme.customColor(STYLE_COLOR_WINDOW_BACKGROUND);
}
invalidate();
} }

View File

@ -305,16 +305,18 @@ class UrlImageTextButton : ImageTextButton {
} }
} }
/// checkbox /// checkbox
class CheckBox : ImageTextButton { class CheckBox : ImageTextButton {
this(string ID = null, string textResourceId = null) { this(string ID = null, string textResourceId = null) {
super(ID, "btn_check", textResourceId); super(ID, getCustomDrawableId("btn_check"), textResourceId);
} }
this(string ID, dstring labelText) { this(string ID, dstring labelText) {
super(ID, "btn_check", labelText); super(ID, getCustomDrawableId("btn_check"), labelText);
} }
this(string ID, UIString label) { this(string ID, UIString label) {
super(ID, "btn_check", label); super(ID, getCustomDrawableId("btn_check"), label);
} }
override protected void init(string drawableId, UIString caption) { override protected void init(string drawableId, UIString caption) {
super.init(drawableId, caption); super.init(drawableId, caption);
@ -330,15 +332,20 @@ class CheckBox : ImageTextButton {
checked = !checked; checked = !checked;
return super.handleClick(); return super.handleClick();
} }
/// handle theme change: e.g. reload some themed resources
override void onThemeChanged() {
if (currentTheme)
_icon.drawableId = getCustomDrawableId("btn_check");
}
} }
/// radio button /// radio button
class RadioButton : ImageTextButton { class RadioButton : ImageTextButton {
this(string ID = null, string textResourceId = null) { this(string ID = null, string textResourceId = null) {
super(ID, "btn_radio", textResourceId); super(ID,getCustomDrawableId("btn_radio"), textResourceId);
} }
this(string ID, dstring labelText) { this(string ID, dstring labelText) {
super(ID, "btn_radio", labelText); super(ID, getCustomDrawableId("btn_radio"), labelText);
} }
override protected void init(string drawableId, UIString caption) { override protected void init(string drawableId, UIString caption) {
super.init(drawableId, caption); super.init(drawableId, caption);
@ -350,6 +357,12 @@ class RadioButton : ImageTextButton {
checkable = true; checkable = true;
} }
/// handle theme change: e.g. reload some themed resources
override void onThemeChanged() {
if (currentTheme)
_icon.drawableId = getCustomDrawableId("btn_radio");
}
void uncheckSiblings() { void uncheckSiblings() {
Widget p = parent; Widget p = parent;
if (!p) if (!p)

View File

@ -166,6 +166,12 @@ immutable string STYLE_SETTINGS_PAGES = "SETTINGS_PAGES";
/// standard style id for settings dialog page title /// standard style id for settings dialog page title
immutable string STYLE_SETTINGS_PAGE_TITLE = "SETTINGS_PAGE_TITLE"; immutable string STYLE_SETTINGS_PAGE_TITLE = "SETTINGS_PAGE_TITLE";
/// window background color resource id
immutable string STYLE_COLOR_WINDOW_BACKGROUND = "window_background";
/// dialog background color resource id
immutable string STYLE_COLOR_DIALOG_BACKGROUND = "dialog_background";
// Layout size constants // Layout size constants
/// layout option, to occupy all available place /// layout option, to occupy all available place
immutable int FILL_PARENT = int.max - 1; immutable int FILL_PARENT = int.max - 1;
@ -277,6 +283,14 @@ class Style {
protected FontRef _font; protected FontRef _font;
protected DrawableRef _backgroundDrawable; protected DrawableRef _backgroundDrawable;
void onThemeChanged() {
_backgroundDrawable.clear();
foreach(s; _substates)
s.onThemeChanged();
foreach(s; _children)
s.onThemeChanged();
}
@property const(Theme) theme() const { @property const(Theme) theme() const {
if (_theme !is null) if (_theme !is null)
return _theme; return _theme;
@ -334,7 +348,7 @@ class Style {
(cast(Style)this)._backgroundDrawable = drawableCache.get(image); (cast(Style)this)._backgroundDrawable = drawableCache.get(image);
} else { } else {
uint color = backgroundColor; uint color = backgroundColor;
(cast(Style)this)._backgroundDrawable = new SolidFillDrawable(color); (cast(Style)this)._backgroundDrawable = isFullyTransparentColor(color) ? new EmptyDrawable() : new SolidFillDrawable(color);
} }
return (cast(Style)this)._backgroundDrawable; return (cast(Style)this)._backgroundDrawable;
} }
@ -1357,6 +1371,11 @@ class DrawableAttribute {
} }
} }
/// returns custom drawable replacement id for specified id from current theme, or returns passed value if not found or no current theme
string getCustomDrawableId(string id) {
string res = currentTheme ? currentTheme.customDrawableId(id) : id;
return !res ? id : res;
}
shared static ~this() { shared static ~this() {
currentTheme = null; currentTheme = null;

View File

@ -247,6 +247,9 @@ class Widget {
// default implementation: call recursive for children // default implementation: call recursive for children
for (int i = 0; i < childCount; i++) for (int i = 0; i < childCount; i++)
child(i).onThemeChanged(); child(i).onThemeChanged();
if (_ownStyle) {
_ownStyle.onThemeChanged();
}
} }
/// returns widget id, null if not set /// returns widget id, null if not set

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true"
android:drawable="@drawable/btn_pressed_dark" />
<item android:state_focused="true" android:state_default="true" android:state_enabled="true"
android:drawable="@drawable/btn_default_dark" />
<item android:state_focused="true" android:state_enabled="true"
android:drawable="@drawable/btn_normal_dark" />
<item android:state_enabled="true" android:state_default="true"
android:drawable="@drawable/btn_default_dark" />
<item android:state_enabled="true" android:state_hovered="true"
android:drawable="@drawable/btn_hover_dark" />
<item android:state_enabled="true"
android:drawable="@drawable/btn_normal_dark" />
<item
android:drawable="@drawable/btn_disabled_dark" />
</selector>

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:drawable="@null"
android:state_enabled="false"/>
<item
android:drawable="@null"
android:state_focused="true" />
<item
android:drawable="btn_pressed_dark"
android:state_pressed="true" />
<item
android:drawable="btn_hover_dark"
android:state_hovered="true" android:state_enabled="true" />
<item
android:drawable="@null" />
</selector>

View File

@ -0,0 +1,45 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<!-- Enabled states -->
<item android:state_checked="true" android:state_pressed="true"
android:state_enabled="true"
android:drawable="@drawable/btn_check_on_pressed_dark" />
<item android:state_checked="false" android:state_pressed="true"
android:state_enabled="true"
android:drawable="@drawable/btn_check_off_pressed_dark" />
<item android:state_checked="true" android:state_focused="true"
android:state_enabled="true"
android:drawable="@drawable/btn_check_on_focused_dark" />
<item android:state_checked="false" android:state_focused="true"
android:state_enabled="true"
android:drawable="@drawable/btn_check_off_focused_dark" />
<item android:state_checked="true" android:state_hovered="true"
android:state_enabled="true"
android:drawable="@drawable/btn_check_on_focused_dark" />
<item android:state_checked="false" android:state_hovered="true"
android:state_enabled="true"
android:drawable="@drawable/btn_check_off_focused_dark" />
<item android:state_checked="false"
android:state_enabled="true"
android:drawable="@drawable/btn_check_off_dark" />
<item android:state_checked="true"
android:state_enabled="true"
android:drawable="@drawable/btn_check_on_dark" />
<!-- Disabled states -->
<item android:state_checked="true"
android:drawable="@drawable/btn_check_on_disabled_dark" />
<item android:state_checked="false"
android:drawable="@drawable/btn_check_off_disabled_dark" />
<item android:state_checked="false" android:drawable="@drawable/btn_check_off_dark" />
<item android:state_checked="true" android:drawable="@drawable/btn_check_on_dark" />
</selector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -0,0 +1,33 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2008 The Android Open Source Project
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_window_focused="false" android:state_enabled="true"
android:drawable="@drawable/btn_default_small_normal_dark" />
<item android:state_window_focused="false" android:state_enabled="false"
android:drawable="@drawable/btn_default_small_normal_disable_dark" />
<item android:state_pressed="true"
android:drawable="@drawable/btn_default_small_pressed_dark" />
<item android:state_focused="true" android:state_enabled="true"
android:drawable="@drawable/btn_default_small_selected_dark" />
<item android:state_enabled="true"
android:drawable="@drawable/btn_default_small_normal_dark" />
<item android:state_focused="true"
android:drawable="@drawable/btn_default_small_normal_disable_focused_dark" />
<item
android:drawable="@drawable/btn_default_small_normal_disable_dark" />
</selector>

View File

@ -0,0 +1,26 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:drawable="btn_default_small_normal_disable_focused_dark"
color_transform_add1="0,0,0,0"
android:state_enabled="false"
android:state_focused="true" />
<item
android:drawable="btn_default_small_normal_disable_dark"
color_transform_add1="0,0,0,0"
android:state_focused="true" />
<item
android:drawable="btn_default_small_pressed_dark"
color_transform_add1="0,0,0,0"
android:state_pressed="true" />
<item
android:drawable="btn_default_small_selected_dark"
color_transform_add1="0,0,0,0"
android:state_selected="true" />
<item
android:drawable="btn_default_small_normal_hover_dark"
color_transform_add1="0,0,0,0"
android:state_hovered="true" />
<item
android:drawable="@null" />
</selector>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:drawable="main_menu_item_background_selected"
android:state_selected="true" />
<item
android:drawable="main_menu_item_background_hover"
android:state_hovered="true" />
<item
android:drawable="@null" />
</selector>

View File

@ -0,0 +1,34 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_checked="true" android:state_pressed="true"
android:state_enabled="true"
android:drawable="@drawable/btn_radio_on_pressed_dark" />
<item android:state_checked="false" android:state_pressed="true"
android:state_enabled="true"
android:drawable="@drawable/btn_radio_off_pressed_dark" />
<item android:state_checked="true" android:state_focused="true"
android:state_enabled="true"
android:drawable="@drawable/btn_radio_on_focused_dark" />
<item android:state_checked="false" android:state_focused="true"
android:state_enabled="true"
android:drawable="@drawable/btn_radio_off_focused_dark" />
<item android:state_checked="true" android:state_hovered="true"
android:state_enabled="true"
android:drawable="@drawable/btn_radio_on_focused_dark" />
<item android:state_checked="false" android:state_hovered="true"
android:state_enabled="true"
android:drawable="@drawable/btn_radio_off_focused_dark" />
<item android:state_checked="false" android:state_enabled="true"
android:drawable="@drawable/btn_radio_off_dark" />
<item android:state_checked="true" android:state_enabled="true"
android:drawable="@drawable/btn_radio_on_dark" />
<!-- Disabled states -->
<item android:state_checked="false" android:drawable="@drawable/btn_radio_off_disabled_dark" />
<item android:state_checked="true" android:drawable="@drawable/btn_radio_on_disabled_dark" />
</selector>

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_pressed="true"
android:drawable="@drawable/btn_pressed" />
<item android:state_focused="true" android:state_default="true" android:state_enabled="true"
android:drawable="@drawable/btn_default" />
<item android:state_focused="true" android:state_enabled="true"
android:drawable="@drawable/btn_default" />
<item android:state_enabled="true" android:state_default="true"
android:drawable="@drawable/btn_default" />
<item android:state_enabled="true" android:state_hovered="true"
android:drawable="@drawable/btn_hover" />
<item android:state_enabled="true"
android:drawable="@drawable/btn_normal" />
<item
android:drawable="@drawable/btn_disabled" />
</selector>

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item android:state_focused="true" android:state_enabled="false" android:drawable="editbox_background_disabled_focus" />
<item android:state_focused="true" android:drawable="editbox_background_focus" />
<item android:state_enabled="false" android:drawable="editbox_background_disabled" />
<item android:drawable="editbox_background_normal" />
</selector>

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:drawable="btn_disabled"
android:state_enabled="false"
android:state_focused="true" />
<item
android:drawable="btn_pressed"
android:state_focused="true" />
<item
android:drawable="btn_normal"
android:state_selected="true" />
<item
android:drawable="#E04040FF"
android:state_hovered="true" />
<item
android:drawable="@null" />
</selector>

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:drawable="#C0000000,1px"
android:state_enabled="false"
android:state_focused="true" />
<item
android:drawable="#80000000,1px,#E04040FF"
android:state_focused="true" />
<item
android:drawable="#A00000FF"
android:state_selected="true" />
<item
android:drawable="#E04040FF"
android:state_hovered="true" />
<item
android:drawable="@null" />
</selector>

View File

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:drawable="main_menu_item_background_selected"
android:state_selected="true" />
<item
android:drawable="main_menu_item_background_hover"
android:state_hovered="true" />
<item
android:drawable="@null" />
</selector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 191 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 189 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 208 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 154 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 334 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 244 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 332 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 593 B

After

Width:  |  Height:  |  Size: 289 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 274 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 484 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 378 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 484 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 494 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 489 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 542 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 517 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 503 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 472 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 462 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 333 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 449 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 398 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 475 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 595 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 565 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 587 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 596 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 593 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 591 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 596 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 593 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 220 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 257 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 259 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 216 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 503 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 205 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 210 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 209 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 187 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 193 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 247 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 246 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 245 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 249 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 224 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 562 B

View File

@ -0,0 +1,18 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:drawable="btn_disabled"
android:state_enabled="false"
android:state_focused="true" />
<item
android:drawable="btn_pressed"
android:state_focused="true" />
<item
android:drawable="btn_normal"
android:state_selected="true" />
<item
android:drawable="#E04040FF"
android:state_hovered="true" />
<item
android:drawable="@null" />
</selector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 374 B

View File

@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:drawable="tab_btn_dark_up_focused_selected"
android:state_selected="true" android:state_window_focused="true" />
<item
android:drawable="tab_btn_dark_up_focused"
android:state_window_focused="true" />
<item
android:drawable="tab_btn_dark_up_selected"
android:state_selected="true" />
<item
android:drawable="tab_btn_dark_up_hover"
android:state_hovered="true" />
<item
android:drawable="tab_btn_dark_up_normal" />
</selector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android"
android:constantSize="true"
android:dither="false"
android:variablePadding="false" >
<item
android:drawable="tab_btn_up_hover_dark"
android:state_hovered="true" />
<item
android:drawable="tab_btn_up_selected_dark"
android:state_selected="true" />
<item
android:drawable="tab_btn_up_normal_dark" />
</selector>

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 252 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 273 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 255 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 261 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 263 B

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item
android:drawable="tab_up_background_focused_dark"
android:state_window_focused="true" />
<item
android:drawable="tab_up_background_normal_dark" />
</selector>

412
views/res/theme_dark.xml Normal file
View File

@ -0,0 +1,412 @@
<?xml version="1.0" encoding="utf-8"?>
<theme id="theme_dark" parent="theme_default"
fontSize="12"
fontFace="Verdana,Arial,DejaVu Sans"
fontFamily="SansSerif"
textColor="#E0E0E0"
>
<color id="window_background" value="#000000"/>
<color id="dialog_background" value="#222222"/>
<style id="BUTTON"
backgroundImageId="btn_background_dark"
align="Center"
margins="5,5,5,5"
focusRectColors="#FFF"
textFlags="UnderlineHotKeys"
>
<state state_enabled="false" textColor="#80FFFFFF"/>
<state state_enabled="true" state_hovered="true" textColor="#80FFFF"/>
</style>
<style id="BUTTON_TRANSPARENT"
backgroundImageId="btn_background_transparent_dark"
align="Center"
/>
<style id="BUTTON_LABEL"
layoutWidth="FILL_PARENT"
margins="2,2,2,2"
align="Left|VCenter"
textFlags="UnderlineHotKeys"
>
<state state_enabled="false" textColor="#80FFFFFF"/>
<state state_enabled="true" state_hovered="true" textColor="#80FFFF"/>
</style>
<style id="BUTTON_IMAGE"
margins="2,2,2,2"
align="Center"
/>
<style id="CHECKBOX"
backgroundImageId="@null"
margins="2,2,2,2"
padding="2,2,2,2"
focusRectColors="@null"
/>
<style id="CHECKBOX_IMAGE" parent="BUTTON_IMAGE"
align="Center"
margins="2,2,2,2"
/>
<style id="CHECKBOX_LABEL" parent="BUTTON_LABEL"
align="Left|VCenter"
focusRectColors="#FFF"
>
<state state_enabled="true" state_hovered="true" textColor="#C0FFFF"/>
</style>
<style id="RADIOBUTTON" parent="CHECKBOX"
margins="2,2,2,2"
padding="2,2,2,2"
/>
<style id="RADIOBUTTON_IMAGE" parent="CHECKBOX_IMAGE"
align="Center"
margins="2,2,2,2"
/>
<style id="RADIOBUTTON_LABEL" parent="CHECKBOX_LABEL"
align="Left|VCenter"
>
<state state_enabled="true" state_hovered="true" textColor="#C0FFFF"/>
</style>
<style id="TEXT"
margins="2,2,2,2"
padding="1,1,1,1"
align="Left|VCenter"
>
<state state_enabled="false" textColor="#A0FFFFFF"/>
</style>
<style id="HSPACER"
layoutWidth="FILL_PARENT"
layoutWeight="100"
minWidth="5"
/>
<style id="VSPACER"
layoutHeight="FILL_PARENT"
layoutWeight="100"
minHeight="5"
/>
<style id="BUTTON_NOMARGINS"
backgroundImageId="btn_background_dark"
align="Center"
/>
<color id="sample_color_rgb" value="#8CF"/>
<color id="sample_color_argb" value="#48CF"/>
<color id="sample_color_rrggbb" value="#80C0F0"/>
<color id="sample_color_aarrggbb" value="#4080C0F0"/>
<drawable id="btn_check" value="btn_check_dark"/>
<drawable id="btn_radio" value="btn_radio_dark"/>
<drawable id="scrollbar_button_up" value="scrollbar_btn_up"/>
<drawable id="scrollbar_button_down" value="scrollbar_btn_down"/>
<drawable id="scrollbar_button_left" value="scrollbar_btn_left"/>
<drawable id="scrollbar_button_right" value="scrollbar_btn_right"/>
<drawable id="scrollbar_indicator_vertical" value="scrollbar_indicator_vertical"/>
<drawable id="scrollbar_indicator_horizontal" value="scrollbar_indicator_horizontal"/>
<style id="SCROLLBAR"
backgroundColor="#C0808080"
align="Center"
/>
<style id="SCROLLBAR_BUTTON" parent="BUTTON"
/>
<style id="SLIDER"
/>
<style id="PAGE_SCROLL"
backgroundColor="#FFFFFFFF"
>
<state state_pressed="true" backgroundColor="#C0202040"/>
<state state_hovered="true" backgroundColor="#F0404080"/>
</style>
<style id="TAB_UP_DARK"
backgroundImageId="tab_up_background_dark"
layoutWidth="FILL_PARENT"
>
</style>
<style id="TAB_UP_BUTTON_DARK"
padding="5,1,1,1"
backgroundImageId="tab_btn_dark_up_dark"
/>
<style id="TAB_UP_BUTTON_DARK_TEXT"
fontSize="12"
textColor="#E0E0E0"
align="Center"
>
<state state_selected="true" state_window_focused="true" state_hovered="true" textColor="#FFFFC0"/>
<state state_selected="true" state_window_focused="true" textColor="#FFFFE0"/>
<state state_selected="true" textColor="#E0E0E0"/>
<state state_window_focused="true" state_hovered="true" textColor="#E0E0C0"/>
<state state_window_focused="true" textColor="#C0C0C0"/>
<state state_hovered="true" textColor="#D0D0A0"/>
</style>
<style id="TAB_UP"
backgroundImageId="tab_up_background_theme_dark"
layoutWidth="FILL_PARENT"
>
<state state_selected="true" backgroundImageId="tab_up_backgrond_selected_dark"/>
</style>
<style id="TAB_UP_BUTTON_TEXT"
textColor="#C0C0C0"
fontSize="12"
align="Center"
>
<state state_selected="true" state_focused="true" textColor="#FFFFC0"/>
<state state_selected="true" textColor="#FFFFC0"/>
<state state_focused="true" textColor="#C0C0C0"/>
<state state_hovered="true" textColor="#D0D0B0"/>
</style>
<style id="TAB_UP_BUTTON"
backgroundImageId="tab_btn_up_dark"
/>
<style id="TAB_HOST"
layoutWidth="FILL_PARENT"
layoutHeight="FILL_PARENT"
backgroundColor="#101010"
/>
<style id="TAB_WIDGET"
backgroundColor="#181818"
/>
<style id="MAIN_MENU"
layoutWidth="FILL_PARENT"
backgroundColor="#202020"
layoutWeight="0"
/>
<style id="MAIN_MENU_ITEM"
padding="4,2,4,2"
backgroundImageId="main_menu_item_background_dark"
textFlags="Parent"
/>
<style id="MENU_ITEM"
backgroundImageId="menu_item_background_dark"
padding="4,2,4,2"
>
</style>
<style id="MENU_ICON"
margins="2,2,2,2"
align="Left|VCenter"
>
<state state_enabled="false" alpha="160"/>
</style>
<style id="MENU_LABEL"
margins="4,2,4,2"
align="Left|VCenter"
textFlags="UnderlineHotKeys"
>
<state state_enabled="false" textColor="#80C0C0C0"/>
</style>
<style id="MAIN_MENU_LABEL"
margins="4,2,4,2"
align="Left|VCenter"
textFlags="Parent"
>
<state state_enabled="false" textColor="#80C0C0C0"/>
</style>
<style id="MENU_ACCEL"
margins="4,2,4,2"
align="Left|VCenter"
>
<state state_enabled="false" textColor="#80C0C0C0"/>
</style>
<style id="TRANSPARENT_BUTTON_BACKGROUND"
backgroundImageId="btn_background_transparent_dark"
padding="4,2,4,2"
/>
<style id="POPUP_MENU"
backgroundImageId="popup_menu_background_normal_dark"
/>
<style id="LIST_ITEM"
backgroundImageId="list_item_background_dark"
/>
<style id="COMBO_BOX"
backgroundImageId="combobox_background_dark"
padding="2,2,2,2"
margins="2,2,2,2"
minWidth="40"
/>
<style id="COMBO_BOX_BODY"
padding="2,2,2,2"
minWidth="40"
align="Left|VCenter"
focusRectColors="#FFF"
/>
<style id="COMBO_BOX_BUTTON"
padding="2,2,2,2"
backgroundImageId="btn_background_transparent_dark"
align="Center"
/>
<style id="EDIT_LINE"
backgroundImageId="editbox_background_dark"
padding="4,4,4,4"
margins="2,2,2,2"
minWidth="40"
/>
<style id="EDIT_BOX"
backgroundImageId="editbox_background_dark"
padding="2,2,2,2"
margins="2,2,2,2"
minWidth="100"
minHeight="60"
layoutWidth="FILL_PARENT"
layoutHeight="FILL_PARENT"
/>
<style id="STATUS_LINE"
backgroundColor="#101010"
layoutWidth="FILL_PARENT"
layoutHeight="WRAP_CONTENT"
padding="1,1,1,1"
layoutWeight="0"
/>
<style id="DOCK_HOST"
backgroundColor="#293955"
layoutWidth="FILL_PARENT"
layoutHeight="FILL_PARENT"
padding="2,2,2,2"
/>
<style id="DOCK_HOST_BODY"
layoutWidth="FILL_PARENT"
layoutHeight="FILL_PARENT"
padding="1,1,1,1"
margins="4,4,4,4"
/>
<style id="DOCK_WINDOW"
backgroundColor="#8E9BBC"
layoutWidth="FILL_PARENT"
layoutHeight="FILL_PARENT"
padding="1,1,1,1"
margins="4,4,4,4"
/>
<style id="FLOATING_WINDOW"
backgroundImageId="popup_window_background_dark"
layoutWidth="FILL_PARENT"
layoutHeight="FILL_PARENT"
padding="1,1,1,1"
margins="4,4,4,4"
/>
<style id="DOCK_WINDOW_CAPTION"
backgroundColor="#4d6082"
layoutWidth="FILL_PARENT"
layoutHeight="WRAP_CONTENT"
padding="1,1,1,1"
/>
<style id="DOCK_WINDOW_CAPTION_LABEL"
textColor="#FFFFFF"
layoutWidth="FILL_PARENT"
layoutHeight="WRAP_CONTENT"
padding="3,3,3,3"
fontSize="12"
align="Left|VCenter"
/>
<style id="DOCK_WINDOW_BODY"
backgroundColor="#000000"
layoutWidth="FILL_PARENT"
layoutHeight="FILL_PARENT"
padding="1,1,1,1"
/>
<style id="TOOLBAR_HOST"
backgroundColor="#202020"
layoutWidth="FILL_PARENT"
layoutHeight="WRAP_CONTENT"
padding="1,1,1,1"
/>
<style id="TOOLTIP"
backgroundImageId="tooltip_background_dark"
layoutWidth="WRAP_CONTENT"
layoutHeight="WRAP_CONTENT"
margins="2,7,2,1"
padding="3,3,3,3"
textColor="#404040"
/>
<style id="TOOLBAR"
backgroundImageId="toolbar_background_dark"
layoutWidth="WRAP_CONTENT"
layoutHeight="WRAP_CONTENT"
margins="2,1,2,1"
/>
<style id="TOOLBAR_BUTTON"
backgroundImageId="toolbar_button_background_dark"
align="Center"
margins="1,1,1,1"
padding="2,2,2,2"
>
<state state_enabled="false" alpha="160" backgroundImageId="@null"/>
</style>
<style id="TOOLBAR_CONTROL"
backgroundImageId="toolbar_control_background_dark"
align="Center"
margins="1,1,1,1"
padding="2,2,2,2"
>
<state state_enabled="false" alpha="160" backgroundImageId="@null"/>
</style>
<style id="TOOLBAR_SEPARATOR"
align="Center"
/>
<style id="TREE_ITEM"
minWidth="100"
minHeight="14"
layoutWidth="FILL_PARENT"
layoutHeight="WRAP_CONTENT"
>
</style>
<style id="TREE_ITEM_EXPAND_ICON"
align="Left|VCenter"
textFlags="Parent"
/>
<style id="TREE_ITEM_BODY"
align="Left|VCenter"
textFlags="Parent"
backgroundImageId="list_item_background"
/>
<style id="TREE_ITEM_ICON"
align="Left|VCenter"
textFlags="Parent"
/>
<style id="TREE_ITEM_LABEL"
layoutWidth="FILL_PARENT"
layoutHeight="WRAP_CONTENT"
align="Left|VCenter"
textFlags="Parent"
/>
<style id="SETTINGS_TREE"
margins="8,8,8,8"
backgroundColor="#000000"
layoutWeight="3"
/>
<style id="SETTINGS_PAGES"
margins="0,8,8,8"
padding="4,4,4,4"
layoutWidth="FILL_PARENT"
layoutWeight="5"
/>
<style id="SETTINGS_PAGE_TITLE"
margins="4,4,4,14"
fontSize="18"
layoutWeight="0"
layoutWidth="FILL_PARENT"
/>
<style id="RESIZER_VERTICAL"
layoutWidth="FILL_PARENT"
layoutHeight="WRAP_CONTENT"
minHeight="7"
maxHeight="7"
backgroundColor="#303030">
<state state_focused="true" backgroundColor="#40404000"/>
<state state_pressed="true" backgroundColor="#40406000"/>
<state state_selected="true" backgroundColor="#00202020"/>
<state state_hovered="true" backgroundColor="#C0404000"/>
</style>
<style id="RESIZER_HORIZONTAL"
layoutWidth="FILL_PARENT"
layoutHeight="WRAP_CONTENT"
minWidth="7"
maxWidth="7"
backgroundColor="#303030">
<state state_focused="true" backgroundColor="#40404000"/>
<state state_pressed="true" backgroundColor="#40406000"/>
<state state_selected="true" backgroundColor="#00202020"/>
<state state_hovered="true" backgroundColor="#C0404000"/>
</style>
</theme>

View File

@ -4,6 +4,8 @@
fontFace="Verdana,Arial,DejaVu Sans" fontFace="Verdana,Arial,DejaVu Sans"
fontFamily="SansSerif" fontFamily="SansSerif"
> >
<color id="window_background" value="#FFFFFF"/>
<color id="dialog_background" value="#EEEEEE"/>
<style id="BUTTON" <style id="BUTTON"
backgroundImageId="btn_background" backgroundImageId="btn_background"
align="Center" align="Center"
@ -85,6 +87,8 @@
<color id="sample_color_argb" value="#48CF"/> <color id="sample_color_argb" value="#48CF"/>
<color id="sample_color_rrggbb" value="#80C0F0"/> <color id="sample_color_rrggbb" value="#80C0F0"/>
<color id="sample_color_aarrggbb" value="#4080C0F0"/> <color id="sample_color_aarrggbb" value="#4080C0F0"/>
<drawable id="btn_check" value="btn_check"/>
<drawable id="btn_radio" value="btn_radio"/>
<drawable id="scrollbar_button_up" value="scrollbar_btn_up"/> <drawable id="scrollbar_button_up" value="scrollbar_btn_up"/>
<drawable id="scrollbar_button_down" value="scrollbar_btn_down"/> <drawable id="scrollbar_button_down" value="scrollbar_btn_down"/>
<drawable id="scrollbar_button_left" value="scrollbar_btn_left"/> <drawable id="scrollbar_button_left" value="scrollbar_btn_left"/>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:drawable="toolbar_button_hover"
android:state_enabled="false"
android:state_focused="true" />
<item
android:drawable="toolbar_button_hover"
android:state_hovered="true"
android:state_focused="true" />
<item
android:drawable="toolbar_button_hover"
android:state_focused="true"
/>
<item
android:drawable="toolbar_button_pressed"
android:state_pressed="true" />
<item
android:drawable="toolbar_button_hover"
android:state_hovered="true" />
<item
android:drawable="@null" />
</selector>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:drawable="toolbar_control_disabled"
android:state_enabled="false"
android:state_focused="true" />
<item
android:drawable="toolbar_button_hover"
android:state_hovered="true"
android:state_focused="true" />
<item
android:drawable="toolbar_button_hover"
android:state_focused="true"
/>
<item
android:drawable="toolbar_button_pressed"
android:state_pressed="true" />
<item
android:drawable="toolbar_button_hover"
android:state_hovered="true" />
<item
android:drawable="toolbar_control_normal" />
</selector>

View File

@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:drawable="#C0000000,1px"
android:state_enabled="false"
android:state_focused="true" />
<item
android:drawable="#A00000FF,1px,#F08080FF"
android:state_hovered="true"
android:state_focused="true" />
<item
android:drawable="#A00000FF,1px"
android:state_focused="true"
/>
<item
android:drawable="#A00000FF"
android:state_selected="true" />
<item
android:drawable="#F08080FF"
android:state_hovered="true" />
<item
android:drawable="@null" />
</selector>

View File

@ -1,16 +1,28 @@
res/btn_background.xml res/btn_background.xml
res/btn_background_dark.xml
res/btn_background_transparent.xml res/btn_background_transparent.xml
res/btn_background_transparent_dark.xml
res/btn_check.xml res/btn_check.xml
res/btn_check_dark.xml
res/btn_default_normal.9.png res/btn_default_normal.9.png
res/btn_default_normal_dark.9.png
res/btn_default_pressed.9.png res/btn_default_pressed.9.png
res/btn_default_pressed_dark.9.png
res/btn_default_selected.9.png res/btn_default_selected.9.png
res/btn_default_selected_dark.9.png
res/btn_default_small.xml res/btn_default_small.xml
res/btn_default_small_dark.xml
res/btn_default_small_transparent.xml res/btn_default_small_transparent.xml
res/btn_default_small_transparent_dark.xml
res/btn_radio.xml res/btn_radio.xml
res/btn_radio_dark.xml
res/btn_radio_background.xml res/btn_radio_background.xml
res/btn_radio_background_dark.xml
res/close.png res/close.png
res/combobox_background.xml res/combobox_background.xml
res/combobox_background_dark.xml
res/editbox_background.xml res/editbox_background.xml
res/editbox_background_dark.xml
res/exit.png res/exit.png
res/fileclose.png res/fileclose.png
res/fileopen.png res/fileopen.png
@ -18,40 +30,74 @@ res/frame_blue.9.png
res/i18n/std_en.ini res/i18n/std_en.ini
res/i18n/std_ru.ini res/i18n/std_ru.ini
res/list_item_background.xml res/list_item_background.xml
res/list_item_background_dark.xml
res/list_item_background_solid.xml res/list_item_background_solid.xml
res/list_item_background_solid_dark.xml
res/main_menu_item_background.xml res/main_menu_item_background.xml
res/main_menu_item_background_dark.xml
res/main_menu_item_background_hover.9.png res/main_menu_item_background_hover.9.png
res/main_menu_item_background_hover_dark.9.png
res/main_menu_item_background_normal.9.png res/main_menu_item_background_normal.9.png
res/main_menu_item_background_normal_dark.9.png
res/main_menu_item_background_selected.9.png res/main_menu_item_background_selected.9.png
res/main_menu_item_background_selected_dark.9.png
res/mdpi/applications-internet.png res/mdpi/applications-internet.png
res/mdpi/arrow_right_down_black.png res/mdpi/arrow_right_down_black.png
res/mdpi/arrow_right_down_black_dark.png
res/mdpi/arrow_right_hollow.png res/mdpi/arrow_right_hollow.png
res/mdpi/arrow_right_hollow_dark.png
res/mdpi/btn_check_off.png res/mdpi/btn_check_off.png
res/mdpi/btn_check_off_dark.png
res/mdpi/btn_check_off_disabled.png res/mdpi/btn_check_off_disabled.png
res/mdpi/btn_check_off_disabled_dark.png
res/mdpi/btn_check_off_focused.png res/mdpi/btn_check_off_focused.png
res/mdpi/btn_check_off_focused_dark.png
res/mdpi/btn_check_off_pressed.png res/mdpi/btn_check_off_pressed.png
res/mdpi/btn_check_off_pressed_dark.png
res/mdpi/btn_check_on.png res/mdpi/btn_check_on.png
res/mdpi/btn_check_on_dark.png
res/mdpi/btn_check_on_disabled.png res/mdpi/btn_check_on_disabled.png
res/mdpi/btn_check_on_disabled_dark.png
res/mdpi/btn_check_on_focused.png res/mdpi/btn_check_on_focused.png
res/mdpi/btn_check_on_focused_dark.png
res/mdpi/btn_check_on_pressed.png res/mdpi/btn_check_on_pressed.png
res/mdpi/btn_check_on_pressed_dark.png
res/mdpi/btn_default.9.png res/mdpi/btn_default.9.png
res/mdpi/btn_default_dark.9.png
res/mdpi/btn_default_small_normal.9.png res/mdpi/btn_default_small_normal.9.png
res/mdpi/btn_default_small_normal_dark.9.png
res/mdpi/btn_default_small_normal_disable.9.png res/mdpi/btn_default_small_normal_disable.9.png
res/mdpi/btn_default_small_normal_disable_dark.9.png
res/mdpi/btn_default_small_normal_disable_focused.9.png res/mdpi/btn_default_small_normal_disable_focused.9.png
res/mdpi/btn_default_small_normal_disable_focused_dark.9.png
res/mdpi/btn_default_small_pressed.9.png res/mdpi/btn_default_small_pressed.9.png
res/mdpi/btn_default_small_pressed_dark.9.png
res/mdpi/btn_default_small_selected.9.png res/mdpi/btn_default_small_selected.9.png
res/mdpi/btn_default_small_selected_dark.9.png
res/mdpi/btn_disabled.9.png res/mdpi/btn_disabled.9.png
res/mdpi/btn_disabled_dark.9.png
res/mdpi/btn_hover.9.png res/mdpi/btn_hover.9.png
res/mdpi/btn_hover_dark.9.png
res/mdpi/btn_normal.9.png res/mdpi/btn_normal.9.png
res/mdpi/btn_normal_dark.9.png
res/mdpi/btn_pressed.9.png res/mdpi/btn_pressed.9.png
res/mdpi/btn_pressed_dark.9.png
res/mdpi/btn_radio_off.png res/mdpi/btn_radio_off.png
res/mdpi/btn_radio_off_dark.png
res/mdpi/btn_radio_off_disabled.png res/mdpi/btn_radio_off_disabled.png
res/mdpi/btn_radio_off_disabled_dark.png
res/mdpi/btn_radio_off_focused.png res/mdpi/btn_radio_off_focused.png
res/mdpi/btn_radio_off_focused_dark.png
res/mdpi/btn_radio_off_pressed.png res/mdpi/btn_radio_off_pressed.png
res/mdpi/btn_radio_off_pressed_dark.png
res/mdpi/btn_radio_on.png res/mdpi/btn_radio_on.png
res/mdpi/btn_radio_on_dark.png
res/mdpi/btn_radio_on_disabled.png res/mdpi/btn_radio_on_disabled.png
res/mdpi/btn_radio_on_disabled_dark.png
res/mdpi/btn_radio_on_focused.png res/mdpi/btn_radio_on_focused.png
res/mdpi/btn_radio_on_focused_dark.png
res/mdpi/btn_radio_on_pressed.png res/mdpi/btn_radio_on_pressed.png
res/mdpi/btn_radio_on_pressed_dark.png
res/mdpi/computer.png res/mdpi/computer.png
res/mdpi/dialog-cancel.png res/mdpi/dialog-cancel.png
res/mdpi/dialog-close.png res/mdpi/dialog-close.png
@ -62,33 +108,54 @@ res/mdpi/drive-harddisk.png
res/mdpi/drive-optical.png res/mdpi/drive-optical.png
res/mdpi/drive-removable-media.png res/mdpi/drive-removable-media.png
res/mdpi/editbox_background_disabled.9.png res/mdpi/editbox_background_disabled.9.png
res/mdpi/editbox_background_disabled_dark.9.png
res/mdpi/editbox_background_disabled_focus.9.png res/mdpi/editbox_background_disabled_focus.9.png
res/mdpi/editbox_background_disabled_focus_dark.9.png
res/mdpi/editbox_background_focus.9.png res/mdpi/editbox_background_focus.9.png
res/mdpi/editbox_background_focus_dark.9.png
res/mdpi/editbox_background_normal.9.png res/mdpi/editbox_background_normal.9.png
res/mdpi/editbox_background_normal_dark.9.png
res/mdpi/folder-blue.png res/mdpi/folder-blue.png
res/mdpi/folder-bookmark.png res/mdpi/folder-bookmark.png
res/mdpi/folder-network.png res/mdpi/folder-network.png
res/mdpi/folder.png res/mdpi/folder.png
res/mdpi/media-flash-sd-mmc.png res/mdpi/media-flash-sd-mmc.png
res/mdpi/popup_window_background.9.png res/mdpi/popup_window_background.9.png
res/mdpi/popup_window_background_dark.9.png
res/mdpi/tab_btn_dark_up_focused.9.png res/mdpi/tab_btn_dark_up_focused.9.png
res/mdpi/tab_btn_dark_up_focused_dark.9.png
res/mdpi/tab_btn_dark_up_focused_selected.9.png res/mdpi/tab_btn_dark_up_focused_selected.9.png
res/mdpi/tab_btn_dark_up_focused_selected_dark.9.png
res/mdpi/tab_btn_dark_up_hover.9.png res/mdpi/tab_btn_dark_up_hover.9.png
res/mdpi/tab_btn_dark_up_hover_dark.9.png
res/mdpi/tab_btn_dark_up_normal.9.png res/mdpi/tab_btn_dark_up_normal.9.png
res/mdpi/tab_btn_dark_up_normal_dark.9.png
res/mdpi/tab_btn_dark_up_selected.9.png res/mdpi/tab_btn_dark_up_selected.9.png
res/mdpi/tab_btn_dark_up_selected_dark.9.png
res/mdpi/tab_up_background_dark_focused.9.png res/mdpi/tab_up_background_dark_focused.9.png
res/mdpi/tab_up_background_dark_focused_dark.9.png
res/mdpi/tab_up_background_dark_normal.9.png res/mdpi/tab_up_background_dark_normal.9.png
res/mdpi/tab_up_background_dark_normal_dark.9.png
res/mdpi/text-plain.png res/mdpi/text-plain.png
res/mdpi/toolbar_background.9.png res/mdpi/toolbar_background.9.png
res/mdpi/toolbar_background_dark.9.png
res/mdpi/toolbar_button_hover.9.png res/mdpi/toolbar_button_hover.9.png
res/mdpi/toolbar_button_hover_dark.9.png
res/mdpi/toolbar_button_pressed.9.png res/mdpi/toolbar_button_pressed.9.png
res/mdpi/toolbar_button_pressed_dark.9.png
res/mdpi/toolbar_control_disabled.9.png res/mdpi/toolbar_control_disabled.9.png
res/mdpi/toolbar_control_disabled_dark.9.png
res/mdpi/toolbar_control_normal.9.png res/mdpi/toolbar_control_normal.9.png
res/mdpi/toolbar_control_normal_dark.9.png
res/mdpi/toolbar_separator.png res/mdpi/toolbar_separator.png
res/mdpi/toolbar_separator_dark.png
res/mdpi/tooltip_background.9.png res/mdpi/tooltip_background.9.png
res/mdpi/tooltip_background_dark.9.png
res/mdpi/user-home.png res/mdpi/user-home.png
res/menu_item_background.xml res/menu_item_background.xml
res/menu_item_background_dark.xml
res/popup_menu_background_normal.9.png res/popup_menu_background_normal.9.png
res/popup_menu_background_normal_dark.9.png
res/scrollbar_btn_down.png res/scrollbar_btn_down.png
res/scrollbar_btn_left.png res/scrollbar_btn_left.png
res/scrollbar_btn_right.png res/scrollbar_btn_right.png
@ -96,19 +163,33 @@ res/scrollbar_btn_up.png
res/scrollbar_indicator_horizontal.png res/scrollbar_indicator_horizontal.png
res/scrollbar_indicator_vertical.png res/scrollbar_indicator_vertical.png
res/tab_btn_dark_up.xml res/tab_btn_dark_up.xml
res/tab_btn_dark_up_dark.xml
res/tab_btn_normal.9.png res/tab_btn_normal.9.png
res/tab_btn_normal_dark.9.png
res/tab_btn_up.xml res/tab_btn_up.xml
res/tab_btn_up_dark.xml
res/tab_btn_up_focused.9.png res/tab_btn_up_focused.9.png
res/tab_btn_up_focused_dark.9.png
res/tab_btn_up_focused_selected.9.png res/tab_btn_up_focused_selected.9.png
res/tab_btn_up_focused_selected_dark.9.png
res/tab_btn_up_hover.9.png res/tab_btn_up_hover.9.png
res/tab_btn_up_hover_dark.9.png
res/tab_btn_up_normal.9.png res/tab_btn_up_normal.9.png
res/tab_btn_up_normal_dark.9.png
res/tab_btn_up_selected.9.png res/tab_btn_up_selected.9.png
res/tab_btn_up_selected_dark.9.png
res/tab_more.png res/tab_more.png
res/tab_up_background.9.png res/tab_up_background.9.png
res/tab_up_background_dark.xml res/tab_up_background_dark.xml
res/tab_up_background_focused.9.png res/tab_up_background_focused.9.png
res/tab_up_background_focused_dark.9.png
res/tab_up_background_selected.9.png res/tab_up_background_selected.9.png
res/tab_up_background_selected_dark.9.png
res/theme_default.xml res/theme_default.xml
res/theme_dark.xml
res/toolbar_button_background.xml res/toolbar_button_background.xml
res/toolbar_button_background_dark.xml
res/toolbar_control_background.xml res/toolbar_control_background.xml
res/toolbar_control_background_dark.xml
res/transparent_button_background.xml res/transparent_button_background.xml
res/transparent_button_background_dark.xml