From 7e9a2984323226af349df0f5c16ad52da5af5358 Mon Sep 17 00:00:00 2001 From: Damyan Ivanov Date: Wed, 16 Jan 2019 20:26:50 +0000 Subject: [PATCH] transaction list: highlight only the maching part of the account in bold --- .../transaction_list/TransactionListAdapter.java | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListAdapter.java b/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListAdapter.java index 573fd15c..b6e7057d 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListAdapter.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/transaction_list/TransactionListAdapter.java @@ -24,6 +24,9 @@ import android.os.AsyncTask; import android.support.annotation.NonNull; import android.support.v7.widget.AppCompatTextView; import android.support.v7.widget.RecyclerView; +import android.text.Spannable; +import android.text.SpannableString; +import android.text.style.StyleSpan; import android.view.Gravity; import android.view.LayoutInflater; import android.view.View; @@ -188,8 +191,6 @@ public class TransactionListAdapter extends RecyclerView.Adapter