Remove cancel button from UriPickerActivity. (use back).

This commit is contained in:
Guillaume Beraudo 2011-10-11 14:39:26 +02:00
parent df8093eb93
commit a6a62a9ae5
2 changed files with 4 additions and 11 deletions

View file

@ -23,15 +23,8 @@
android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_width="fill_parent" android:layout_height="fill_parent"
android:layout_weight="4" /> android:layout_weight="4" />
<LinearLayout android:gravity="bottom" <Button android:id="@+id/AddCallButton" android:text="@string/AddCallButtonText"
android:layout_height="wrap_content" android:layout_width="fill_parent"> android:gravity="bottom|center_horizontal" android:layout_height="wrap_content"
<Button android:id="@+id/AddCallButton" android:text="@string/AddCallButtonText" android:layout_width="fill_parent" android:background="@drawable/clavier_bg" />
android:gravity="bottom|center_horizontal"
android:layout_height="fill_parent" android:layout_width="fill_parent"
android:layout_weight="1" android:background="@drawable/clavier_bg" />
<Button android:id="@+id/AddCallCancelButton" android:text="@string/CancelButtonText"
android:layout_height="wrap_content" android:layout_width="fill_parent"
android:layout_weight="1" android:background="@drawable/clavier_bg" />
</LinearLayout>
</LinearLayout> </LinearLayout>

View file

@ -128,7 +128,7 @@ public class UriPickerActivity extends TabActivity implements ContactPicked {
throw new RuntimeException("unknown type"); throw new RuntimeException("unknown type");
} }
findViewById(R.id.AddCallCancelButton).setOnClickListener(this); // findViewById(R.id.AddCallCancelButton).setOnClickListener(this);
super.onCreate(savedInstanceState); super.onCreate(savedInstanceState);
} }