FileDocCategorySizeDatePackage
LinearLayout9.javaAPI DocGoogle Android v1.5 Example1306Sun Nov 11 13:01:04 GMT 2007com.google.android.samples.view

LinearLayout9

public class LinearLayout9 extends android.app.Activity
Demonstrates how the layout_weight attribute can shrink an element too big to fit on screen.

Fields Summary
Constructors Summary
Methods Summary
protected voidonCreate(android.os.Bundle icicle)

        super.onCreate(icicle);
        setContentView(R.layout.linear_layout_9);
        ListView list = (ListView) findViewById(R.id.list);
        list.setAdapter(new ArrayAdapter<String>(this,
                android.R.layout.simple_list_item_1, AutoComplete1.COUNTRIES));