![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
安卓控件
微子123
普通学生
展开
-
如何创建方框型的EditText
代码为 android:id="@+id/add_content" android:layout_width="fill_parent" android:layout_height="wrap_content" android原创 2016-06-13 10:17:26 · 2526 阅读 · 0 评论 -
TextView设置超链接
如果我们需要在Textview上设置超链接,例如在“我已阅读《服务条例》”,希望用户在点击《服务条例》后跳转,我们可以在strings.xml设置文字时添加超链接: string name="agreenment">我已阅读a href="http://www.baidu.com">《服务条例》a>string> 另外别忘了设置联网权限: 在代码中: tv = (Text原创 2016-11-23 16:19:09 · 283 阅读 · 0 评论 -
好看的开源按钮组件
ToggleButton 状态切换的 Button,类似 iOS,用 View 实现 项目地址:https://github.com/zcweng/ToggleButton circular-progress-button 带进度显示的Button 项目地址: https://github.com/dmytrodanylyk/circular-progress-button android-原创 2017-09-15 18:32:43 · 1551 阅读 · 0 评论