diff options
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/preview.png | bin | 17210 -> 19447 bytes | |||
-rw-r--r-- | res/drawable/widget_background.xml | 29 | ||||
-rw-r--r-- | res/drawable/widget_header_selector.xml | 33 |
3 files changed, 62 insertions, 0 deletions
diff --git a/res/drawable/preview.png b/res/drawable/preview.png Binary files differindex b363ab5..b239716 100644 --- a/res/drawable/preview.png +++ b/res/drawable/preview.png diff --git a/res/drawable/widget_background.xml b/res/drawable/widget_background.xml new file mode 100644 index 0000000..de6c3f2 --- /dev/null +++ b/res/drawable/widget_background.xml @@ -0,0 +1,29 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 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. +--> + +<layer-list + xmlns:android="http://schemas.android.com/apk/res/android"> + <item> + <bitmap + android:src="@drawable/gradient_overlay_bg_bookmark_widget_holo" + android:gravity="top|fill_horizontal" /> + </item> + <item> + <bitmap + android:src="@drawable/stripes_overlay_bg_bookmark_widget_holo" + android:gravity="top|fill_horizontal" /> + </item> +</layer-list> diff --git a/res/drawable/widget_header_selector.xml b/res/drawable/widget_header_selector.xml new file mode 100644 index 0000000..0e6bc47 --- /dev/null +++ b/res/drawable/widget_header_selector.xml @@ -0,0 +1,33 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2010 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" + android:exitFadeDuration="@android:integer/config_mediumAnimTime"> + <item + android:state_window_focused="false" + android:drawable="@android:color/transparent" /> + <item + android:state_focused="true" + android:state_pressed="true" + android:drawable="@drawable/header_row_press_bookmark_widget_holo" /> + <item + android:state_focused="false" + android:state_pressed="true" + android:drawable="@drawable/header_row_press_bookmark_widget_holo" /> + <item + android:state_focused="true" + android:drawable="@drawable/header_row_focused_bookmark_widget_holo" /> +</selector> |