问题描述
我试图做一个清单,看起来酷似2.3.4在这个截图音效设置:
-
现在的问题是,我试图用的TableRow,最终是这样的:
-------------------------------------- ---- 振动> ------------------------------------------ 只有在非静音模式 ------------------------------------------
而不是一个大排的屏幕截图。我做了什么错?
-
这些内置的图标都不错(如>图标) - 无法找到谷歌图像,所以我想这些图标是在Android OS内置。是否有任何文档中,我们可以参照这个?我想使用系统文本颜色/背景颜色和这些图标,但不知道如何在code实现。
这是列表视图,但它是可定制的,你必须让这显示这个TextView的牵引和图标(在你的话)。
xml文件这是不是一个内置的图标,但是这仅仅是图像设置习惯。
下面是一些链接:
I'm trying to make a list that looks exactly like Sound setting in 2.3.4 as in this screenshot:
The problem is that I tried using TableRow and ended up like this:
------------------------------------------ Vibration > ------------------------------------------ Only when not in Silent Mode ------------------------------------------
instead of one large row as in the screenshot. What did I do wrong?
These inbuilt icons are nice (such as the ">" icon) - couldn't find on Google Image so I guess these icons are "inbuilt" in the Android OS. Is there any document we can refer about this? I'd like to use system text colours/background colours and these icons but don't know how to implement in the code.
it is Listview but it is customizable you have to make xml file which display this tow Textview and icon(in your words).
This is not a inbuilt icons but this is just image that set customarily.
Here are some links:
这篇关于如何使用内置图标和模板?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!