What do you want to save?
Add Code snippet
New code examples
-
Java 2021-10-07 18:58:06
add dynamic view in android from xml
// Parent layout LinearLayout parentLayout = (LinearLayout)findViewById(R.id.layout); // Layout inflater LayoutInflater layoutInflater = getLayoutInflater(); View view; for (int i = 1; i < 101; i++){ // Add the text layout to the parent layout ... Add solution -
Java 2021-09-06 12:20:01
what is inflater in android
LINK: https://stackoverflow.com/questions/3477422/what-does-layoutinflater-in-android-do ## there are images on the website to see better what's going on. What does LayoutInflator do? When I first started Android programming, I was really confused by La... Add solution