FileDocCategorySizeDatePackage
AddRssItem.javaAPI DocAndroid 1.5 API2857Wed May 06 22:41:08 BST 2009com.example.codelab.rssexample

AddRssItem

public class AddRssItem extends android.app.Activity
Form to add a new RSS feed. It is a dialog form,

Fields Summary
private android.view.View.OnClickListener
mClickListener
Constructors Summary
Methods Summary
public voidonCreate(android.os.Bundle savedInstanceState)

    
    
       
        super.onCreate(savedInstanceState);
        setContentView(R.layout.add_item);
        setTitle(getString(R.string.add_item_label));
        
        Button btn = (Button) findViewById(R.id.cancel);
        btn.setOnClickListener(mClickListener);
        
        btn = (Button) findViewById(R.id.submit);
        btn.setOnClickListener(mClickListener);