Change uri picker plus button.
This commit is contained in:
parent
5a41994183
commit
b95b61344c
5 changed files with 2 additions and 2 deletions
BIN
res/drawable/incall_add_small.png
Executable file
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 |
|
@ -24,7 +24,7 @@
|
||||||
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" />
|
||||||
|
|
||||||
<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:gravity="bottom|center_horizontal" android:layout_height="wrap_content"
|
||||||
android:layout_width="fill_parent" android:background="@drawable/clavier_bg" />
|
android:layout_width="fill_parent" android:background="@drawable/clavier_bg" />
|
||||||
|
|
||||||
|
|
|
@ -120,7 +120,7 @@ public class UriPickerActivity extends TabActivity implements ContactPicked {
|
||||||
addButton.setOnClickListener(this);
|
addButton.setOnClickListener(this);
|
||||||
String type = getIntent().getStringExtra(EXTRA_PICKER_TYPE);
|
String type = getIntent().getStringExtra(EXTRA_PICKER_TYPE);
|
||||||
if (EXTRA_PICKER_TYPE_ADD.equals(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));
|
addButton.setText(getString(R.string.AddCallButtonText));
|
||||||
} else if (EXTRA_PICKER_TYPE_TRANSFER.equals(type)) {
|
} else if (EXTRA_PICKER_TYPE_TRANSFER.equals(type)) {
|
||||||
addButton.setCompoundDrawablesWithIntrinsicBounds(0, R.drawable.picker_transfer, 0, 0);
|
addButton.setCompoundDrawablesWithIntrinsicBounds(0, R.drawable.picker_transfer, 0, 0);
|
||||||
|
|
Loading…
Reference in a new issue