You can add views dynamically to your layout. LinearLayout
is appropriate parent viewgroup for this type. Create a single layout containing single ‘A’ and ‘B’ views.
for(int i=0; i<100; i++) {
View view = LayoutInflater.from(context).inflate(R.layout.yourSingleView, null);
TextVeiw a = (TextView) view.findViewById(R.id.text_view_a);
TextView b = (TextView) view.findViewById(R.id.text_view_b);
a.setText(formInput[i][0]);
b.setText(formInput[i][1]);
parentView.add(view);
}
Other ways can be using a listview or recyclerview. Depends upon your need.
BTW i don’t see any reason to take 100 inputs from user like this.
solved I wanna build something as in Image but couldnot start