viewgroup
onMeasure not getting called in my custom viewgroup android
Im having two custom viewgroups, superViewGroup and subViewGroup. The subviewgroup contains views. Im adding my superviewgroup to a linearLayout and the subViewGroups to my superviewgroup.[详细]
2023-04-13 04:12 分类:问答Adding Views to an Android Viewgroup Programmatically
This seems to be a common question yet documentation is very hard to find. I\'m looking for examples that show me how to create my own view group (preferably by extending an already existing one) and[详细]
2023-04-10 08:26 分类:问答ViewGroup finish inflate event
I have created a custom layout which extends ViewGroup. Everything is working fine and I am getting the layout as expected.[详细]
2023-04-06 23:02 分类:问答How does one Animate Layout properties of ViewGroups?
I have the following layout: <?xml version=\"1.0\" encoding=\"utf-8\"?> <LinearLayout xmlns:android=\"http://schemas.android.com/apk/res/android\"[详细]
2023-04-06 15:16 分类:问答Change text of TextView in PopupWindow not working
I\'m having problems dynamically changing the text in a TextView in a PopupWindow in Android. I\'ve referenced the TextView element inside the PopupWindow by using a LayoutInflater and ViewGroup but t[详细]
2023-04-02 03:06 分类:问答Animate GridView Children
I was wondering if there is a way that I can animate my GridView\'s Children to their new positions. So, for example, slide in from the left and when at the 开发者_如何转开发end of a row, slide off to[详细]
2023-03-31 08:08 分类:问答At what point are all Viewgroup children created and ready to set some initial properties?
I am working on a custom ViewGroup that extends LinearLayout but only accepts children of a particular subclass. At the first possible moment I have the opportunity, I want to set some properties on t[详细]
2023-03-31 01:02 分类:问答ImageView image not appearing in ViewGroup
I have an ImageView as a child of a ViewGroup that is part of a GridView. The drawable of the ImageView does not appear, however I can see the background color, and if I use the drawable in setBackgro[详细]
2023-03-28 01:28 分类:问答generating a LayoutParams based on the type of parent
I find myself needing to create a View completely in Java without knowing what concrete type the parent is.[详细]
2023-03-27 10:11 分类:问答Adding a layout to a Viewgroup.
My issues is the following I\'开发者_如何学Gom trying to add a layout to a viewgroup my code goes like this:[详细]
2023-03-26 21:22 分类:问答