I have a LinearLayout, and I dynamically add View items . I need to get new items were located lower than the old ones.
for example:
MenuLayout = (LinearLayout) MainActivity.findViewById (R.id.MenuLayout);
MenuLayout.addView(newBox); //at the top
MenuLayout.addView(newBox); //lower
MenuLayout.addView(newBox); //At the bottom
Just add them to a collection while you’re adding them. Then you can refer to what ever the object is by the collection.