调整 action bar tag 背景
No files matched your search
@@ -1,8 +1,5 @@
|
||||
以下文件采用 Creative Commons Attribution 3.0 Unported License 授权,未特殊说明均指 res 目录及其子目录下同名文件。
|
||||
|
||||
ab_bg.9.png
|
||||
ab_bg_bottom.9.png
|
||||
ab_bg_stacked.9.png
|
||||
ic_action_completed.png
|
||||
ic_action_core_overflow.png
|
||||
ic_action_core_overflow_dark.png
|
||||
|
||||
|
Before Width: | Height: | Size: 216 B |
|
Before Width: | Height: | Size: 194 B |
|
Before Width: | Height: | Size: 199 B |
|
Before Width: | Height: | Size: 168 B |
|
Before Width: | Height: | Size: 153 B |
|
Before Width: | Height: | Size: 166 B |
|
Before Width: | Height: | Size: 264 B |
|
Before Width: | Height: | Size: 254 B |
|
Before Width: | Height: | Size: 259 B |
|
Before Width: | Height: | Size: 357 B |
|
Before Width: | Height: | Size: 362 B |
|
Before Width: | Height: | Size: 352 B |
@@ -24,7 +24,7 @@
|
||||
android:layout_height="fill_parent"
|
||||
android:divider="@null"
|
||||
android:listSelector="@android:color/transparent"
|
||||
android:cacheColorHint="@color/main_background"
|
||||
android:cacheColorHint="@color/list_main_bg"
|
||||
android:fitsSystemWindows="true"
|
||||
android:clipToPadding="false" >
|
||||
</ListView>
|
||||
|
||||
@@ -28,7 +28,8 @@
|
||||
<color name="refresh_color_4">#b23424</color>
|
||||
|
||||
<color name="ab_bg">@android:color/holo_blue_dark</color>
|
||||
<color name="main_background">#ffe5e5e5</color>
|
||||
<color name="list_main_bg">#ffe5e5e5</color>
|
||||
<color name="tag_bg">#bbffffff</color>
|
||||
<color name="holo_blue_light_light">#ff81d3f7</color>
|
||||
|
||||
<color name="light_gray">#aaa</color>
|
||||
|
||||
@@ -16,9 +16,9 @@
|
||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<style name="ActionBar" parent="@android:style/Widget.Holo.ActionBar">
|
||||
<item name="android:background">@drawable/ab_bg</item>
|
||||
<item name="android:backgroundStacked">@drawable/ab_bg_stacked</item>
|
||||
<item name="android:backgroundSplit">@drawable/ab_bg_bottom</item>
|
||||
<item name="android:background">@android:color/holo_blue_dark</item>
|
||||
<item name="android:backgroundStacked">@color/tag_bg</item>
|
||||
<item name="android:backgroundSplit">@android:color/holo_blue_dark</item>
|
||||
<item name="android:titleTextStyle">@style/ActionBarTitleFont</item>
|
||||
</style>
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.Main.ListActivity">
|
||||
<item name="android:windowBackground">@color/main_background</item>
|
||||
<item name="android:windowBackground">@color/list_main_bg</item>
|
||||
</style>
|
||||
|
||||
<style name="AppTheme.NoActionBar">
|
||||
@@ -57,7 +57,7 @@
|
||||
|
||||
<!-- For activity whose main view is list, make background darker to match white list -->
|
||||
<style name="AppTheme.ListActivity">
|
||||
<item name="android:windowBackground">@color/main_background</item>
|
||||
<item name="android:windowBackground">@color/list_main_bg</item>
|
||||
</style>
|
||||
|
||||
<!-- Theme for start activity -->
|
||||
|
||||
@@ -52,7 +52,7 @@ public class Ui {
|
||||
private static final BitmapFactory.Options opt = new BitmapFactory.Options();
|
||||
|
||||
public static int HOLO_BLUE_DARK;
|
||||
public static int BG_WHITE;
|
||||
public static int LIST_MAIN_BG;
|
||||
|
||||
public static int DOUJINSHI_BG_COLOR;
|
||||
public static int MANGA_BG_COLOR;
|
||||
@@ -89,7 +89,7 @@ public class Ui {
|
||||
mResources = mContext.getResources();
|
||||
// init color
|
||||
HOLO_BLUE_DARK = mResources.getColor(android.R.color.holo_blue_dark);
|
||||
BG_WHITE = mResources.getColor(R.color.main_background);
|
||||
LIST_MAIN_BG = mResources.getColor(R.color.list_main_bg);
|
||||
|
||||
DOUJINSHI_BG_COLOR = mResources.getColor(R.color.doujinshi_bg);
|
||||
MANGA_BG_COLOR = mResources.getColor(R.color.manga_bg);
|
||||
|
||||