dark tab resources
After Width: | Height: | Size: 189 B |
After Width: | Height: | Size: 184 B |
After Width: | Height: | Size: 189 B |
After Width: | Height: | Size: 189 B |
After Width: | Height: | Size: 188 B |
After Width: | Height: | Size: 187 B |
After Width: | Height: | Size: 193 B |
|
@ -0,0 +1,20 @@
|
|||
<?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_dark_up_hover"
|
||||
android:state_hovered="true" />
|
||||
<item
|
||||
android:drawable="tab_btn_dark_up_selected_focused"
|
||||
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_normal" />
|
||||
</selector>
|
|
@ -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_dark_focused"
|
||||
android:state_window_focused="true" />
|
||||
<item
|
||||
android:drawable="tab_up_background_dark_normal" />
|
||||
</selector>
|
|
@ -102,6 +102,23 @@
|
|||
<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"
|
||||
backgroundImageId="tab_btn_dark_up"
|
||||
/>
|
||||
<style id="TAB_UP_BUTTON_DARK_TEXT"
|
||||
textColor="#000000"
|
||||
align="Center"
|
||||
>
|
||||
<state state_selected="true" state_focused="true" textColor="#000000"/>
|
||||
<state state_selected="true" textColor="#000000"/>
|
||||
<state state_focused="true" textColor="#000000"/>
|
||||
<state state_hovered="true" textColor="#808000"/>
|
||||
</style>
|
||||
<style id="TAB_UP"
|
||||
backgroundImageId="tab_up_background"
|
||||
layoutWidth="FILL_PARENT"
|
||||
|
|
|
@ -44,6 +44,7 @@ class IDEFrame : AppFrame {
|
|||
|
||||
// editor tabs
|
||||
TabWidget tabs = new TabWidget("TABS");
|
||||
tabs.setStyles("TAB_UP_DARK", "TAB_UP_BUTTON_DARK", "TAB_UP_BUTTON_DARK_TEXT");
|
||||
tabs.styleId = STYLE_DOCK_HOST_BODY;
|
||||
|
||||
// create Editors test tab
|
||||
|
|