mirror of
https://codeberg.org/anoncontributorxmr/mysu.git
synced 2024-11-25 08:52:28 +00:00
More UTXO list UI adjustments and fixes (0.4.4.2)
This commit is contained in:
parent
2e5177c20d
commit
a09e90e5d3
4 changed files with 15 additions and 13 deletions
|
@ -9,8 +9,8 @@ android {
|
||||||
applicationId "net.mynero.wallet"
|
applicationId "net.mynero.wallet"
|
||||||
minSdkVersion 21
|
minSdkVersion 21
|
||||||
targetSdkVersion 34
|
targetSdkVersion 34
|
||||||
versionCode 40401
|
versionCode 40402
|
||||||
versionName "0.4.4.1 'Fluorine Fermi'"
|
versionName "0.4.4.2 'Fluorine Fermi'"
|
||||||
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
|
||||||
externalNativeBuild {
|
externalNativeBuild {
|
||||||
cmake {
|
cmake {
|
||||||
|
|
|
@ -126,6 +126,7 @@ public class CoinsInfoAdapter extends RecyclerView.Adapter<CoinsInfoAdapter.View
|
||||||
listener.onUtxoSelected(coinsInfo);
|
listener.onUtxoSelected(coinsInfo);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
itemView.setOnLongClickListener(null);
|
||||||
} else {
|
} else {
|
||||||
itemView.setOnLongClickListener(view -> {
|
itemView.setOnLongClickListener(view -> {
|
||||||
boolean unlocked = coinsInfo.isUnlocked();
|
boolean unlocked = coinsInfo.isUnlocked();
|
||||||
|
@ -134,6 +135,7 @@ public class CoinsInfoAdapter extends RecyclerView.Adapter<CoinsInfoAdapter.View
|
||||||
}
|
}
|
||||||
return unlocked;
|
return unlocked;
|
||||||
});
|
});
|
||||||
|
itemView.setOnClickListener(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (selected) {
|
if (selected) {
|
||||||
|
|
|
@ -27,8 +27,6 @@
|
||||||
android:layout_marginTop="16dp"
|
android:layout_marginTop="16dp"
|
||||||
android:clipToPadding="false"
|
android:clipToPadding="false"
|
||||||
android:paddingBottom="128dp"
|
android:paddingBottom="128dp"
|
||||||
android:layout_marginStart="24dp"
|
|
||||||
android:layout_marginEnd="24dp"
|
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="Coin"
|
android:text="Coin"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:textSize="12sp"
|
android:textSize="20sp"
|
||||||
android:textColor="@color/oled_addressListColor"
|
android:textColor="@color/oled_addressListColor"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintEnd_toStartOf="@id/utxo_outpoint_textview"
|
app:layout_constraintEnd_toStartOf="@id/utxo_outpoint_textview"
|
||||||
|
@ -26,7 +26,7 @@
|
||||||
android:ellipsize="middle"
|
android:ellipsize="middle"
|
||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="8dp"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:textSize="16sp"
|
android:textSize="14sp"
|
||||||
app:layout_constraintTop_toTopOf="parent"
|
app:layout_constraintTop_toTopOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@id/utxo_coin_label"
|
app:layout_constraintStart_toEndOf="@id/utxo_coin_label"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
@ -38,7 +38,9 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="Public Key"
|
android:text="Public Key"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:textSize="12sp"
|
android:textSize="20sp"
|
||||||
|
android:layout_marginStart="16dp"
|
||||||
|
|
||||||
android:textColor="@color/oled_addressListColor"
|
android:textColor="@color/oled_addressListColor"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
|
@ -49,10 +51,8 @@
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="Public Key"
|
android:text="Public Key"
|
||||||
android:textStyle="bold"
|
android:textSize="14sp"
|
||||||
android:textSize="16sp"
|
android:layout_marginStart="32dp"
|
||||||
android:layout_marginStart="16dp"
|
|
||||||
android:layout_marginEnd="16dp"
|
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintBottom_toTopOf="@id/utxo_amount_label"
|
app:layout_constraintBottom_toTopOf="@id/utxo_amount_label"
|
||||||
|
@ -64,7 +64,7 @@
|
||||||
android:text="Amount"
|
android:text="Amount"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:ellipsize="middle"
|
android:ellipsize="middle"
|
||||||
android:textSize="12sp"
|
android:textSize="20sp"
|
||||||
android:layout_marginStart="16dp"
|
android:layout_marginStart="16dp"
|
||||||
android:textColor="@color/oled_addressListColor"
|
android:textColor="@color/oled_addressListColor"
|
||||||
app:layout_constraintTop_toBottomOf="@id/utxo_pub_key_textview"
|
app:layout_constraintTop_toBottomOf="@id/utxo_pub_key_textview"
|
||||||
|
@ -78,6 +78,7 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:text="Amount"
|
android:text="Amount"
|
||||||
android:ellipsize="middle"
|
android:ellipsize="middle"
|
||||||
|
android:textSize="14sp"
|
||||||
android:layout_marginStart="32dp"
|
android:layout_marginStart="32dp"
|
||||||
app:layout_constraintTop_toBottomOf="@id/utxo_amount_label"
|
app:layout_constraintTop_toBottomOf="@id/utxo_amount_label"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
@ -92,7 +93,7 @@
|
||||||
android:ellipsize="middle"
|
android:ellipsize="middle"
|
||||||
android:gravity="end"
|
android:gravity="end"
|
||||||
android:textStyle="bold"
|
android:textStyle="bold"
|
||||||
android:textSize="12sp"
|
android:textSize="20sp"
|
||||||
android:textColor="@color/oled_addressListColor"
|
android:textColor="@color/oled_addressListColor"
|
||||||
app:layout_constraintTop_toBottomOf="@id/utxo_pub_key_textview"
|
app:layout_constraintTop_toBottomOf="@id/utxo_pub_key_textview"
|
||||||
app:layout_constraintBottom_toTopOf="@id/utxo_global_index_textview"
|
app:layout_constraintBottom_toTopOf="@id/utxo_global_index_textview"
|
||||||
|
@ -106,6 +107,7 @@
|
||||||
android:text="999999999999"
|
android:text="999999999999"
|
||||||
android:ellipsize="middle"
|
android:ellipsize="middle"
|
||||||
android:gravity="end"
|
android:gravity="end"
|
||||||
|
android:textSize="14sp"
|
||||||
app:layout_constraintTop_toBottomOf="@id/utxo_global_index_label"
|
app:layout_constraintTop_toBottomOf="@id/utxo_global_index_label"
|
||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintStart_toEndOf="@id/utxo_amount_textview"
|
app:layout_constraintStart_toEndOf="@id/utxo_amount_textview"
|
||||||
|
|
Loading…
Reference in a new issue