Removed add identity from compose

This commit is contained in:
M66B 2019-01-02 19:01:09 +01:00
parent dec8e89858
commit da2ab08840
2 changed files with 1 additions and 26 deletions

View File

@ -121,7 +121,6 @@ public class FragmentCompose extends FragmentEx {
private ViewGroup view; private ViewGroup view;
private Spinner spIdentity; private Spinner spIdentity;
private ImageView ivIdentityAdd;
private TextView tvExtraPrefix; private TextView tvExtraPrefix;
private EditText etExtra; private EditText etExtra;
private TextView tvExtraSuffix; private TextView tvExtraSuffix;
@ -171,7 +170,6 @@ public class FragmentCompose extends FragmentEx {
// Get controls // Get controls
spIdentity = view.findViewById(R.id.spIdentity); spIdentity = view.findViewById(R.id.spIdentity);
ivIdentityAdd = view.findViewById(R.id.ivIdentityAdd);
tvExtraPrefix = view.findViewById(R.id.tvExtraPrefix); tvExtraPrefix = view.findViewById(R.id.tvExtraPrefix);
etExtra = view.findViewById(R.id.etExtra); etExtra = view.findViewById(R.id.etExtra);
tvExtraSuffix = view.findViewById(R.id.tvExtraSuffix); tvExtraSuffix = view.findViewById(R.id.tvExtraSuffix);
@ -221,18 +219,6 @@ public class FragmentCompose extends FragmentEx {
} }
}); });
ivIdentityAdd.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
FragmentIdentity fragment = new FragmentIdentity();
fragment.setArguments(new Bundle());
FragmentTransaction fragmentTransaction = getFragmentManager().beginTransaction();
fragmentTransaction.replace(R.id.content_frame, fragment).addToBackStack("identity");
fragmentTransaction.commit();
}
});
View.OnClickListener onPick = new View.OnClickListener() { View.OnClickListener onPick = new View.OnClickListener() {
@Override @Override
public void onClick(View view) { public void onClick(View view) {

View File

@ -20,21 +20,10 @@
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="6dp" android:layout_marginTop="6dp"
app:layout_constraintEnd_toStartOf="@+id/ivIdentityAdd" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:id="@+id/ivIdentityAdd"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_marginStart="6dp"
android:layout_marginEnd="6dp"
android:src="@drawable/baseline_person_add_24"
app:layout_constraintBottom_toBottomOf="@id/spIdentity"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="@id/spIdentity" />
<TextView <TextView
android:id="@+id/tvExtraPrefix" android:id="@+id/tvExtraPrefix"
android:layout_width="wrap_content" android:layout_width="wrap_content"