0

我正在寻找一个 android gui 库,其中包含更多可以在我的应用程序中使用的组件。

例子:

微控制器将电机的转速(通过蓝牙)发送到我的智能手机。我想使用我的智能手机在类似进度条的元素中显示收到的 rpm。但是正常的进度条看起来很难看,我必须要progressbar.setClickable(false); .

正如我之前所说,我正在搜索具有更多 gui 元素的库(可选:我可以自己修改、自定义外观)

你们中有人知道这样的图书馆吗?

感谢到目前为止。

4

1 回答 1

0

If you're just concerned about the external appearance of your GUI elements, I don't think there's any support for different UI elements than the ones provided. However, have you looked into a universal Theme and style for your application?

Here are some excerpts from that document:

A style is a collection of properties that specify the look and format for a View or window. A style can specify properties such as height, padding, font color, font size, background color, and much more. A style is defined in an XML resource that is separate from the XML that specifies the layout.

A theme is a style applied to an entire Activity or application, rather than an individual View (as in the example above). When a style is applied as a theme, every View in the Activity or application will apply each style property that it supports. For example, you can apply the same CodeFont style as a theme for an Activity and then all text inside that Activity will have green monospace font.

Here are some resources which talk about themes:

Let me know if that's what you wanted. Themes give you almost infinite possibilities to modify outwards appearance.

于 2013-03-31T21:56:54.097 回答