mirror of https://github.com/M66B/FairEmail.git
Added remark about support
This commit is contained in:
parent
b4c4226061
commit
7c5ffd3508
|
@ -64,6 +64,7 @@ public class FragmentSetup extends FragmentBase {
|
||||||
private ViewGroup view;
|
private ViewGroup view;
|
||||||
|
|
||||||
private TextView tvPrivacy;
|
private TextView tvPrivacy;
|
||||||
|
private TextView tvSupport;
|
||||||
|
|
||||||
private TextView tvNoInternet;
|
private TextView tvNoInternet;
|
||||||
private ImageButton ibHelp;
|
private ImageButton ibHelp;
|
||||||
|
@ -124,6 +125,7 @@ public class FragmentSetup extends FragmentBase {
|
||||||
// Get controls
|
// Get controls
|
||||||
|
|
||||||
tvPrivacy = view.findViewById(R.id.tvPrivacy);
|
tvPrivacy = view.findViewById(R.id.tvPrivacy);
|
||||||
|
tvSupport = view.findViewById(R.id.tvSupport);
|
||||||
|
|
||||||
tvNoInternet = view.findViewById(R.id.tvNoInternet);
|
tvNoInternet = view.findViewById(R.id.tvNoInternet);
|
||||||
ibHelp = view.findViewById(R.id.ibHelp);
|
ibHelp = view.findViewById(R.id.ibHelp);
|
||||||
|
@ -171,6 +173,16 @@ public class FragmentSetup extends FragmentBase {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
tvSupport.setPaintFlags(tvPrivacy.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
||||||
|
tvSupport.setOnClickListener(new View.OnClickListener() {
|
||||||
|
@Override
|
||||||
|
public void onClick(View v) {
|
||||||
|
Intent view = new Intent(Intent.ACTION_VIEW)
|
||||||
|
.setData(Helper.getSupportUri(v.getContext()));
|
||||||
|
v.getContext().startActivity(view);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
ibHelp.setOnClickListener(new View.OnClickListener() {
|
ibHelp.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View view) {
|
public void onClick(View view) {
|
||||||
|
|
|
@ -70,6 +70,17 @@
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@+id/intro" />
|
app:layout_constraintTop_toBottomOf="@+id/intro" />
|
||||||
|
|
||||||
|
<eu.faircode.email.FixedTextView
|
||||||
|
android:id="@+id/issue"
|
||||||
|
android:layout_width="0dp"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="6dp"
|
||||||
|
android:text="@string/title_setup_issue"
|
||||||
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
app:layout_constraintTop_toBottomOf="@+id/simple" />
|
||||||
|
|
||||||
<eu.faircode.email.FixedTextView
|
<eu.faircode.email.FixedTextView
|
||||||
android:id="@+id/tvPrivacy"
|
android:id="@+id/tvPrivacy"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
|
@ -81,8 +92,24 @@
|
||||||
android:text="@string/title_privacy_policy"
|
android:text="@string/title_privacy_policy"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||||
android:textColor="?android:attr/textColorLink"
|
android:textColor="?android:attr/textColorLink"
|
||||||
|
app:layout_constraintEnd_toStartOf="@+id/tvSupport"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintTop_toBottomOf="@id/simple" />
|
app:layout_constraintTop_toBottomOf="@id/issue" />
|
||||||
|
|
||||||
|
<eu.faircode.email.FixedTextView
|
||||||
|
android:id="@+id/tvSupport"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginTop="6dp"
|
||||||
|
android:drawableEnd="@drawable/twotone_open_in_new_12"
|
||||||
|
android:drawablePadding="6dp"
|
||||||
|
android:drawableTint="?android:attr/textColorLink"
|
||||||
|
android:text="@string/menu_faq"
|
||||||
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||||
|
android:textColor="?android:attr/textColorLink"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
app:layout_constraintStart_toEndOf="@id/tvPrivacy"
|
||||||
|
app:layout_constraintTop_toBottomOf="@id/issue" />
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
</androidx.cardview.widget.CardView>
|
</androidx.cardview.widget.CardView>
|
||||||
|
|
||||||
|
|
|
@ -160,6 +160,7 @@
|
||||||
<string name="title_setup_quick">Quick setup</string>
|
<string name="title_setup_quick">Quick setup</string>
|
||||||
<string name="title_setup_intro">Setting up an account is just three steps and after that you can send and receive emails</string>
|
<string name="title_setup_intro">Setting up an account is just three steps and after that you can send and receive emails</string>
|
||||||
<string name="title_setup_simple">There is no need to change any other options</string>
|
<string name="title_setup_simple">There is no need to change any other options</string>
|
||||||
|
<string name="title_setup_issue">FairEmail was developed to help you protect your privacy and represents literally thousands of hours of work. If you have any problem, please contact me first for support before leaving a bad review. I am happy to help!</string>
|
||||||
<string name="title_setup_quick_accounts">Add or change accounts</string>
|
<string name="title_setup_quick_accounts">Add or change accounts</string>
|
||||||
<string name="title_setup_quick_support">Some providers make it difficult to add an account. Please do not blame FairEmail for this, but ask for support instead.</string>
|
<string name="title_setup_quick_support">Some providers make it difficult to add an account. Please do not blame FairEmail for this, but ask for support instead.</string>
|
||||||
<string name="title_setup_quick_hint">The quick setup will fetch configuration information from autoconfig.thunderbird.net</string>
|
<string name="title_setup_quick_hint">The quick setup will fetch configuration information from autoconfig.thunderbird.net</string>
|
||||||
|
|
Loading…
Reference in New Issue