fix "Create new key" layout in SelectSignKeyIdListFragment
This commit is contained in:
parent
035a62e920
commit
24090cbf18
|
@ -83,7 +83,7 @@ public class SelectSignKeyIdListFragment extends RecyclerFragment<KeyChoiceAdapt
|
|||
LinearLayout linearLayout = new LinearLayout(requireContext());
|
||||
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(
|
||||
ViewGroup.LayoutParams.MATCH_PARENT, ViewGroup.LayoutParams.WRAP_CONTENT));
|
||||
|
||||
|
|
|
@ -2,6 +2,8 @@
|
|||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/api_select_sign_key_create_key"
|
||||
android:background="?android:selectableItemBackground"
|
||||
android:paddingTop="6dp"
|
||||
android:paddingBottom="6dp"
|
||||
android:paddingLeft="8dp"
|
||||
android:paddingRight="8dp"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium"
|
||||
|
@ -11,4 +13,5 @@
|
|||
android:drawableLeft="@drawable/ic_key_plus_grey600_24dp"
|
||||
android:drawablePadding="8dp"
|
||||
android:gravity="center_vertical"
|
||||
android:clickable="true" />
|
||||
android:minHeight="?listPreferredItemHeight"
|
||||
/>
|
Loading…
Reference in a new issue