Add padding

This commit is contained in:
Victor Shcherb 2012-01-25 23:12:15 +01:00
parent fd1b3c0abf
commit 2d8b81791c

View file

@ -200,7 +200,7 @@ public class MapActivityActions implements DialogProvider {
final EditText editText = new EditText(mapActivity); final EditText editText = new EditText(mapActivity);
editText.setId(R.id.TextView); editText.setId(R.id.TextView);
builder.setView(editText); builder.setView(editText);
editText.setPadding(5, 0, 5, 0); editText.setPadding(15, 0, 15, 0);
builder.setNegativeButton(R.string.default_buttons_cancel, null); builder.setNegativeButton(R.string.default_buttons_cancel, null);
builder.setPositiveButton(R.string.default_buttons_add, new DialogInterface.OnClickListener() { builder.setPositiveButton(R.string.default_buttons_add, new DialogInterface.OnClickListener() {
@Override @Override