I have an application with a simple layout that contains a few buttons. When running the application on "plain" android (a G1 with 1.6) the buttons look like they do elsewhere on the phone (grey gradients). They also look more or less the same on Sony Ericsson X10 Mini Pro (with 2.1), but the buttons in other applications on the X10 Mini (eg dialer, pin code input) looks very differen开发者_JAVA百科t (transparent).
Is it possible to somehow make sure that the buttons and other form input elements use the platform (for lack of a better word) styling across different Android devices?
As Falmarri already commented, this is not possible. Falmarri, why don't post an answer to this? ;) Some time ago I was trying to get the default colors of the buttons of the currently used theme (they also depend on the model and the operator and so on) but in Android this is not possible. In my opinion, this is a lack of flexibility that harms us programmers because applications we build do not look well-integrated into the environment.
精彩评论