mirror of https://github.com/M66B/FairEmail.git
Fixed configuration change message view
This commit is contained in:
parent
f08a8605cf
commit
679b16dc5d
|
@ -313,7 +313,6 @@ public class FragmentMessage extends FragmentEx {
|
||||||
}
|
}
|
||||||
|
|
||||||
FragmentMessage.this.message = message;
|
FragmentMessage.this.message = message;
|
||||||
getActivity().invalidateOptionsMenu();
|
|
||||||
setSubtitle(Helper.localizeFolderName(getContext(), message.folderName));
|
setSubtitle(Helper.localizeFolderName(getContext(), message.folderName));
|
||||||
|
|
||||||
if (savedInstanceState == null) {
|
if (savedInstanceState == null) {
|
||||||
|
@ -339,6 +338,8 @@ public class FragmentMessage extends FragmentEx {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
getActivity().invalidateOptionsMenu();
|
||||||
|
|
||||||
Bundle args = new Bundle();
|
Bundle args = new Bundle();
|
||||||
args.putLong("id", message.id);
|
args.putLong("id", message.id);
|
||||||
|
|
||||||
|
|
|
@ -14,6 +14,7 @@
|
||||||
android:layout_marginEnd="6dp"
|
android:layout_marginEnd="6dp"
|
||||||
android:layout_marginStart="6dp"
|
android:layout_marginStart="6dp"
|
||||||
android:layout_marginTop="3dp"
|
android:layout_marginTop="3dp"
|
||||||
|
android:freezesText="true"
|
||||||
android:text="From"
|
android:text="From"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
||||||
android:textIsSelectable="true"
|
android:textIsSelectable="true"
|
||||||
|
@ -38,6 +39,7 @@
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="6dp"
|
android:layout_marginEnd="6dp"
|
||||||
|
android:freezesText="true"
|
||||||
android:maxLines="1"
|
android:maxLines="1"
|
||||||
android:text="Time"
|
android:text="Time"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||||
|
@ -63,6 +65,7 @@
|
||||||
android:layout_marginEnd="6dp"
|
android:layout_marginEnd="6dp"
|
||||||
android:layout_marginStart="6dp"
|
android:layout_marginStart="6dp"
|
||||||
android:layout_marginTop="3dp"
|
android:layout_marginTop="3dp"
|
||||||
|
android:freezesText="true"
|
||||||
android:text="To"
|
android:text="To"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||||
android:textIsSelectable="true"
|
android:textIsSelectable="true"
|
||||||
|
@ -76,6 +79,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="6dp"
|
android:layout_marginEnd="6dp"
|
||||||
android:layout_marginStart="6dp"
|
android:layout_marginStart="6dp"
|
||||||
|
android:freezesText="true"
|
||||||
android:text="Subject"
|
android:text="Subject"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
android:textAppearance="@style/TextAppearance.AppCompat.Medium"
|
||||||
android:textIsSelectable="true"
|
android:textIsSelectable="true"
|
||||||
|
@ -119,6 +123,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="6dp"
|
android:layout_marginEnd="6dp"
|
||||||
android:layout_marginStart="6dp"
|
android:layout_marginStart="6dp"
|
||||||
|
android:freezesText="true"
|
||||||
android:text="Reply to"
|
android:text="Reply to"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||||
android:textIsSelectable="true"
|
android:textIsSelectable="true"
|
||||||
|
@ -142,6 +147,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="6dp"
|
android:layout_marginEnd="6dp"
|
||||||
android:layout_marginStart="6dp"
|
android:layout_marginStart="6dp"
|
||||||
|
android:freezesText="true"
|
||||||
android:text="Cc"
|
android:text="Cc"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||||
android:textIsSelectable="true"
|
android:textIsSelectable="true"
|
||||||
|
@ -165,6 +171,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="6dp"
|
android:layout_marginEnd="6dp"
|
||||||
android:layout_marginStart="6dp"
|
android:layout_marginStart="6dp"
|
||||||
|
android:freezesText="true"
|
||||||
android:text="Bcc"
|
android:text="Bcc"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||||
android:textIsSelectable="true"
|
android:textIsSelectable="true"
|
||||||
|
@ -202,6 +209,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginEnd="6dp"
|
android:layout_marginEnd="6dp"
|
||||||
android:layout_marginStart="6dp"
|
android:layout_marginStart="6dp"
|
||||||
|
android:freezesText="true"
|
||||||
android:text="error"
|
android:text="error"
|
||||||
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
android:textAppearance="@style/TextAppearance.AppCompat.Small"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
|
|
Loading…
Reference in New Issue