Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要在 LWUIT 组件中使用 css。是否可以?如果它可能的手段告诉我我们可以如何使用?
我们不能为所有 LWUIT 组件添加 CSS。只有 HTML 组件允许在 LWUIT 中使用 CSS。有关更多信息,请参阅此链接。
您可以在 html 组件中添加完整的 html。CSS 需要在 html 文件中。在 html 组件中设置正文文本后,lwuit 会呈现一些它支持的样式表。