diff options
author | Patrick Dubroy <dubroy@google.com> | 2010-08-30 10:40:53 -0700 |
---|---|---|
committer | Patrick Dubroy <dubroy@google.com> | 2010-08-30 18:08:43 -0700 |
commit | ceae05d573255a0143981888e5d257b5891e3925 (patch) | |
tree | 215a8a03bdc88b8e0f83f0c6a2514fa0fa446aaa /res | |
parent | df7c3a7853abd4dec460247370fe0b17b50866ac (diff) | |
download | packages_apps_trebuchet-ceae05d573255a0143981888e5d257b5891e3925.zip packages_apps_trebuchet-ceae05d573255a0143981888e5d257b5891e3925.tar.gz packages_apps_trebuchet-ceae05d573255a0143981888e5d257b5891e3925.tar.bz2 |
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.png | bin | 0 -> 2750 bytes | |||
-rw-r--r-- | res/layout-xlarge/launcher.xml | 1 |
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 Binary files differnew file mode 100644 index 0000000..0ceaeef --- /dev/null +++ b/res/drawable-xlarge/app_market_generic.png diff --git a/res/layout-xlarge/launcher.xml b/res/layout-xlarge/launcher.xml index 3add911..3b39fd1 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"/> |