Category : expandablelistview

I have ArrayList of object which I want to load into ExpandableListView. Headers are corrctly loaded and displayed but when I want to expand one of the header I get expection java.lang.NullPointerException: Attempt to invoke virtual method ‘int java.util.ArrayList.size()’ on a null object reference and this exception occurs in method getChildrenCount(int groupPosition) When I put ..

Read more

I am trying to edit the way a child divider is drawn in the ExpandableListView class for Android. My reasons for this objective are as follows: I would like to shorten child divider length and height. As of now, the child drawable file looks like this <?xml version="1.0" encoding="utf-8"?> <inset xmlns:android="http://schemas.android.com/apk/res/android" android:insetLeft="@dimen/main_activity_nav_drawer_child_margin_left" android:insetTop="2dp"> <shape android:shape="rectangle" ..

Read more

I have this PopUpWindow, when I click button, the button will open the popup like this, on full screen from left to right, I need show the Popup centered from above and below, but from left an right I need add idk, 20-30px space, the container object on the screen will showing the space I ..

Read more