|
|
@ -97,6 +97,7 @@ public class FragmentSetup extends FragmentBase implements SharedPreferences.OnS
|
|
|
|
private ViewGroup view;
|
|
|
|
private ViewGroup view;
|
|
|
|
|
|
|
|
|
|
|
|
private TextView tvWelcome;
|
|
|
|
private TextView tvWelcome;
|
|
|
|
|
|
|
|
private TextView tvFree;
|
|
|
|
private TextView tvPrivacy;
|
|
|
|
private TextView tvPrivacy;
|
|
|
|
private TextView tvSupport;
|
|
|
|
private TextView tvSupport;
|
|
|
|
private ImageButton ibWelcome;
|
|
|
|
private ImageButton ibWelcome;
|
|
|
@ -118,7 +119,6 @@ public class FragmentSetup extends FragmentBase implements SharedPreferences.OnS
|
|
|
|
private TextView tvExchangeSupport;
|
|
|
|
private TextView tvExchangeSupport;
|
|
|
|
private TextView tvIdentityWhat;
|
|
|
|
private TextView tvIdentityWhat;
|
|
|
|
private Button btnInbox;
|
|
|
|
private Button btnInbox;
|
|
|
|
private TextView tvFree;
|
|
|
|
|
|
|
|
private TextView tvNoComposable;
|
|
|
|
private TextView tvNoComposable;
|
|
|
|
|
|
|
|
|
|
|
|
private TextView tvCalendarPermissions;
|
|
|
|
private TextView tvCalendarPermissions;
|
|
|
@ -194,6 +194,7 @@ public class FragmentSetup extends FragmentBase implements SharedPreferences.OnS
|
|
|
|
// Get controls
|
|
|
|
// Get controls
|
|
|
|
|
|
|
|
|
|
|
|
tvWelcome = view.findViewById(R.id.tvWelcome);
|
|
|
|
tvWelcome = view.findViewById(R.id.tvWelcome);
|
|
|
|
|
|
|
|
tvFree = view.findViewById(R.id.tvFree);
|
|
|
|
tvPrivacy = view.findViewById(R.id.tvPrivacy);
|
|
|
|
tvPrivacy = view.findViewById(R.id.tvPrivacy);
|
|
|
|
tvSupport = view.findViewById(R.id.tvSupport);
|
|
|
|
tvSupport = view.findViewById(R.id.tvSupport);
|
|
|
|
ibWelcome = view.findViewById(R.id.ibWelcome);
|
|
|
|
ibWelcome = view.findViewById(R.id.ibWelcome);
|
|
|
@ -215,7 +216,6 @@ public class FragmentSetup extends FragmentBase implements SharedPreferences.OnS
|
|
|
|
tvExchangeSupport = view.findViewById(R.id.tvExchangeSupport);
|
|
|
|
tvExchangeSupport = view.findViewById(R.id.tvExchangeSupport);
|
|
|
|
tvIdentityWhat = view.findViewById(R.id.tvIdentityWhat);
|
|
|
|
tvIdentityWhat = view.findViewById(R.id.tvIdentityWhat);
|
|
|
|
btnInbox = view.findViewById(R.id.btnInbox);
|
|
|
|
btnInbox = view.findViewById(R.id.btnInbox);
|
|
|
|
tvFree = view.findViewById(R.id.tvFree);
|
|
|
|
|
|
|
|
tvNoComposable = view.findViewById(R.id.tvNoComposable);
|
|
|
|
tvNoComposable = view.findViewById(R.id.tvNoComposable);
|
|
|
|
|
|
|
|
|
|
|
|
tvCalendarPermissions = view.findViewById(R.id.tvCalendarPermissions);
|
|
|
|
tvCalendarPermissions = view.findViewById(R.id.tvCalendarPermissions);
|
|
|
@ -273,6 +273,14 @@ public class FragmentSetup extends FragmentBase implements SharedPreferences.OnS
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
tvFree.setPaintFlags(tvFree.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
|
|
|
|
|
|
|
tvFree.setOnClickListener(new View.OnClickListener() {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public void onClick(View v) {
|
|
|
|
|
|
|
|
Helper.viewFAQ(v.getContext(), 19);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
tvPrivacy.setPaintFlags(tvPrivacy.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
|
|
|
tvPrivacy.setPaintFlags(tvPrivacy.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
|
|
|
tvPrivacy.setOnClickListener(new View.OnClickListener() {
|
|
|
|
tvPrivacy.setOnClickListener(new View.OnClickListener() {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
@ -551,14 +559,6 @@ public class FragmentSetup extends FragmentBase implements SharedPreferences.OnS
|
|
|
|
}
|
|
|
|
}
|
|
|
|
});
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
tvFree.setPaintFlags(tvFree.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
|
|
|
|
|
|
|
tvFree.setOnClickListener(new View.OnClickListener() {
|
|
|
|
|
|
|
|
@Override
|
|
|
|
|
|
|
|
public void onClick(View v) {
|
|
|
|
|
|
|
|
Helper.viewFAQ(v.getContext(), 19);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
btnPermissions.setOnClickListener(new View.OnClickListener() {
|
|
|
|
btnPermissions.setOnClickListener(new View.OnClickListener() {
|
|
|
|
@Override
|
|
|
|
@Override
|
|
|
|
public void onClick(View v) {
|
|
|
|
public void onClick(View v) {
|
|
|
|