Dynamically add ListView in the code to ScrollView
问题 I am trying to add a ListView to a ScrollView inside the code. But it's not working for some reason. I am new to this. Can somebody help me out? package net.pocketmagic.android.HeaderContentFooterGUI; import java.util.ArrayList; import java.util.HashMap; import android.app.Activity; import android.graphics.Color; import android.graphics.Typeface; import android.os.Bundle; import android.view.Gravity; import android.view.Menu; import android.view.View; import android.view.View.OnClickListener;