mirror of https://github.com/M66B/FairEmail.git
Added family library hint
This commit is contained in:
parent
2400d329cf
commit
7076e9a9a7
2
FAQ.md
2
FAQ.md
|
@ -1984,7 +1984,7 @@ FairEmail shows all attachment types. To distinguish inline and regular attachme
|
|||
<a name="faq66"></a>
|
||||
**(66) Is FairEmail available in the Google Play Family Library?**
|
||||
|
||||
The price of the few pro features is too low, lower than the price of most similar apps,
|
||||
The one time price of the few pro features is too low, lower than the price of most similar apps,
|
||||
and there are [too many fees and taxes](#user-content-faq19),
|
||||
to justify making FairEmail available in the [Google Play Family Library](https://support.google.com/googleone/answer/7007852).
|
||||
Note that Google promotes the Family libray, but lets developers pay for it.
|
||||
|
|
|
@ -60,6 +60,7 @@ public class FragmentPro extends FragmentBase implements SharedPreferences.OnSha
|
|||
private TextView tvPrice;
|
||||
private ImageView ivExternal;
|
||||
private TextView tvPriceHint;
|
||||
private TextView tvFamilyHint;
|
||||
private TextView tvRestoreHint;
|
||||
private Button btnCheck;
|
||||
|
||||
|
@ -86,6 +87,7 @@ public class FragmentPro extends FragmentBase implements SharedPreferences.OnSha
|
|||
tvPrice = view.findViewById(R.id.tvPrice);
|
||||
ivExternal = view.findViewById(R.id.ivExternal);
|
||||
tvPriceHint = view.findViewById(R.id.tvPriceHint);
|
||||
tvFamilyHint = view.findViewById(R.id.tvFamilyHint);
|
||||
tvRestoreHint = view.findViewById(R.id.tvRestoreHint);
|
||||
|
||||
btnCheck = view.findViewById(R.id.btnCheck);
|
||||
|
@ -143,6 +145,14 @@ public class FragmentPro extends FragmentBase implements SharedPreferences.OnSha
|
|||
}
|
||||
});
|
||||
|
||||
tvFamilyHint.setPaintFlags(tvFamilyHint.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
||||
tvFamilyHint.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
Helper.viewFAQ(v.getContext(), 66);
|
||||
}
|
||||
});
|
||||
|
||||
tvRestoreHint.setPaintFlags(tvRestoreHint.getPaintFlags() | Paint.UNDERLINE_TEXT_FLAG);
|
||||
tvRestoreHint.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
|
|
|
@ -140,6 +140,20 @@
|
|||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/tvHint" />
|
||||
|
||||
<eu.faircode.email.FixedTextView
|
||||
android:id="@+id/tvFamilyHint"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="12dp"
|
||||
android:drawableEnd="@drawable/twotone_open_in_new_12"
|
||||
android:drawablePadding="6dp"
|
||||
android:drawableTint="?android:attr/textColorLink"
|
||||
android:text="@string/title_pro_family"
|
||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||
android:textColor="?android:attr/textColorLink"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/tvPriceHint" />
|
||||
|
||||
<eu.faircode.email.FixedTextView
|
||||
android:id="@+id/tvRestoreHint"
|
||||
android:layout_width="wrap_content"
|
||||
|
@ -152,7 +166,7 @@
|
|||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||
android:textColor="?android:attr/textColorLink"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/tvPriceHint" />
|
||||
app:layout_constraintTop_toBottomOf="@id/tvFamilyHint" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btnCheck"
|
||||
|
|
|
@ -1498,6 +1498,7 @@
|
|||
<string name="title_pro_hide">Hide small message for %1$d weeks</string>
|
||||
<string name="title_pro_hint">Buying pro features will allow you to use all current and future pro features, will keep this app maintained, and supported.</string>
|
||||
<string name="title_pro_price">Why are the pro features so expensive?</string>
|
||||
<string name="title_pro_family">Can I use the Google Play Family Library?</string>
|
||||
<string name="title_pro_restore">How can I restore a purchase?</string>
|
||||
<string name="title_pro_pending">Purchase pending</string>
|
||||
<string name="title_pro_response" translatable="false">Response</string>
|
||||
|
|
Loading…
Reference in New Issue