1
0
Fork 0
mirror of https://github.com/M66B/FairEmail.git synced 2024-12-24 16:53:37 +00:00

What is an identity?

This commit is contained in:
M66B 2020-07-04 10:40:16 +02:00
parent 9195fc048d
commit a4cfd625d7
4 changed files with 24 additions and 2 deletions

2
FAQ.md
View file

@ -575,7 +575,7 @@ Please see [this FAQ](#user-content-faq111) about OAuth support.
<a name="faq9"></a>
**(9) What are identities / how do I add an alias?**
Identities represent email addresses you are sending *from*.
Identities represent email addresses you are sending *from* via an email (SMTP) server.
Some providers allow you to have multiple aliases.
You can configure these by setting the email address field of an additional identity to the alias address

View file

@ -70,6 +70,7 @@ public class FragmentSetup extends FragmentBase {
private TextView tvIdentityDone;
private Button btnIdentity;
private TextView tvIdentityWhat;
private TextView tvNoIdentities;
private TextView tvPermissionsDone;
@ -116,6 +117,7 @@ public class FragmentSetup extends FragmentBase {
tvIdentityDone = view.findViewById(R.id.tvIdentityDone);
btnIdentity = view.findViewById(R.id.btnIdentity);
tvIdentityWhat = view.findViewById(R.id.tvIdentityWhat);
tvNoIdentities = view.findViewById(R.id.tvNoIdentities);
tvPermissionsDone = view.findViewById(R.id.tvPermissionsDone);
@ -231,6 +233,14 @@ public class FragmentSetup extends FragmentBase {
}
});
tvIdentityWhat.setPaintFlags(tvIdentityWhat.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
tvIdentityWhat.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
Helper.viewFAQ(getContext(), 9);
}
});
btnPermissions.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {

View file

@ -338,6 +338,17 @@
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@id/tvIdentityDone" />
<eu.faircode.email.FixedTextView
android:id="@+id/tvIdentityWhat"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:text="@string/title_setup_identity_what"
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textColor="?android:attr/textColorLink"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/btnIdentity" />
<eu.faircode.email.FixedTextView
android:id="@+id/tvNoIdentities"
android:layout_width="wrap_content"
@ -347,7 +358,7 @@
android:textAppearance="@style/TextAppearance.AppCompat.Small"
android:textColor="?attr/colorWarning"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@id/btnIdentity" />
app:layout_constraintTop_toBottomOf="@id/tvIdentityWhat" />
<!-- permissions -->

View file

@ -186,6 +186,7 @@
<string name="title_setup_identity">Setup identities</string>
<string name="title_setup_identity_remark">To send email</string>
<string name="title_setup_identity_hint">To change name, color, signature, etc</string>
<string name="title_setup_identity_what">What is an identity?</string>
<string name="title_setup_permissions">Grant permissions</string>
<string name="title_setup_permissions_remark">To access contact information (optional)</string>
<string name="title_setup_doze">Setup battery optimizations</string>