|
|
@ -62,6 +62,8 @@ import java.util.List;
|
|
|
|
public class FragmentSetup extends FragmentBase {
|
|
|
|
public class FragmentSetup extends FragmentBase {
|
|
|
|
private ViewGroup view;
|
|
|
|
private ViewGroup view;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
private TextView tvPrivacy;
|
|
|
|
|
|
|
|
|
|
|
|
private TextView tvNoInternet;
|
|
|
|
private TextView tvNoInternet;
|
|
|
|
private ImageButton ibHelp;
|
|
|
|
private ImageButton ibHelp;
|
|
|
|
private Button btnQuick;
|
|
|
|
private Button btnQuick;
|
|
|
@ -128,6 +130,8 @@ public class FragmentSetup extends FragmentBase {
|
|
|
|
|
|
|
|
|
|
|
|
// Get controls
|
|
|
|
// Get controls
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tvPrivacy = view.findViewById(R.id.tvPrivacy);
|
|
|
|
|
|
|
|
|
|
|
|
tvNoInternet = view.findViewById(R.id.tvNoInternet);
|
|
|
|
tvNoInternet = view.findViewById(R.id.tvNoInternet);
|
|
|
|
ibHelp = view.findViewById(R.id.ibHelp);
|
|
|
|
ibHelp = view.findViewById(R.id.ibHelp);
|
|
|
|
btnQuick = view.findViewById(R.id.btnQuick);
|
|
|
|
btnQuick = view.findViewById(R.id.btnQuick);
|
|
|
@ -164,6 +168,14 @@ public class FragmentSetup extends FragmentBase {
|
|
|
|
|
|
|
|
|
|
|
|
// Wire controls
|
|
|
|
// Wire controls
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tvPrivacy.setPaintFlags(tvPrivacy.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
|
|
|
|
|
|
|
tvPrivacy.setOnClickListener(new View.OnClickListener() {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public void onClick(View v) {
|
|
|
|
|
|
|
|
Helper.view(v.getContext(), Uri.parse(Helper.PRIVACY_URI), false);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
ibHelp.setOnClickListener(new View.OnClickListener() {
|
|
|
|
ibHelp.setOnClickListener(new View.OnClickListener() {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void onClick(View view) {
|
|
|
|
public void onClick(View view) {
|
|
|
|