From: Damyan Ivanov Date: Mon, 8 Feb 2021 05:35:58 +0000 (+0000) Subject: include account position in template account head X-Git-Tag: v0.17.0~110 X-Git-Url: https://git.ktnx.net/?a=commitdiff_plain;h=507ea8d8fd3cec4a04a6db73ddc0520b9e048d8e;p=mobile-ledger.git include account position in template account head the account block is rather large, a prominent indicator of its sequential number seems appropriate --- diff --git a/app/src/main/java/net/ktnx/mobileledger/ui/templates/TemplateDetailsAdapter.java b/app/src/main/java/net/ktnx/mobileledger/ui/templates/TemplateDetailsAdapter.java index e0406446..aee8511c 100644 --- a/app/src/main/java/net/ktnx/mobileledger/ui/templates/TemplateDetailsAdapter.java +++ b/app/src/main/java/net/ktnx/mobileledger/ui/templates/TemplateDetailsAdapter.java @@ -18,6 +18,7 @@ package net.ktnx.mobileledger.ui.templates; import android.annotation.SuppressLint; +import android.content.res.Resources; import android.text.Editable; import android.text.TextWatcher; import android.view.LayoutInflater; @@ -669,11 +670,14 @@ class TemplateDetailsAdapter extends RecyclerView.AdapterСума Примерен текст Сметка - Данни за сметка + Данни за сметка №%d Източник на името на сметката ръчно въвеждане Източник на бележка към сметката diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 4def8849..e7ad4b2f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -192,7 +192,7 @@ Amount Test text Account name - Account details + Details of account #%d Account name source literal Account comment source