Android Open Source - call_b4u_drink Twelve Steps Activity






From Project

Back to project page call_b4u_drink.

License

The source code is released under:

GNU General Public License

If you think the Android project call_b4u_drink 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 org.beltcan.sponsor;
/*  w  w  w.  jav  a  2s . c o m*/
import android.app.Activity;
import android.os.Bundle;
import android.widget.ArrayAdapter;
import android.widget.ListView;

public class TwelveStepsActivity extends Activity {
  private ListView lv;  
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {  
    super.onCreate(savedInstanceState);
    setContentView(R.layout.twelve_steps);
    
    setupUI();
  }

  private void setupUI() {
    setTitle(R.string.title_one);
    lv = (ListView) findViewById(R.id.lvId);
    String[] twelve_steps = getResources().getStringArray(R.array.twelve_steps);
    lv.setAdapter(new ArrayAdapter<String>(this, R.layout.row, twelve_steps));
  }  
}




Java Source Code List

org.beltcan.sponsor.DBHelper.java
org.beltcan.sponsor.MainActivity.java
org.beltcan.sponsor.MeetingActivity.java
org.beltcan.sponsor.TwelveStepsActivity.java