android-view
java.lang.StackOverFlow error. Suspected too many views?
When you get an error like the one below (Android 1.5), is it because there are too many nested ViewGroups, or because the total number of Views is too great?Are there any tricks to get around it whil[详细]
2022-12-29 05:29 分类:问答Connection between View in the xml file and extened View class
Is there a way to link inherit class to xml file. I am trying to connect extended class to widget in the xm开发者_运维问答l file.[详细]
2022-12-14 23:08 分类:问答Android: LinearLayout addView Animation
I currently have a working Android program that programmatically adds views to a LinearLayout. I would like those views to be animated in and cannot find any good resources on figuring out how to do t[详细]
2022-12-13 16:22 分类:问答Android: View.setID(int id) programmatically - how to avoid ID conflicts?
I\'m adding TextViews programmatically in a for-loop and add them to an ArrayList. How do I use TextView.setId(int id)? What Integer ID do I come up with so it doesn\'t conflict with other IDs?开发者[详细]
2022-12-11 16:38 分类:问答Is there an easy way to add a border to the top and bottom of an Android View?
I have a TextView and I\'d like to add a black border along its top and bottom borders.I tried adding android:drawableTop and android:drawableBottom to the TextView, but that only caused the entire vi[详细]
2022-12-09 14:42 分类:问答