开发者

How to make button on LinearLayout dynamically?

开发者 https://www.devze.com 2022-12-25 00:41 出处:网络
I am trying to make a button programmable way (no attributes on LinearLayout). In other words, b开发者_Python百科utton count on the View is dynamically.

I am trying to make a button programmable way (no attributes on LinearLayout). In other words, b开发者_Python百科utton count on the View is dynamically.

How to make it ?

Thanks


Take a look at this article it demonstrates creation of Android UI in java code rather than using the declarative approach

0

精彩评论

暂无评论...
验证码 换一张
取 消