How can i add another button intent beside previous one?
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: Here is my code: it contains a button named as button1A and when I click on it, It opens a list named as list1 . How can I put a code for my another button named as button2A which open a list as List2. import android . os . Bundle ; import android . app . Activity ; import android . content . Intent ; import android . view . View ; import android . view . View . OnClickListener ; import android . widget . Button ; public class Tab_1st extends Activity { Button button1A ; @Override public void onCreate ( Bundle savedInstanceState )