Code example for ExpandableListView

Methods: getRightgetWidthsetIndicatorBounds

0
		ViewTreeObserver vto = list_event.getViewTreeObserver();/// this is to move the icon to right
 
        vto.addOnGlobalLayoutListener(new OnGlobalLayoutListener() {
            @Override 
            public void onGlobalLayout() { 
            	list_event.setIndicatorBounds(list_event.getRight()- 80, list_event.getWidth());
            } 
        }); 
		 
		 
		 
 
		 
		 
		 
		//////////////////////////////////////////////////////////////////////////////////////////// 
		  
	} 
     
    public int dpToPx(int dp) {
Connect your IDE to all the code out there  Get Codota for Java