Fix selected value textview issues

This commit is contained in:
pokkst 2022-09-22 18:20:50 -05:00
parent de7138c05a
commit 7ff77f7353
No known key found for this signature in database
GPG key ID: 90C2ED85E67A50FF
2 changed files with 5 additions and 3 deletions

View file

@ -292,6 +292,7 @@ public class SendBottomSheetDialog extends BottomSheetDialogFragment {
feeTextView.setVisibility(View.VISIBLE); feeTextView.setVisibility(View.VISIBLE);
addressTextView.setVisibility(View.VISIBLE); addressTextView.setVisibility(View.VISIBLE);
amountTextView.setVisibility(View.VISIBLE); amountTextView.setVisibility(View.VISIBLE);
selectedUtxosValueTextView.setVisibility(View.GONE);
feeRadioGroup.setVisibility(View.GONE); feeRadioGroup.setVisibility(View.GONE);
feeRadioGroupLabelTextView.setVisibility(View.GONE); feeRadioGroupLabelTextView.setVisibility(View.GONE);
} else { } else {
@ -306,6 +307,7 @@ public class SendBottomSheetDialog extends BottomSheetDialogFragment {
feeTextView.setVisibility(View.GONE); feeTextView.setVisibility(View.GONE);
addressTextView.setVisibility(View.GONE); addressTextView.setVisibility(View.GONE);
amountTextView.setVisibility(View.GONE); amountTextView.setVisibility(View.GONE);
selectedUtxosValueTextView.setVisibility(View.VISIBLE);
feeRadioGroup.setVisibility(View.VISIBLE); feeRadioGroup.setVisibility(View.VISIBLE);
feeRadioGroupLabelTextView.setVisibility(View.VISIBLE); feeRadioGroupLabelTextView.setVisibility(View.VISIBLE);
} }

View file

@ -17,11 +17,10 @@
android:id="@+id/send_monero_textview" android:id="@+id/send_monero_textview"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:text="@string/send_monero" android:text="@string/send_monero"
android:textSize="32sp" android:textSize="32sp"
android:textStyle="bold" android:textStyle="bold"
app:layout_constraintBottom_toTopOf="@id/address_edittext" app:layout_constraintBottom_toTopOf="@id/selected_utxos_value_textview"
app:layout_constraintEnd_toEndOf="parent" 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" />
@ -29,9 +28,9 @@
android:id="@+id/selected_utxos_value_textview" android:id="@+id/selected_utxos_value_textview"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginBottom="16dp"
android:text="@string/selected_utxos_value" android:text="@string/selected_utxos_value"
android:textSize="16sp" android:textSize="16sp"
android:visibility="gone"
app:layout_constraintBottom_toTopOf="@id/address_edittext" app:layout_constraintBottom_toTopOf="@id/address_edittext"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
@ -40,6 +39,7 @@
android:id="@+id/address_edittext" android:id="@+id/address_edittext"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:layout_marginBottom="16dp" android:layout_marginBottom="16dp"
android:background="@drawable/edittext_bg" android:background="@drawable/edittext_bg"
android:ellipsize="middle" android:ellipsize="middle"