Remove X clear button next to text widget for entering weight

This commit is contained in:
Jimmy Shih
2013-12-05 12:44:08 -08:00
parent 68afba0c31
commit 9085b777a7
5 changed files with 11 additions and 63 deletions
@@ -172,11 +172,6 @@ public class Api11Adapter extends Api10Adapter {
public void invalidMenu(Activity activity) {
activity.invalidateOptionsMenu();
}
@Override
public boolean showEditTextClearButton() {
return true;
}
@Override
public void setTabBackground(TabWidget tabWidget) {
@@ -145,11 +145,6 @@ public class Api8Adapter implements ApiAdapter {
// Do nothing
}
@Override
public boolean showEditTextClearButton() {
return false;
}
@Override
public void setTabBackground(TabWidget tabWidget) {
// Do nothing
@@ -176,13 +176,6 @@ public interface ApiAdapter {
*/
public void invalidMenu(Activity activity);
/**
* True to display a clear button on the right of the edit text.
* <p>
* Due to changes in API level 11.
*/
public boolean showEditTextClearButton();
/**
* Sets the tab background.
* <p>