|
|
@ -94,6 +94,7 @@ public class FragmentSetup extends FragmentBase {
|
|
|
|
private TextView tvDozeDone;
|
|
|
|
private TextView tvDozeDone;
|
|
|
|
private Button btnDoze;
|
|
|
|
private Button btnDoze;
|
|
|
|
private TextView tvDoze12;
|
|
|
|
private TextView tvDoze12;
|
|
|
|
|
|
|
|
private ImageButton ibDoze;
|
|
|
|
|
|
|
|
|
|
|
|
private Button btnInexactAlarms;
|
|
|
|
private Button btnInexactAlarms;
|
|
|
|
private Button btnBackgroundRestricted;
|
|
|
|
private Button btnBackgroundRestricted;
|
|
|
@ -160,6 +161,7 @@ public class FragmentSetup extends FragmentBase {
|
|
|
|
tvDozeDone = view.findViewById(R.id.tvDozeDone);
|
|
|
|
tvDozeDone = view.findViewById(R.id.tvDozeDone);
|
|
|
|
btnDoze = view.findViewById(R.id.btnDoze);
|
|
|
|
btnDoze = view.findViewById(R.id.btnDoze);
|
|
|
|
tvDoze12 = view.findViewById(R.id.tvDoze12);
|
|
|
|
tvDoze12 = view.findViewById(R.id.tvDoze12);
|
|
|
|
|
|
|
|
ibDoze = view.findViewById(R.id.ibDoze);
|
|
|
|
|
|
|
|
|
|
|
|
btnInexactAlarms = view.findViewById(R.id.btnInexactAlarms);
|
|
|
|
btnInexactAlarms = view.findViewById(R.id.btnInexactAlarms);
|
|
|
|
btnBackgroundRestricted = view.findViewById(R.id.btnBackgroundRestricted);
|
|
|
|
btnBackgroundRestricted = view.findViewById(R.id.btnBackgroundRestricted);
|
|
|
@ -448,6 +450,13 @@ public class FragmentSetup extends FragmentBase {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ibDoze.setOnClickListener(new View.OnClickListener() {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public void onClick(View v) {
|
|
|
|
|
|
|
|
Helper.viewFAQ(v.getContext(), 175, true);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
tvStamina.setPaintFlags(tvStamina.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
|
|
|
tvStamina.setPaintFlags(tvStamina.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
|
|
|
tvStamina.setOnClickListener(new View.OnClickListener() {
|
|
|
|
tvStamina.setOnClickListener(new View.OnClickListener() {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|