[英]Custom switch button using textView
我使用两个textview组件创建了自定义开关按钮。 有没有简单的方法可以使用OnClickListener在另一个元素上赋予一个元素? 例:
你为什么要自己做? Android已经提供了Switches ,您无需担心这些东西,因为它已经实现了。 具体来说,您需要切换按钮 (在Android 4.0+中更改为切换按钮)。
这样,您将为用户提供特定于其平台并与他们使用的其他类似应用程序匹配的控件。
[英]Custom TextView in Button
[英]Custom Button with two TextView
[英]How to custom switch button?
[英]Custom ListView with Switch and TextView in each item
[英]Button using text of textview
[英]textview to pdf using a button
[英]Using custom Textview in Style
[英]custom textview using custom font
[英]Custom Keyboard: Switch keyboard button
[英]Android Switch Button Custom design
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.