mirror of https://github.com/M66B/FairEmail.git
Signature help
This commit is contained in:
parent
582ab06573
commit
eda082c65a
9
FAQ.md
9
FAQ.md
|
@ -1864,6 +1864,15 @@ If you want to use preformatted text, like [ASCII art](https://en.wikipedia.org/
|
|||
</pre>
|
||||
```
|
||||
|
||||
If you want to resize an image, you could do it like this:
|
||||
|
||||
```
|
||||
<img src="..." width="..." height="...">
|
||||
```
|
||||
|
||||
The recipient of your message might not like large images in messages,
|
||||
so it is better to resize images with an image editor first.
|
||||
|
||||
<br />
|
||||
|
||||
<a name="faq58"></a>
|
||||
|
|
|
@ -209,7 +209,11 @@ public class ActivitySignature extends ActivityBase {
|
|||
|
||||
@Override
|
||||
public boolean onOptionsItemSelected(@NonNull MenuItem item) {
|
||||
if (item.getItemId() == R.id.menu_edit_html) {
|
||||
int itemId = item.getItemId();
|
||||
if (itemId == R.id.menu_help) {
|
||||
onMenuHelp();
|
||||
return true;
|
||||
} else if (itemId == R.id.menu_edit_html) {
|
||||
item.setChecked(!item.isChecked());
|
||||
html(item.isChecked());
|
||||
return true;
|
||||
|
@ -217,6 +221,10 @@ public class ActivitySignature extends ActivityBase {
|
|||
return super.onOptionsItemSelected(item);
|
||||
}
|
||||
|
||||
private void onMenuHelp() {
|
||||
Helper.viewFAQ(this, 57);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void onActivityResult(int requestCode, int resultCode, @Nullable Intent data) {
|
||||
super.onActivityResult(requestCode, resultCode, data);
|
||||
|
|
|
@ -1,6 +1,11 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto">
|
||||
<item
|
||||
android:id="@+id/menu_help"
|
||||
android:icon="@drawable/twotone_help_24"
|
||||
android:title="@string/title_info"
|
||||
app:showAsAction="always" />
|
||||
<item
|
||||
android:id="@+id/menu_edit_html"
|
||||
android:checkable="true"
|
||||
|
|
Loading…
Reference in New Issue