I am creating a RelativeLayout programmatically, and thus, I need to add this xml attribute: android:clickable="true"
programmatically.
我以编程方式创建RelativeLayout,因此,我需要以编程方式添加此xml属性:android:clickable =“true”。
How can this be done? thanks!
如何才能做到这一点?谢谢!