摘要:
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2006 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License a 阅读全文
posted @ 2012-03-31 19:40
移动应用开发
阅读(629)
评论(0)
推荐(0)
摘要:
<?xml version="1.0" encoding="utf-8"?><!-- Copyright (C) 2006 The Android Open Source Project Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License a 阅读全文
posted @ 2012-03-31 19:39
移动应用开发
阅读(910)
评论(0)
推荐(0)
摘要:
样式属性理解了样式是如何定义的之后,就需要学习<item>元素都定义了那些有效的样式属性类型。你可能已经熟悉了像layout_width和textColor属性,但是还有更多的可以使用的样式属性。查找应用于指定的View对象的最好的地方是对应的类参考,类参考中会列出所有的XML所支持的属性。例如,在TextView类的XML属性表中列出了所有的能够用于定义TextView元素(或者它的一个子类)的样式。在这个类参考中列出了一个属性:android:inputType,这个属性通常被放在<EditText>元素中,如:<EditText android:inputT 阅读全文
posted @ 2012-03-31 19:33
移动应用开发
阅读(214)
评论(0)
推荐(0)
浙公网安备 33010602011771号