mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-04 16:25:05 -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;
|
||||
}
|
||||
|
||||
|
@ -60,7 +60,6 @@
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/label_my_key"
|
||||
android:paddingLeft="8dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
@ -82,10 +81,10 @@
|
||||
android:id="@+id/sign_key_upload_checkbox"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="8dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:checked="false"
|
||||
android:text="@string/label_send_key" />
|
||||
android:text="@string/label_send_key"
|
||||
android:paddingTop="12dp"
|
||||
android:paddingBottom="12dp"/>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
|
Loading…
Reference in New Issue
Block a user