FileDocCategorySizeDatePackage
LayoutSelectorAdapter.javaAPI DocAndroid 1.5 API1612Wed May 06 22:42:46 BST 2009com.android.mms.ui

LayoutSelectorAdapter

public class LayoutSelectorAdapter extends IconListAdapter
An adapter to store icons and strings for layout selector list.

(Omit source code)

Fields Summary
Constructors Summary
public LayoutSelectorAdapter(android.content.Context context)

        super(context, getData(context));
    
Methods Summary
protected static voidaddItem(java.util.List data, java.lang.String title, int resource)

        IconListItem temp = new IconListItem(title, resource);
        data.add(temp);
    
protected static java.util.ListgetData(android.content.Context context)

        List<IconListItem> data = new ArrayList<IconListItem>(2);
         addItem(data, context.getString(R.string.select_top_text),
                R.drawable.ic_mms_text_top);
         addItem(data, context.getString(R.string.select_bottom_text),
                R.drawable.ic_mms_text_bottom);

        return data;