fix "Create new key" layout in SelectSignKeyIdListFragment
This commit is contained in:
@@ -83,7 +83,7 @@ public class SelectSignKeyIdListFragment extends RecyclerFragment<KeyChoiceAdapt
|
|||||||
LinearLayout linearLayout = new LinearLayout(requireContext());
|
LinearLayout linearLayout = new LinearLayout(requireContext());
|
||||||
linearLayout.setOrientation(LinearLayout.VERTICAL);
|
linearLayout.setOrientation(LinearLayout.VERTICAL);
|
||||||
|
|
||||||
View dummyItemView = inflater.inflate(R.layout.key_list_dummy, linearLayout, false);
|
View dummyItemView = inflater.inflate(R.layout.select_dummy_key_item, linearLayout, false);
|
||||||
linearLayout.addView(dummyItemView, new LinearLayout.LayoutParams(
|
linearLayout.addView(dummyItemView, new LinearLayout.LayoutParams(
|
||||||
ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT));
|
ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT));
|
||||||
|
|
||||||
|
|||||||
@@ -2,6 +2,8 @@
|
|||||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:id="@+id/api_select_sign_key_create_key"
|
android:id="@+id/api_select_sign_key_create_key"
|
||||||
android:background="?android:selectableItemBackground"
|
android:background="?android:selectableItemBackground"
|
||||||
|
android:paddingTop="6dp"
|
||||||
|
android:paddingBottom="6dp"
|
||||||
android:paddingLeft="8dp"
|
android:paddingLeft="8dp"
|
||||||
android:paddingRight="8dp"
|
android:paddingRight="8dp"
|
||||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||||
@@ -11,4 +13,5 @@
|
|||||||
android:drawableLeft="@drawable/ic_key_plus_grey600_24dp"
|
android:drawableLeft="@drawable/ic_key_plus_grey600_24dp"
|
||||||
android:drawablePadding="8dp"
|
android:drawablePadding="8dp"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:clickable="true" />
|
android:minHeight="?listPreferredItemHeight"
|
||||||
|
/>
|
||||||
Reference in New Issue
Block a user