Android Open Source - timeflash Add Vocab Activity






From Project

Back to project page timeflash.

License

The source code is released under:

Apache License

If you think the Android project timeflash 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 com.derlethtully.timeflash;
/* w  ww  .j  av  a 2s .com*/
import android.os.Bundle;
import android.app.Activity;
import android.view.Menu;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;

public class AddVocabActivity extends Activity {

  EditText addVocabClue;
  EditText addVocabAnswer;
  Button addVocabSaveB;
  Button addVocabQuitB;
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContentView(R.layout.activity_add_vocab);
    /*
    addVocabClue = (EditText) findViewById(R.id.add_vocab_clue);
    addVocabAnswer = (EditText) findViewById(R.id.add_vocab_answer);
    addVocabSaveB = (Button) findViewById(R.id.add_vocab_b);
    addVocabSaveB.setOnClickListener(new OnClickListener(){
      @Override
      public void onClick(View v) {
        // Nothing at the moment, add the word to the vocabList eventually
        //Perhaps just the array?
      }      
    });
    addVocabQuitB = (Button) findViewById(R.id.add_vocab_quit_b);
    addVocabQuitB.setOnClickListener(new OnClickListener(){
      @Override
      public void onClick(View v) {
        finish();        
      }      
    });
    */    
  }

  @Override
  public boolean onCreateOptionsMenu(Menu menu) {
    // Inflate the menu; this adds items to the action bar if it is present.
    getMenuInflater().inflate(R.menu.add_vocab, menu);
    return true;
  }
}




Java Source Code List

com.derlethtully.timeflash.AddVocabActivity.java
com.derlethtully.timeflash.EditListActivity.java
com.derlethtully.timeflash.FilePickerActivity.java
com.derlethtully.timeflash.FlashCardActivity.java
com.derlethtully.timeflash.FlashCardEntry.java
com.derlethtully.timeflash.SetTimeFrameActivity.java
com.derlethtully.timeflash.TimeFlashActivity.java