dynamic buttons Android Layout
问题 I want to create a layout in Android in a java class. I need that the user introduce a number between 1 to 20 and this create the number of butttons that the user has chosen.I want to create dynamic buttons and I have this code: package com.example.nuevo; import android.app.Activity; import android.os.Bundle; import android.view.Window; import android.view.WindowManager; import android.widget.Button; import android.widget.LinearLayout; public class ControladorResuelto extends Activity {