From: Damyan Ivanov Date: Wed, 16 Jan 2019 20:26:50 +0000 (+0000) Subject: transaction list: highlight only the maching part of the account in bold X-Git-Tag: v0.3~31 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=7e9a2984323226af349df0f5c16ad52da5af5358;p=mobile-ledger.git transaction list: highlight only the maching part of the account in bold --- 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