diff options
author | Tor Norbye <tnorbye@google.com> | 2011-01-26 19:33:37 -0800 |
---|---|---|
committer | Tor Norbye <tnorbye@google.com> | 2011-01-27 16:12:19 -0800 |
commit | 4165cd94690a68be74232fa98ef40f9699fa2072 (patch) | |
tree | 8b899da68ba5570dab9ac28623519e565c68a7b3 /ide_common/src/com/android/ide/common/resources/ValueResourceParser.java | |
parent | c14e1be26b4fd9ca4f1f210df3ea9b1c083f5c1e (diff) | |
download | sdk-4165cd94690a68be74232fa98ef40f9699fa2072.zip sdk-4165cd94690a68be74232fa98ef40f9699fa2072.tar.gz sdk-4165cd94690a68be74232fa98ef40f9699fa2072.tar.bz2 |
Various palette improvements
1. Look up the theme background and foreground colors using theme
resources, if possible. These theme resources are then used to set
the foreground and background colors on the labels used as a
fallback for non-previewable widgets. In other words, when you're
looking at a dark theme, the layouts such as LinearLayout is now
shown using a white label on a dark background, making the palette
view more consistent visually.
2. Configure scrollbar increments properly such that scrolling the
views with scrollwheels or mouse gestures works better.
3. Fix a bug in the way preview images were copied out of the rendered
image; the root coordinates were not taken into account, which
matters for themes like Theme.Dialog.
Change-Id: I4832166a0560d33fe4e4dd8079c82a180e07e897
Diffstat (limited to 'ide_common/src/com/android/ide/common/resources/ValueResourceParser.java')
0 files changed, 0 insertions, 0 deletions