summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorPatrick Dubroy <dubroy@google.com>2010-08-30 10:40:53 -0700
committerPatrick Dubroy <dubroy@google.com>2010-08-30 18:08:43 -0700
commitceae05d573255a0143981888e5d257b5891e3925 (patch)
tree215a8a03bdc88b8e0f83f0c6a2514fa0fa446aaa /res
parentdf7c3a7853abd4dec460247370fe0b17b50866ac (diff)
downloadandroid_packages_apps_Trebuchet-ceae05d573255a0143981888e5d257b5891e3925.tar.gz
android_packages_apps_Trebuchet-ceae05d573255a0143981888e5d257b5891e3925.tar.bz2
android_packages_apps_Trebuchet-ceae05d573255a0143981888e5d257b5891e3925.zip
Add a market button to the toolbar.
We determine the default app market activity by resolving an intent, and fetch the icon from the activity's meta-data.
Diffstat (limited to 'res')
-rw-r--r--res/drawable-xlarge/app_market_generic.pngbin0 -> 2750 bytes
-rw-r--r--res/layout-xlarge/launcher.xml1
2 files changed, 1 insertions, 0 deletions
diff --git a/res/drawable-xlarge/app_market_generic.png b/res/drawable-xlarge/app_market_generic.png
new file mode 100644
index 000000000..0ceaeefde
--- /dev/null
+++ b/res/drawable-xlarge/app_market_generic.png
Binary files differ
diff --git a/res/layout-xlarge/launcher.xml b/res/layout-xlarge/launcher.xml
index 3add9117c..3b39fd150 100644
--- a/res/layout-xlarge/launcher.xml
+++ b/res/layout-xlarge/launcher.xml
@@ -83,6 +83,7 @@
android:layout_height="wrap_content"
android:layout_alignLeft="@id/all_apps_button"
+ android:onClick="onClickAppMarketButton"
android:focusable="false"
android:clickable="false"
android:visibility="gone"/>