Android Open Source - ListView3d M T C Rich Graphics Activity






From Project

Back to project page ListView3d.

License

The source code is released under:

Apache License

If you think the Android project ListView3d listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package de.inovex.mtc;
/*from  ww w.j a  va2 s  .  c om*/
import android.app.Activity;
import android.os.Bundle;
import android.widget.ListView;

public class MTCRichGraphicsActivity extends Activity {
  final static int ELEMENT_COUNT = 400;

  
  @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.main);
        String[] elements = new String[ELEMENT_COUNT];
        
        for (int i = 0; i< ELEMENT_COUNT; i++) {
          elements[i] = String.valueOf(i);
        }
        
        MyAdapter adapter = new MyAdapter(this,elements);

        final ListView list = (ListView) findViewById(R.id.list3d);
        list.setDivider( null ); 
        list.setAdapter(adapter);
    }
}




Java Source Code List

de.inovex.mtc.ListView3d.java
de.inovex.mtc.MTCRichGraphicsActivity.java
de.inovex.mtc.MyAdapter.java