diff options
author | Daniel Sandler <dsandler@android.com> | 2010-04-22 14:37:59 -0400 |
---|---|---|
committer | Daniel Sandler <dsandler@android.com> | 2010-04-23 12:37:23 -0400 |
commit | c9b1877f9acf604897c719d70dc99685d10849b5 (patch) | |
tree | 878a47a9d08323eee4a7d92ee5cfa5b88d10d6c9 /res/values/dimens.xml | |
parent | d65d08e709ec0916446100bae0a7276d0800382f (diff) | |
download | android_packages_apps_Trebuchet-c9b1877f9acf604897c719d70dc99685d10849b5.tar.gz android_packages_apps_Trebuchet-c9b1877f9acf604897c719d70dc99685d10849b5.tar.bz2 android_packages_apps_Trebuchet-c9b1877f9acf604897c719d70dc99685d10849b5.zip |
New Launcher feature: "hotseat" icons.
The hotseats are permanent slots on either side of the
AllApps button. Their functions are:
LEFT/BOTTOM: Phone
Launched via the hardcoded class name
com.android.contacts/.ContactsLaunchActivity.
RIGHT/TOP: Browser
Launched by querying to see which application is the
default for URLs, then starting that activity directly.
In the future, it would be ideal to allow an application
with permission to access LauncherProvider to customize
these (icons, contentDescriptions, and Intents).
Bug: 2559083
Change-Id: I56f6e745f8574aa17e28feaa9d2118fb4a715cd4
Diffstat (limited to 'res/values/dimens.xml')
-rw-r--r-- | res/values/dimens.xml | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 132a1ce55..5e3bb98ef 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -16,5 +16,15 @@ <resources> <dimen name="title_texture_width">120px</dimen> + + <!-- height of the bottom row of controls --> <dimen name="button_bar_height">56dip</dimen> + + <!-- so we have access to this dimension in landscape mode even though + button_bar_height changes --> + <dimen name="button_bar_height_portrait">56dip</dimen> + + <!-- roughly half a status bar (for vertically centering the right-hand + button cluster in landscape) --> + <dimen name="half_status_bar_height">12dip</dimen> </resources> |