diff options
author | John Reck <jreck@google.com> | 2011-01-14 11:01:05 -0800 |
---|---|---|
committer | John Reck <jreck@google.com> | 2011-01-14 17:37:01 -0800 |
commit | b3417f0a68a1efc64604ea354ae7f856ce79cb16 (patch) | |
tree | 455c87606f0f1a97c2c06c7338a5aa29715880e8 /res/drawable | |
parent | 231f751049febdb0877ead6364d33d130286cff1 (diff) | |
download | android_packages_apps_Gello-b3417f0a68a1efc64604ea354ae7f856ce79cb16.tar.gz android_packages_apps_Gello-b3417f0a68a1efc64604ea354ae7f856ce79cb16.tar.bz2 android_packages_apps_Gello-b3417f0a68a1efc64604ea354ae7f856ce79cb16.zip |
Bookmark UI update
Change-Id: Ibdf7f93f7c5863d7108044dcd40d3866ff02518a
Diffstat (limited to 'res/drawable')
-rw-r--r-- | res/drawable/bookmark_list_favicon_bg.xml | 26 | ||||
-rw-r--r-- | res/drawable/bookmark_thumb_selector.xml | 5 | ||||
-rw-r--r-- | res/drawable/bookmark_thumb_selector_transition.xml | 21 | ||||
-rw-r--r-- | res/drawable/bookmark_widget_thumb_selector.xml | 3 |
4 files changed, 52 insertions, 3 deletions
diff --git a/res/drawable/bookmark_list_favicon_bg.xml b/res/drawable/bookmark_list_favicon_bg.xml new file mode 100644 index 00000000..3d362e4a --- /dev/null +++ b/res/drawable/bookmark_list_favicon_bg.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- Copyright (C) 2011 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. +--> + +<shape xmlns:android="http://schemas.android.com/apk/res/android" + android:shape="rectangle"> + <solid android:color="@color/bookmarkListFaviconBackground" /> + <padding + android:left="5dip" + android:right="5dip" + android:top="5dip" + android:bottom="5dip" /> + <corners android:radius="3dip" /> +</shape> diff --git a/res/drawable/bookmark_thumb_selector.xml b/res/drawable/bookmark_thumb_selector.xml index 5219d905..59d94050 100644 --- a/res/drawable/bookmark_thumb_selector.xml +++ b/res/drawable/bookmark_thumb_selector.xml @@ -14,8 +14,9 @@ limitations under the License. --> -<selector xmlns:android="http://schemas.android.com/apk/res/android"> - <item android:state_pressed="true" android:drawable="@drawable/frame_bookmark_thumb_pressed" /> +<selector xmlns:android="http://schemas.android.com/apk/res/android" + android:exitFadeDuration="@android:integer/config_mediumAnimTime"> + <item android:state_pressed="true" android:drawable="@drawable/bookmark_thumb_selector_transition" /> <item android:drawable="@android:color/transparent" /> </selector> diff --git a/res/drawable/bookmark_thumb_selector_transition.xml b/res/drawable/bookmark_thumb_selector_transition.xml new file mode 100644 index 00000000..07ad2814 --- /dev/null +++ b/res/drawable/bookmark_thumb_selector_transition.xml @@ -0,0 +1,21 @@ +<?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. +--> + +<transition xmlns:android="http://schemas.android.com/apk/res/android"> + <item android:drawable="@drawable/bookmarks_widget_thumb_selector_pressed" /> + <item android:drawable="@drawable/bookmarks_widget_thumb_selector_longpressed" /> +</transition> + diff --git a/res/drawable/bookmark_widget_thumb_selector.xml b/res/drawable/bookmark_widget_thumb_selector.xml index d9b81713..d34a55d4 100644 --- a/res/drawable/bookmark_widget_thumb_selector.xml +++ b/res/drawable/bookmark_widget_thumb_selector.xml @@ -14,7 +14,8 @@ limitations under the License. --> -<selector xmlns:android="http://schemas.android.com/apk/res/android"> +<selector xmlns:android="http://schemas.android.com/apk/res/android" + android:exitFadeDuration="@android:integer/config_mediumAnimTime"> <item android:state_pressed="true" android:drawable="@drawable/bookmarks_widget_thumb_selector_pressed" /> <item android:drawable="@android:color/transparent" /> </selector> |