|
|
@ -71,6 +71,7 @@ public class FragmentSetup extends FragmentBase {
|
|
|
|
|
|
|
|
|
|
|
|
private Button btnData;
|
|
|
|
private Button btnData;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private Button btnOptions;
|
|
|
|
private Button btnInbox;
|
|
|
|
private Button btnInbox;
|
|
|
|
|
|
|
|
|
|
|
|
private int textColorPrimary;
|
|
|
|
private int textColorPrimary;
|
|
|
@ -111,6 +112,7 @@ public class FragmentSetup extends FragmentBase {
|
|
|
|
|
|
|
|
|
|
|
|
btnData = view.findViewById(R.id.btnData);
|
|
|
|
btnData = view.findViewById(R.id.btnData);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
btnOptions = view.findViewById(R.id.btnOptions);
|
|
|
|
btnInbox = view.findViewById(R.id.btnInbox);
|
|
|
|
btnInbox = view.findViewById(R.id.btnInbox);
|
|
|
|
|
|
|
|
|
|
|
|
// Wire controls
|
|
|
|
// Wire controls
|
|
|
@ -183,6 +185,15 @@ public class FragmentSetup extends FragmentBase {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
btnOptions.setOnClickListener(new View.OnClickListener() {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public void onClick(View v) {
|
|
|
|
|
|
|
|
FragmentTransaction fragmentTransaction = getFragmentManager().beginTransaction();
|
|
|
|
|
|
|
|
fragmentTransaction.replace(R.id.content_frame, new FragmentOptions()).addToBackStack("options");
|
|
|
|
|
|
|
|
fragmentTransaction.commit();
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
btnInbox.setOnClickListener(new View.OnClickListener() {
|
|
|
|
btnInbox.setOnClickListener(new View.OnClickListener() {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void onClick(View v) {
|
|
|
|
public void onClick(View v) {
|
|
|
|