@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); View view = new Banner(this); view.setOnClickListener(this); setContentView(view); Log.d(TAG_NAME, "Banner View activated successfully!"); }
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setActionBarTitle("库存报警"); setContentView(R.layout.container); PageListFragment frag = new PageListFragment("warning_product", R.layout.list_item_product); addContainerFragment(frag); }