view res/layout/chooser_list.xml @ 2:a684ded7d920 default tip

Prevent crash when not passed a bundle. Thanks to Curtis Tuplin for the fix.
author Brad Greco
date Wed, 30 May 2012 21:33:07 -0500
parents 46783e4c83e2
children
line wrap: on
line source

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:orientation="vertical"
    android:layout_width="fill_parent"
    android:layout_height="fill_parent"
    >
   <ListView android:id="@android:id/list"
   		android:layout_width="fill_parent"
        android:layout_height="fill_parent"
        android:layout_weight="1"/>
   <Button android:text="Choose"
   		android:id="@+id/btnChoose"
   		android:layout_width="fill_parent"
   		android:layout_height="wrap_content"/>

</LinearLayout>