mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-30 12:32:17 -05:00
remove ui hack, use padding instead of margin
This commit is contained in:
parent
1b160f68c9
commit
590650a303
@ -173,16 +173,6 @@ public class MultiCertifyKeyFragment extends LoaderFragment
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// UI tidbit: "my key" is the area above the checkbox, if the user clicks there he
|
|
||||||
// probably actually wants to hit the checkbox
|
|
||||||
View vMyKeyLabel = view.findViewById(R.id.label_my_key);
|
|
||||||
vMyKeyLabel.setOnClickListener(new OnClickListener() {
|
|
||||||
@Override
|
|
||||||
public void onClick(View v) {
|
|
||||||
mUploadKeyCheckbox.performClick();
|
|
||||||
}
|
|
||||||
});
|
|
||||||
|
|
||||||
return root;
|
return root;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -60,7 +60,6 @@
|
|||||||
android:layout_height="wrap_content">
|
android:layout_height="wrap_content">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/label_my_key"
|
|
||||||
android:paddingLeft="8dp"
|
android:paddingLeft="8dp"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
@ -82,10 +81,10 @@
|
|||||||
android:id="@+id/sign_key_upload_checkbox"
|
android:id="@+id/sign_key_upload_checkbox"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_marginBottom="8dp"
|
|
||||||
android:layout_marginTop="8dp"
|
|
||||||
android:checked="false"
|
android:checked="false"
|
||||||
android:text="@string/label_send_key" />
|
android:text="@string/label_send_key"
|
||||||
|
android:paddingTop="12dp"
|
||||||
|
android:paddingBottom="12dp"/>
|
||||||
|
|
||||||
<View
|
<View
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
|
Loading…
Reference in New Issue
Block a user