mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-24 01:32:16 -05:00
fix encrypt activity layout
This commit is contained in:
parent
96853a15ee
commit
9c174ff71d
@ -108,9 +108,8 @@ public class EncryptKeyCompletionView extends TokenCompleteTextView
|
|||||||
protected void onAttachedToWindow() {
|
protected void onAttachedToWindow() {
|
||||||
super.onAttachedToWindow();
|
super.onAttachedToWindow();
|
||||||
|
|
||||||
mLoaderManager = ((FragmentActivity) getContext()).getSupportLoaderManager();
|
|
||||||
|
|
||||||
if (getContext() instanceof FragmentActivity) {
|
if (getContext() instanceof FragmentActivity) {
|
||||||
|
mLoaderManager = ((FragmentActivity) getContext()).getSupportLoaderManager();
|
||||||
mLoaderManager.initLoader(hashCode(), null, this);
|
mLoaderManager.initLoader(hashCode(), null, this);
|
||||||
} else {
|
} else {
|
||||||
Log.e(Constants.TAG, "EncryptKeyCompletionView must be attached to a FragmentActivity, this is " + getContext().getClass());
|
Log.e(Constants.TAG, "EncryptKeyCompletionView must be attached to a FragmentActivity, this is " + getContext().getClass());
|
||||||
|
@ -11,6 +11,8 @@
|
|||||||
android:id="@+id/recipient_list"
|
android:id="@+id/recipient_list"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:minHeight="56dip"
|
android:minHeight="56dip"
|
||||||
|
android:paddingLeft="8dp"
|
||||||
|
android:paddingRight="8dp"
|
||||||
android:layout_height="wrap_content" />
|
android:layout_height="wrap_content" />
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
@ -21,7 +23,7 @@
|
|||||||
style="@android:style/Widget.EditText">
|
style="@android:style/Widget.EditText">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:paddingLeft="12dp"
|
android:paddingLeft="8dp"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
|
Loading…
Reference in New Issue
Block a user