Commit 94644234 authored by Wallet Guy's avatar Wallet Guy
Browse files

minor style changes

parent bd3cb7b4
......@@ -177,7 +177,7 @@ public class TxAdapter extends RecyclerView.Adapter<TxAdapter.TxViewHolder> {
Date date = new Date(tx.getTS());
if (tx.getTS() == -1L) {
holder.tvSection.setText(holder.itemView.getContext().getString(R.string.pending));
holder.tvSection.setTextColor(ContextCompat.getColor(holder.itemView.getContext(), R.color.warning_yellow));
holder.tvSection.setTextColor(ContextCompat.getColor(holder.itemView.getContext(), R.color.white));
} else {
holder.tvSection.setTextColor(ContextCompat.getColor(holder.tvSection.getContext(), R.color.text_primary));
if (DateUtils.isToday(tx.getTS())) {
......
......@@ -145,6 +145,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:textColor="@color/white"
android:alpha="0.5"
android:text="Date" />
<TextView
......@@ -180,7 +182,9 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:text="@string/status" />
android:alpha="0.5"
android:text="@string/status"
android:textColor="@color/white" />
<TextView
android:id="@+id/tx_status"
......@@ -214,6 +218,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:textColor="@color/white"
android:alpha="0.5"
android:text="@string/miner_fee_rate" />
<TextView
......@@ -246,6 +252,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:textColor="@color/white"
android:alpha="0.5"
android:text="Miner fee paid" />
<TextView
......@@ -277,6 +285,8 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:textColor="@color/white"
android:alpha="0.5"
android:text="@string/transaction_id" />
</LinearLayout>
......@@ -297,7 +307,7 @@
android:background="?attr/selectableItemBackground"
android:fontFamily="@font/roboto_mono"
android:gravity="start"
android:textSize="12sp"
android:textSize="14sp"
tools:text="919cf999c5bd6c80e2e3fb81b9009ac779d749ff71b5b7fd279482f8cb82e125" />
</LinearLayout>
......
......@@ -38,7 +38,8 @@
android:layout_height="wrap_content"
android:gravity="center"
android:maxLines="4"
android:padding="16dp"
android:padding="18dp"
android:fontFamily="@font/roboto_mono"
android:textAlignment="center" />
</FrameLayout>
......@@ -70,14 +71,16 @@
android:paddingBottom="4dp"
android:text="@string/amount"
android:textColor="@color/white"
android:textSize="14sp" />
android:alpha="0.5"
android:textSize="12sp" />
<TextView
android:id="@+id/utxo_details_amount"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="@style/TextAppearance.AppCompat.Caption"
android:textSize="12sp"
android:textSize="14sp"
android:fontFamily="@font/roboto_mono"
tools:text="2.030 BTC" />
</LinearLayout>
......@@ -103,14 +106,16 @@
android:paddingBottom="4dp"
android:text="@string/address"
android:textColor="@color/white"
android:textSize="14sp" />
android:alpha="0.5"
android:textSize="12sp" />
<TextView
android:id="@+id/utxo_details_address"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:fontFamily="@font/roboto_mono"
android:textAppearance="@style/TextAppearance.AppCompat.Caption"
android:textSize="12sp"
android:textSize="14sp"
tools:text="address" />
</LinearLayout>
......@@ -137,14 +142,15 @@
android:paddingBottom="4dp"
android:text="@string/status"
android:textColor="@color/white"
android:textSize="14sp" />
android:alpha="0.5"
android:textSize="12sp" />
<TextView
android:id="@+id/utxo_details_spendable_status"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textAppearance="@style/TextAppearance.AppCompat.Caption"
android:textSize="12sp" />
android:textSize="14sp" />
</LinearLayout>
......@@ -197,6 +203,8 @@
android:text="Notes"
android:textColor="@color/white"
android:textColorLink="@color/white"
android:alpha="0.5"
android:textSize="12sp"
app:layout_constraintBottom_toBottomOf="@+id/add_note_button"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
......
......@@ -46,9 +46,10 @@
android:layout_width="match_parent"
android:layout_height="2dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="8dp"
android:background="@color/grey_accent" />
android:layout_marginTop="12dp"
android:layout_marginEnd="12dp"
android:alpha="0.1"
android:background="@color/white" />
<androidx.core.widget.NestedScrollView
......@@ -131,7 +132,8 @@
android:layout_height="1dp"
android:layout_margin="12dp"
android:layout_marginTop="1dp"
android:background="@color/text_ui2_grey" />
android:alpha="0.1"
android:background="@color/white" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
......@@ -164,7 +166,8 @@
android:layout_height="1dp"
android:layout_margin="12dp"
android:layout_marginTop="1dp"
android:background="@color/text_ui2_grey" />
android:alpha="0.1"
android:background="@color/white" />
<LinearLayout
android:layout_width="match_parent"
......@@ -197,7 +200,8 @@
android:layout_height="1dp"
android:layout_margin="12dp"
android:layout_marginTop="1dp"
android:background="@color/text_ui2_grey" />
android:alpha="0.1"
android:background="@color/white" />
<LinearLayout
android:layout_width="match_parent"
......@@ -231,7 +235,8 @@
android:layout_height="1dp"
android:layout_margin="12dp"
android:layout_marginTop="1dp"
android:background="@color/text_ui2_grey" />
android:alpha="0.1"
android:background="@color/white" />
<LinearLayout
android:layout_width="match_parent"
......@@ -265,7 +270,8 @@
android:layout_height="1dp"
android:layout_margin="12dp"
android:layout_marginTop="1dp"
android:background="@color/text_ui2_grey" />
android:alpha="0.1"
android:background="@color/white" />
<LinearLayout
android:layout_width="match_parent"
......
......@@ -19,8 +19,10 @@
android:layout_marginEnd="16dp"
tools:text="TextView"
android:textColor="@color/white"
android:textSize="14sp"
android:textSize="16sp"
android:textStyle="bold"
android:fontFamily="@font/roboto_mono"
android:alpha="0.8"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/multiselect_checkbox"
app:layout_constraintTop_toTopOf="parent" />
......@@ -32,6 +34,8 @@
android:layout_marginTop="8dp"
android:layout_marginBottom="24dp"
android:textSize="12sp"
android:textColor="@color/white"
android:alpha="0.5"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="@+id/utxo_item_amount"
app:layout_constraintHorizontal_bias="0.0"
......
......@@ -585,7 +585,7 @@
<string name="select_a_cycle_type">Select a cycle type</string>
<string name="supercharge">SuperCharge</string>
<string name="transaction_broadcast">Transaction Broadcast</string>
<string name="pending">pending</string>
<string name="pending">Pending</string>
<string name="transaction_id">Transaction ID</string>
<string name="completed">Completed</string>
<string name="title_activity_received_tx">" "</string>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment