New asset drop for Tag app.
Ben Komalo [Thu, 21 Oct 2010 00:49:21 +0000 (17:49 -0700)]
Change-Id: I74737579db9162081ec6dce411e99e1eec9d8907

19 files changed:
res/drawable-hdpi/ic_menu_tag.png [deleted file]
res/drawable-hdpi/ic_tab_my_tag.png [deleted file]
res/drawable-hdpi/ic_tab_selected_all_tags.png [new file with mode: 0644]
res/drawable-hdpi/ic_tab_selected_my_tag.png [new file with mode: 0644]
res/drawable-hdpi/ic_tab_selected_starred.png
res/drawable-hdpi/ic_tab_unselected_all_tags.png [new file with mode: 0644]
res/drawable-hdpi/ic_tab_unselected_my_tag.png [new file with mode: 0644]
res/drawable-hdpi/ic_tab_unselected_starred.png
res/drawable-mdpi/ic_menu_tag.png [deleted file]
res/drawable-mdpi/ic_tab_my_tag.png [deleted file]
res/drawable-mdpi/ic_tab_selected_all_tags.png [new file with mode: 0644]
res/drawable-mdpi/ic_tab_selected_my_tag.png [new file with mode: 0644]
res/drawable-mdpi/ic_tab_selected_starred.png
res/drawable-mdpi/ic_tab_unselected_all_tags.png [new file with mode: 0644]
res/drawable-mdpi/ic_tab_unselected_my_tag.png [new file with mode: 0644]
res/drawable-mdpi/ic_tab_unselected_starred.png
res/drawable/ic_tab_all_tags.xml [new file with mode: 0644]
res/drawable/ic_tab_my_tag.xml [new file with mode: 0644]
src/com/android/apps/tag/TagBrowserActivity.java

diff --git a/res/drawable-hdpi/ic_menu_tag.png b/res/drawable-hdpi/ic_menu_tag.png
deleted file mode 100644 (file)
index c4d820e..0000000
Binary files a/res/drawable-hdpi/ic_menu_tag.png and /dev/null differ
diff --git a/res/drawable-hdpi/ic_tab_my_tag.png b/res/drawable-hdpi/ic_tab_my_tag.png
deleted file mode 100644 (file)
index 15fbdfc..0000000
Binary files a/res/drawable-hdpi/ic_tab_my_tag.png and /dev/null differ
diff --git a/res/drawable-hdpi/ic_tab_selected_all_tags.png b/res/drawable-hdpi/ic_tab_selected_all_tags.png
new file mode 100644 (file)
index 0000000..3c79fdf
Binary files /dev/null and b/res/drawable-hdpi/ic_tab_selected_all_tags.png differ
diff --git a/res/drawable-hdpi/ic_tab_selected_my_tag.png b/res/drawable-hdpi/ic_tab_selected_my_tag.png
new file mode 100644 (file)
index 0000000..b6187e5
Binary files /dev/null and b/res/drawable-hdpi/ic_tab_selected_my_tag.png differ
index d9182b5..fdf77b0 100644 (file)
Binary files a/res/drawable-hdpi/ic_tab_selected_starred.png and b/res/drawable-hdpi/ic_tab_selected_starred.png differ
diff --git a/res/drawable-hdpi/ic_tab_unselected_all_tags.png b/res/drawable-hdpi/ic_tab_unselected_all_tags.png
new file mode 100644 (file)
index 0000000..cd02866
Binary files /dev/null and b/res/drawable-hdpi/ic_tab_unselected_all_tags.png differ
diff --git a/res/drawable-hdpi/ic_tab_unselected_my_tag.png b/res/drawable-hdpi/ic_tab_unselected_my_tag.png
new file mode 100644 (file)
index 0000000..908495a
Binary files /dev/null and b/res/drawable-hdpi/ic_tab_unselected_my_tag.png differ
index 259d2d3..b4d471d 100644 (file)
Binary files a/res/drawable-hdpi/ic_tab_unselected_starred.png and b/res/drawable-hdpi/ic_tab_unselected_starred.png differ
diff --git a/res/drawable-mdpi/ic_menu_tag.png b/res/drawable-mdpi/ic_menu_tag.png
deleted file mode 100644 (file)
index e0b3eb7..0000000
Binary files a/res/drawable-mdpi/ic_menu_tag.png and /dev/null differ
diff --git a/res/drawable-mdpi/ic_tab_my_tag.png b/res/drawable-mdpi/ic_tab_my_tag.png
deleted file mode 100644 (file)
index 342a1f0..0000000
Binary files a/res/drawable-mdpi/ic_tab_my_tag.png and /dev/null differ
diff --git a/res/drawable-mdpi/ic_tab_selected_all_tags.png b/res/drawable-mdpi/ic_tab_selected_all_tags.png
new file mode 100644 (file)
index 0000000..31459e0
Binary files /dev/null and b/res/drawable-mdpi/ic_tab_selected_all_tags.png differ
diff --git a/res/drawable-mdpi/ic_tab_selected_my_tag.png b/res/drawable-mdpi/ic_tab_selected_my_tag.png
new file mode 100644 (file)
index 0000000..d50caf7
Binary files /dev/null and b/res/drawable-mdpi/ic_tab_selected_my_tag.png differ
index 089dfe9..19a75ee 100644 (file)
Binary files a/res/drawable-mdpi/ic_tab_selected_starred.png and b/res/drawable-mdpi/ic_tab_selected_starred.png differ
diff --git a/res/drawable-mdpi/ic_tab_unselected_all_tags.png b/res/drawable-mdpi/ic_tab_unselected_all_tags.png
new file mode 100644 (file)
index 0000000..0b335ca
Binary files /dev/null and b/res/drawable-mdpi/ic_tab_unselected_all_tags.png differ
diff --git a/res/drawable-mdpi/ic_tab_unselected_my_tag.png b/res/drawable-mdpi/ic_tab_unselected_my_tag.png
new file mode 100644 (file)
index 0000000..7ebb2d7
Binary files /dev/null and b/res/drawable-mdpi/ic_tab_unselected_my_tag.png differ
index 32fe67d..4e88603 100644 (file)
Binary files a/res/drawable-mdpi/ic_tab_unselected_starred.png and b/res/drawable-mdpi/ic_tab_unselected_starred.png differ
diff --git a/res/drawable/ic_tab_all_tags.xml b/res/drawable/ic_tab_all_tags.xml
new file mode 100644 (file)
index 0000000..2b8440b
--- /dev/null
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2008 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">
+    <item android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/ic_tab_selected_all_tags" />
+    <item android:drawable="@drawable/ic_tab_unselected_all_tags" />
+</selector>
+
+
diff --git a/res/drawable/ic_tab_my_tag.xml b/res/drawable/ic_tab_my_tag.xml
new file mode 100644 (file)
index 0000000..d73c79a
--- /dev/null
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2008 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">
+    <item android:state_selected="true" android:state_pressed="false" android:drawable="@drawable/ic_tab_selected_my_tag" />
+    <item android:drawable="@drawable/ic_tab_unselected_my_tag" />
+</selector>
+
+
+
index 03c91b2..49444d8 100644 (file)
@@ -40,7 +40,7 @@ public class TagBrowserActivity extends TabActivity {
 
         tabHost.addTab(tabHost.newTabSpec("tags")
                 .setIndicator(getText(R.string.tab_tags),
-                        res.getDrawable(R.drawable.ic_menu_tag))
+                        res.getDrawable(R.drawable.ic_tab_all_tags))
                 .setContent(new Intent().setClass(this, TagList.class)));
 
         tabHost.addTab(tabHost.newTabSpec("starred")