diff options
| author | Samuel Tardieu <sam@rfc1149.net> | 2011-09-15 10:24:08 -0700 |
|---|---|---|
| committer | Samuel Tardieu <sam@rfc1149.net> | 2011-09-15 10:24:08 -0700 |
| commit | 411347b882f533f2bf899c5f523dc9a58fa03070 (patch) | |
| tree | aac62c49c454bb0cfa26d19dcf1d02fba21b6c91 | |
| parent | 73cf26ef4e304f3261d716d9d12cb1939e3f69bd (diff) | |
| parent | f520515f7fa31b7701ddeb2f3ccc1c7744f98dc0 (diff) | |
| download | cgeo-411347b882f533f2bf899c5f523dc9a58fa03070.zip cgeo-411347b882f533f2bf899c5f523dc9a58fa03070.tar.gz cgeo-411347b882f533f2bf899c5f523dc9a58fa03070.tar.bz2 | |
Merge pull request #466 from cachapa/actionbar_background
Replace action bar bitmaps with shape drawables
| -rw-r--r-- | res/drawable-hdpi/actionbar_background_tile.png | bin | 34868 -> 0 bytes | |||
| -rw-r--r-- | res/drawable-ldpi/actionbar_background_tile.png | bin | 7662 -> 0 bytes | |||
| -rw-r--r-- | res/drawable-mdpi/actionbar_background_tile.png | bin | 18719 -> 0 bytes | |||
| -rw-r--r-- | res/drawable/actionbar_background.xml | 10 | ||||
| -rw-r--r-- | res/drawable/actionbar_background_tile.png | bin | 18719 -> 0 bytes | |||
| -rw-r--r-- | res/drawable/list_footer_background.xml | 4 | ||||
| -rw-r--r-- | res/layout/caches_footer.xml | 2 |
7 files changed, 8 insertions, 8 deletions
diff --git a/res/drawable-hdpi/actionbar_background_tile.png b/res/drawable-hdpi/actionbar_background_tile.png Binary files differdeleted file mode 100644 index d30c591..0000000 --- a/res/drawable-hdpi/actionbar_background_tile.png +++ /dev/null diff --git a/res/drawable-ldpi/actionbar_background_tile.png b/res/drawable-ldpi/actionbar_background_tile.png Binary files differdeleted file mode 100644 index d7f4732..0000000 --- a/res/drawable-ldpi/actionbar_background_tile.png +++ /dev/null diff --git a/res/drawable-mdpi/actionbar_background_tile.png b/res/drawable-mdpi/actionbar_background_tile.png Binary files differdeleted file mode 100644 index ba0b08b..0000000 --- a/res/drawable-mdpi/actionbar_background_tile.png +++ /dev/null diff --git a/res/drawable/actionbar_background.xml b/res/drawable/actionbar_background.xml index 0994d2c..a7df2f4 100644 --- a/res/drawable/actionbar_background.xml +++ b/res/drawable/actionbar_background.xml @@ -1,4 +1,8 @@ <?xml version="1.0" encoding="utf-8"?> -<bitmap xmlns:android="http://schemas.android.com/apk/res/android" - android:src="@drawable/actionbar_background_tile" - android:tileMode="repeat" />
\ No newline at end of file +<shape xmlns:android="http://schemas.android.com/apk/res/android"> + <gradient android:angle="270" + android:startColor="#313131" + android:centerColor="#191919" + android:endColor="#222" + android:centerY="0.92" /> +</shape> diff --git a/res/drawable/actionbar_background_tile.png b/res/drawable/actionbar_background_tile.png Binary files differdeleted file mode 100644 index ba0b08b..0000000 --- a/res/drawable/actionbar_background_tile.png +++ /dev/null diff --git a/res/drawable/list_footer_background.xml b/res/drawable/list_footer_background.xml deleted file mode 100644 index 0994d2c..0000000 --- a/res/drawable/list_footer_background.xml +++ /dev/null @@ -1,4 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<bitmap xmlns:android="http://schemas.android.com/apk/res/android" - android:src="@drawable/actionbar_background_tile" - android:tileMode="repeat" />
\ No newline at end of file diff --git a/res/layout/caches_footer.xml b/res/layout/caches_footer.xml index 5042688..f33aca2 100644 --- a/res/layout/caches_footer.xml +++ b/res/layout/caches_footer.xml @@ -13,4 +13,4 @@ android:textSize="16dip" android:textColor="@color/just_white" android:text="@string/caches_no_cache" - android:background="@drawable/list_footer_background" />
\ No newline at end of file + android:background="@drawable/actionbar_background" />
\ No newline at end of file |
