Remove 'queued activities' from ComboFragment.
(cherry picked from commit 57a4449)
This commit is contained in:
parent
ad54c67c23
commit
723bcc4ee3
2 changed files with 0 additions and 21 deletions
|
@ -35,8 +35,6 @@ public class ComboFragment extends SubscriberFragment implements View.OnClickLis
|
||||||
private Button alertsButton;
|
private Button alertsButton;
|
||||||
private Button tddsButton;
|
private Button tddsButton;
|
||||||
private Button fullHistoryButton;
|
private Button fullHistoryButton;
|
||||||
private TextView queueView;
|
|
||||||
|
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
||||||
|
@ -49,7 +47,6 @@ public class ComboFragment extends SubscriberFragment implements View.OnClickLis
|
||||||
reservoirView = (TextView) view.findViewById(R.id.combo_insulinstate);
|
reservoirView = (TextView) view.findViewById(R.id.combo_insulinstate);
|
||||||
lastConnectionView = (TextView) view.findViewById(R.id.combo_lastconnection);
|
lastConnectionView = (TextView) view.findViewById(R.id.combo_lastconnection);
|
||||||
tempBasalText = (TextView) view.findViewById(R.id.combo_temp_basal);
|
tempBasalText = (TextView) view.findViewById(R.id.combo_temp_basal);
|
||||||
queueView = (TextView) view.findViewById(R.id.combo_queue);
|
|
||||||
|
|
||||||
refreshButton = (Button) view.findViewById(R.id.combo_refresh_button);
|
refreshButton = (Button) view.findViewById(R.id.combo_refresh_button);
|
||||||
refreshButton.setOnClickListener(this);
|
refreshButton.setOnClickListener(this);
|
||||||
|
@ -210,16 +207,6 @@ public class ComboFragment extends SubscriberFragment implements View.OnClickLis
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
tempBasalText.setText(tbrStr);
|
tempBasalText.setText(tbrStr);
|
||||||
|
|
||||||
// TODO clean up & i18n or remove
|
|
||||||
// Queued activities
|
|
||||||
Spanned status = ConfigBuilderPlugin.getCommandQueue().spannedStatus();
|
|
||||||
if (status.toString().equals("")) {
|
|
||||||
queueView.setVisibility(View.GONE);
|
|
||||||
} else {
|
|
||||||
queueView.setVisibility(View.VISIBLE);
|
|
||||||
queueView.setText("Queued activities:\n" + status);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
|
@ -336,14 +336,6 @@
|
||||||
android:layout_marginRight="20dp"
|
android:layout_marginRight="20dp"
|
||||||
android:layout_marginTop="5dp"
|
android:layout_marginTop="5dp"
|
||||||
android:background="@color/listdelimiter" />
|
android:background="@color/listdelimiter" />
|
||||||
|
|
||||||
<TextView
|
|
||||||
android:id="@+id/combo_queue"
|
|
||||||
android:layout_width="match_parent"
|
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text=""
|
|
||||||
android:textAlignment="center" />
|
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
</ScrollView>
|
</ScrollView>
|
||||||
|
|
Loading…
Reference in a new issue