Brill,

While I don't have a direct answer to your question (how to ask the system), you might want to look at "dimen" resources:

http://developer.android.com/guide/topics/resources/more-resources.html#Dimension

You can have res/values-ldpi/dimens.xml, res/values-hdpi/dimens.xml, etc., each with different values for the same identifiers. Then use the identifiers in your layouts to pick up the value that matches screen density.

-- Kostya

26.12.2010 20:46, Brill Pappin пишет:
So I'm improving on the keyboard I have in the Market.

One of the biggest problems I need to resolve is that on a smaller devices ldpi and low end mdpi, the font on the keys is too large.

now I'm fairly sure I can ask the system for the font size it suggests, but I'm unsure how to do that. Can anyone point me in the right direction for asking the system what font to use for the keyboard?

I have looked at the style docs, but there isn't much there on standard styles and themes.

- Brill Pappin
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


--
Kostya Vasilyev -- WiFi Manager + pretty widget -- http://kmansoft.wordpress.com

--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to