mirror of
https://github.com/moparisthebest/open-keychain
synced 2024-11-16 05:45:04 -05:00
even more layout neatification
This commit is contained in:
parent
60fb3b60a8
commit
48c843beae
@ -124,6 +124,7 @@ public class MultiCertifyKeyFragment extends LoaderFragment
|
|||||||
|
|
||||||
mUserIdsAdapter = new MultiUserIdsAdapter(mActivity, null, 0);
|
mUserIdsAdapter = new MultiUserIdsAdapter(mActivity, null, 0);
|
||||||
mUserIds.setAdapter(mUserIdsAdapter);
|
mUserIds.setAdapter(mUserIdsAdapter);
|
||||||
|
mUserIds.setDividerHeight(0);
|
||||||
|
|
||||||
getLoaderManager().initLoader(0, null, this);
|
getLoaderManager().initLoader(0, null, this);
|
||||||
|
|
||||||
|
@ -6,31 +6,45 @@
|
|||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
android:singleLine="true">
|
android:singleLine="true">
|
||||||
|
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout android:id="@+id/user_id_header"
|
||||||
android:id="@+id/user_id_header"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="horizontal"
|
android:orientation="vertical"
|
||||||
android:singleLine="true"
|
android:clickable="true"
|
||||||
android:clickable="true">
|
android:layout_marginLeft="8dip"
|
||||||
|
android:layout_marginTop="16dip">
|
||||||
|
|
||||||
<TextView
|
<LinearLayout android:layout_width="match_parent"
|
||||||
android:id="@+id/user_id_header_id"
|
android:layout_height="wrap_content"
|
||||||
android:layout_width="wrap_content"
|
android:orientation="horizontal">
|
||||||
android:layout_height="wrap_content"
|
|
||||||
android:text="0123 4567 890a bcde"
|
<TextView
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
android:id="@+id/user_id_header_id"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:text="ID: 0123 4567 890a bcde"
|
||||||
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
|
/>
|
||||||
|
|
||||||
|
</LinearLayout>
|
||||||
|
|
||||||
|
<View
|
||||||
|
android:layout_width="match_parent"
|
||||||
|
android:layout_height="1dip"
|
||||||
|
android:background="?android:attr/listDivider"
|
||||||
|
android:paddingLeft="24dip"
|
||||||
|
android:paddingRight="24dip"
|
||||||
|
android:layout_marginBottom="4dip"/>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
<LinearLayout android:id="@+id/user_id_body"
|
||||||
android:id="@+id/user_id_body"
|
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:minHeight="?android:attr/listPreferredItemHeight"
|
|
||||||
android:orientation="horizontal"
|
android:orientation="horizontal"
|
||||||
android:singleLine="true"
|
android:singleLine="true"
|
||||||
android:layout_marginLeft="15dip">
|
android:layout_marginLeft="8dip"
|
||||||
|
android:layout_marginTop="4dip">
|
||||||
|
|
||||||
<CheckBox
|
<CheckBox
|
||||||
android:id="@+id/user_id_item_check_box"
|
android:id="@+id/user_id_item_check_box"
|
||||||
@ -47,14 +61,17 @@
|
|||||||
android:layout_marginTop="4dp"
|
android:layout_marginTop="4dp"
|
||||||
android:layout_marginBottom="4dp"
|
android:layout_marginBottom="4dp"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:layout_weight="1">
|
android:layout_weight="1"
|
||||||
|
android:minHeight="48dip">
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/user_id_item_name"
|
android:id="@+id/user_id_item_name"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="alice@example.com"
|
android:text="alice@example.com"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
|
android:layout_weight="1"
|
||||||
|
android:gravity="center_vertical"/>
|
||||||
|
|
||||||
<TextView
|
<TextView
|
||||||
android:id="@+id/user_id_item_addresses"
|
android:id="@+id/user_id_item_addresses"
|
||||||
|
Loading…
Reference in New Issue
Block a user