diff --git a/mifosng-android/src/main/java/com/mifos/mifosxdroid/formwidgets/FormToggleButton.java b/mifosng-android/src/main/java/com/mifos/mifosxdroid/formwidgets/FormToggleButton.java index 994190eaeab..27521231b09 100644 --- a/mifosng-android/src/main/java/com/mifos/mifosxdroid/formwidgets/FormToggleButton.java +++ b/mifosng-android/src/main/java/com/mifos/mifosxdroid/formwidgets/FormToggleButton.java @@ -38,10 +38,7 @@ public FormToggleButton(Context context, String name) { switchButton.setLayoutParams(weightedLayoutParams); switchButton.setGravity(Gravity.CENTER_HORIZONTAL); switchButton.setSwitchMinWidth(50); - switchButton.setShowText(true); switchButton.setChecked(false); - switchButton.setTextOn("True"); - switchButton.setTextOff("False"); switchButton.setOnCheckedChangeListener(new CompoundButton.OnCheckedChangeListener() { @Override public void onCheckedChanged(CompoundButton compoundButton, boolean b) {