Change uri picker plus button.

This commit is contained in:
Guillaume Beraudo 2011-12-07 09:49:44 +01:00
parent 5a41994183
commit b95b61344c
5 changed files with 2 additions and 2 deletions

BIN
res/drawable/incall_add_small.png Executable file

Binary file not shown.

After

Width:  |  Height:  |  Size: 637 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 426 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.9 KiB

View file

@ -24,7 +24,7 @@
android:layout_width="fill_parent" android:layout_height="fill_parent"
android:layout_weight="4" />
<Button android:id="@+id/AddCallButton" android:text="@string/AddCallButtonText"
<Button android:id="@+id/AddCallButton"
android:gravity="bottom|center_horizontal" android:layout_height="wrap_content"
android:layout_width="fill_parent" android:background="@drawable/clavier_bg" />

View file

@ -120,7 +120,7 @@ public class UriPickerActivity extends TabActivity implements ContactPicked {
addButton.setOnClickListener(this);
String type = getIntent().getStringExtra(EXTRA_PICKER_TYPE);
if (EXTRA_PICKER_TYPE_ADD.equals(type)) {
addButton.setCompoundDrawablesWithIntrinsicBounds(0, R.drawable.picker_plus, 0, 0);
addButton.setCompoundDrawablesWithIntrinsicBounds(0, R.drawable.incall_add_small, 0, 0);
addButton.setText(getString(R.string.AddCallButtonText));
} else if (EXTRA_PICKER_TYPE_TRANSFER.equals(type)) {
addButton.setCompoundDrawablesWithIntrinsicBounds(0, R.drawable.picker_transfer, 0, 0);