remove test buttons
This commit is contained in:
parent
723c90c32d
commit
f6650e33e4
|
@ -84,9 +84,6 @@ public class ActionsFragment extends Fragment implements View.OnClickListener {
|
|||
tempBasal.setOnClickListener(this);
|
||||
fill.setOnClickListener(this);
|
||||
|
||||
view.findViewById(R.id.actions_50_30).setOnClickListener(this);
|
||||
view.findViewById(R.id.actions_400_15).setOnClickListener(this);
|
||||
|
||||
updateGUIIfVisible();
|
||||
return view;
|
||||
}
|
||||
|
@ -207,24 +204,6 @@ public class ActionsFragment extends Fragment implements View.OnClickListener {
|
|||
FillDialog fillDialog = new FillDialog();
|
||||
fillDialog.show(manager, "FillDialog");
|
||||
break;
|
||||
case R.id.actions_50_30:
|
||||
sHandler.post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
DanaRv2Plugin danaRv2Plugin = (DanaRv2Plugin) MainApp.getSpecificPlugin(DanaRv2Plugin.class);
|
||||
danaRv2Plugin.setHighTempBasalPercent(50);
|
||||
}
|
||||
});
|
||||
break;
|
||||
case R.id.actions_400_15:
|
||||
sHandler.post(new Runnable() {
|
||||
@Override
|
||||
public void run() {
|
||||
DanaRv2Plugin danaRv2Plugin = (DanaRv2Plugin) MainApp.getSpecificPlugin(DanaRv2Plugin.class);
|
||||
danaRv2Plugin.setHighTempBasalPercent(400);
|
||||
}
|
||||
});
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -91,31 +91,8 @@
|
|||
android:text="@string/primefill"
|
||||
android:textColor="@color/colorTreatmentButton" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/actions_400_15"
|
||||
style="?android:attr/buttonStyle"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="3dp"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginTop="3dp"
|
||||
android:layout_weight="0.5"
|
||||
android:text="NEW Temp 400% 15min" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/actions_50_30"
|
||||
style="?android:attr/buttonStyle"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="3dp"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginTop="3dp"
|
||||
android:layout_weight="0.5"
|
||||
android:text="NEW Temp 50% 30min" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
||||
|
||||
</FrameLayout>
|
||||
|
|
Loading…
Reference in a new issue