Remove cancel button from UriPickerActivity. (use back).
This commit is contained in:
parent
df8093eb93
commit
a6a62a9ae5
2 changed files with 4 additions and 11 deletions
|
@ -23,15 +23,8 @@
|
|||
android:layout_width="fill_parent" android:layout_height="fill_parent"
|
||||
android:layout_weight="4" />
|
||||
|
||||
<LinearLayout android:gravity="bottom"
|
||||
android:layout_height="wrap_content" android:layout_width="fill_parent">
|
||||
<Button android:id="@+id/AddCallButton" android:text="@string/AddCallButtonText"
|
||||
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>
|
||||
<Button android:id="@+id/AddCallButton" android:text="@string/AddCallButtonText"
|
||||
android:gravity="bottom|center_horizontal" android:layout_height="wrap_content"
|
||||
android:layout_width="fill_parent" android:background="@drawable/clavier_bg" />
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
@ -128,7 +128,7 @@ public class UriPickerActivity extends TabActivity implements ContactPicked {
|
|||
throw new RuntimeException("unknown type");
|
||||
}
|
||||
|
||||
findViewById(R.id.AddCallCancelButton).setOnClickListener(this);
|
||||
// findViewById(R.id.AddCallCancelButton).setOnClickListener(this);
|
||||
|
||||
super.onCreate(savedInstanceState);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue