zcash-android-wallet-sdk/demo-app/lint-baseline.xml

1321 lines
53 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<issues format="5" by="lint 4.2.1" client="gradle" variant="all" version="4.2.1">
<issue
id="OldTargetApi"
message="Not targeting the latest versions of Android; compatibility modes apply. Consider testing and updating this version. Consult the android.os.Build.VERSION_CODES javadoc for details."
errorLine1=" targetSdkVersion 29"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle"
line="13"
column="9"/>
</issue>
<issue
id="UnusedAttribute"
message="Attribute `drawableTint` is only used in API level 23 and higher (current min is 21)"
errorLine1=" android:drawableTint=&quot;@color/colorPrimary&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_home.xml"
line="15"
column="9"/>
</issue>
<issue
id="FragmentTagUsage"
message="Replace the &lt;fragment> tag with FragmentContainerView."
errorLine1=" &lt;fragment"
errorLine2=" ~~~~~~~~">
<location
file="src/main/res/layout/content_main.xml"
line="11"
column="6"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of cash.z.ecc.android:kotlin-bip39 than 1.0.1 is available: 1.0.2"
errorLine1=" implementation &apos;cash.z.ecc.android:kotlin-bip39:1.0.1&apos;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle"
line="61"
column="20"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of androidx.core:core-ktx than 1.3.2 is available: 1.6.0"
errorLine1=" implementation &apos;androidx.core:core-ktx:1.3.2&apos;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle"
line="64"
column="20"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of androidx.constraintlayout:constraintlayout than 2.0.4 is available: 2.1.0"
errorLine1=" implementation &apos;androidx.constraintlayout:constraintlayout:2.0.4&apos;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle"
line="65"
column="20"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of androidx.navigation:navigation-fragment-ktx than 2.3.1 is available: 2.3.5"
errorLine1=" implementation &apos;androidx.navigation:navigation-fragment-ktx:2.3.1&apos;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle"
line="66"
column="20"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of androidx.navigation:navigation-ui-ktx than 2.3.1 is available: 2.3.5"
errorLine1=" implementation &apos;androidx.navigation:navigation-ui-ktx:2.3.1&apos;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle"
line="67"
column="20"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of com.google.android.material:material than 1.3.0-alpha03 is available: 1.5.0-alpha02"
errorLine1=" implementation &quot;com.google.android.material:material:1.3.0-alpha03&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle"
line="68"
column="20"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of junit:junit than 4.13 is available: 4.13.2"
errorLine1=" testImplementation &apos;junit:junit:4.13&apos;"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle"
line="69"
column="24"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of androidx.test.ext:junit than 1.1.2 is available: 1.1.3"
errorLine1=" androidTestImplementation &apos;androidx.test.ext:junit:1.1.2&apos;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle"
line="70"
column="31"/>
</issue>
<issue
id="GradleDependency"
message="A newer version of androidx.test.espresso:espresso-core than 3.3.0 is available: 3.4.0"
errorLine1=" androidTestImplementation &apos;androidx.test.espresso:espresso-core:3.3.0&apos;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="build.gradle"
line="71"
column="31"/>
</issue>
<issue
id="UseCompatTextViewDrawableXml"
message="Use `app:drawableEndCompat` instead of `android:drawableEnd`"
errorLine1=" android:drawableEnd=&quot;@drawable/ic_baseline_edit_24&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_home.xml"
line="14"
column="9"/>
</issue>
<issue
id="UseCompatTextViewDrawableXml"
message="Use `app:drawableTint` instead of `android:drawableTint`"
errorLine1=" android:drawableTint=&quot;@color/colorPrimary&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_home.xml"
line="15"
column="9"/>
</issue>
<issue
id="ObsoleteSdkInt"
message="This folder configuration (`v21`) is unnecessary; `minSdkVersion` is 21. Merge all the resources in this folder into `values`.">
<location
file="src/main/res/values-v21"/>
</issue>
<issue
id="Overdraw"
message="Possible overdraw: Root element paints background `#60F0F0F0` with a theme that also paints a background (inferred theme is `@style/AppTheme`)"
errorLine1=" android:background=&quot;#60F0F0F0&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/item_transaction.xml"
line="8"
column="5"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.layout.fragment_gallery` appears to be unused"
errorLine1="&lt;androidx.constraintlayout.widget.ConstraintLayout"
errorLine2="^">
<location
file="src/main/res/layout/fragment_gallery.xml"
line="2"
column="1"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.layout.fragment_home_second` appears to be unused"
errorLine1="&lt;androidx.constraintlayout.widget.ConstraintLayout"
errorLine2="^">
<location
file="src/main/res/layout/fragment_home_second.xml"
line="2"
column="1"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.layout.fragment_slideshow` appears to be unused"
errorLine1="&lt;androidx.constraintlayout.widget.ConstraintLayout"
errorLine2="^">
<location
file="src/main/res/layout/fragment_slideshow.xml"
line="2"
column="1"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.drawable.ic_baseline_move_to_inbox_24` appears to be unused"
errorLine1="&lt;vector xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2="^">
<location
file="src/main/res/drawable/ic_baseline_move_to_inbox_24.xml"
line="1"
column="1"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.drawable.ic_menu_decrypt` appears to be unused"
errorLine1="&lt;vector xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2="^">
<location
file="src/main/res/drawable/ic_menu_decrypt.xml"
line="1"
column="1"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.drawable.ic_menu_decrypt_range` appears to be unused"
errorLine1="&lt;vector xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2="^">
<location
file="src/main/res/drawable/ic_menu_decrypt_range.xml"
line="1"
column="1"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.drawable.ic_menu_memo` appears to be unused"
errorLine1="&lt;vector xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot;"
errorLine2="^">
<location
file="src/main/res/drawable/ic_menu_memo.xml"
line="1"
column="1"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.drawable.ic_send` appears to be unused"
errorLine1="&lt;vector android:height=&quot;24dp&quot;"
errorLine2="^">
<location
file="src/main/res/drawable/ic_send.xml"
line="1"
column="1"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.string.navigation_drawer_open` appears to be unused"
errorLine1=" &lt;string name=&quot;navigation_drawer_open&quot;>Open navigation drawer&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="3"
column="13"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.string.navigation_drawer_close` appears to be unused"
errorLine1=" &lt;string name=&quot;navigation_drawer_close&quot;>Close navigation drawer&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="4"
column="13"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.string.menu_decrypt` appears to be unused"
errorLine1=" &lt;string name=&quot;menu_decrypt&quot;>Decrypt Block&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="17"
column="13"/>
</issue>
<issue
id="UnusedResources"
message="The resource `R.string.home_second` appears to be unused"
errorLine1=" &lt;string name=&quot;home_second&quot;>Home Second&lt;/string>"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/values/strings.xml"
line="22"
column="13"/>
</issue>
<issue
id="TextFields"
message="This text field does not specify an `inputType`"
errorLine1=" &lt;EditText"
errorLine2=" ~~~~~~~~">
<location
file="src/main/res/layout/fragment_get_private_key.xml"
line="8"
column="6"/>
</issue>
<issue
id="Autofill"
message="Missing `autofillHints` attribute"
errorLine1=" &lt;EditText"
errorLine2=" ~~~~~~~~">
<location
file="src/main/res/layout/fragment_get_private_key.xml"
line="8"
column="6"/>
</issue>
<issue
id="ContentDescription"
message="Missing `contentDescription` attribute on image"
errorLine1=" &lt;com.google.android.material.floatingactionbutton.FloatingActionButton"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/app_bar_main.xml"
line="26"
column="6"/>
</issue>
<issue
id="ContentDescription"
message="Missing `contentDescription` attribute on image"
errorLine1=" &lt;ImageView"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/res/layout/item_transaction.xml"
line="17"
column="6"/>
</issue>
<issue
id="LabelFor"
message="Missing accessibility label: provide either a view with an `android:labelFor` that references this view or provide an `android:hint`"
errorLine1=" &lt;EditText"
errorLine2=" ~~~~~~~~">
<location
file="src/main/res/layout/fragment_get_private_key.xml"
line="8"
column="6"/>
</issue>
<issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" binding.textInfo.text = &quot;z-addr:\n$zaddress\n\n\nt-addr:\n$taddress&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/getaddress/GetAddressFragment.kt"
line="41"
column="33"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" binding.textInfo.text = &quot;z-addr:\n$zaddress\n\n\nt-addr:\n$taddress&quot;"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/getaddress/GetAddressFragment.kt"
line="41"
column="34"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" binding.textInfo.text = &quot;z-addr:\n$zaddress\n\n\nt-addr:\n$taddress&quot;"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/getaddress/GetAddressFragment.kt"
line="41"
column="58"/>
</issue>
<issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" binding.textBalance.text = &quot;&quot;&quot;"
errorLine2=" ^">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/getbalance/GetBalanceFragment.kt"
line="72"
column="40"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" Available balance: ${balance.availableZatoshi.convertZatoshiToZecString(12)}"
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/getbalance/GetBalanceFragment.kt"
line="73"
column="1"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" Total balance: ${balance.totalZatoshi.convertZatoshiToZecString(12)}"
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/getbalance/GetBalanceFragment.kt"
line="74"
column="1"/>
</issue>
<issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" binding.textStatus.text = &quot;Status: $status&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/getbalance/GetBalanceFragment.kt"
line="81"
column="35"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" binding.textStatus.text = &quot;Status: $status&quot;"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/getbalance/GetBalanceFragment.kt"
line="81"
column="36"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" binding.textBalance.text = &quot;Calculating balance...&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/getbalance/GetBalanceFragment.kt"
line="83"
column="41"/>
</issue>
<issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" binding.textStatus.text = &quot;Downloading blocks...$i%&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/getbalance/GetBalanceFragment.kt"
line="91"
column="39"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" binding.textStatus.text = &quot;Downloading blocks...$i%&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/getbalance/GetBalanceFragment.kt"
line="91"
column="40"/>
</issue>
<issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" if (info.isScanning) binding.textStatus.text = &quot;Scanning blocks...${info.scanProgress}%&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/getbalance/GetBalanceFragment.kt"
line="105"
column="56"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" if (info.isScanning) binding.textStatus.text = &quot;Scanning blocks...${info.scanProgress}%&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/getbalance/GetBalanceFragment.kt"
line="105"
column="57"/>
</issue>
<issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" binding.textInfo.text = &quot;Error: $message&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/getblockrange/GetBlockRangeFragment.kt"
line="92"
column="33"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" binding.textInfo.text = &quot;Error: $message&quot;"
errorLine2=" ~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/getblockrange/GetBlockRangeFragment.kt"
line="92"
column="34"/>
</issue>
<issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" binding.textInfo.setText(&quot;Spending Key:\n$spendingKey\n\nViewing Key:\n$viewingKey&quot;)"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/getprivatekey/GetPrivateKeyFragment.kt"
line="43"
column="34"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" binding.textInfo.setText(&quot;Spending Key:\n$spendingKey\n\nViewing Key:\n$viewingKey&quot;)"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/getprivatekey/GetPrivateKeyFragment.kt"
line="43"
column="35"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" binding.textInfo.setText(&quot;Spending Key:\n$spendingKey\n\nViewing Key:\n$viewingKey&quot;)"
errorLine2=" ~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/getprivatekey/GetPrivateKeyFragment.kt"
line="43"
column="66"/>
</issue>
<issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" binding.textSeedPhrase.text = &quot;Seed Phrase: ${it.toAbbreviatedPhrase()}&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/home/HomeFragment.kt"
line="48"
column="47"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" binding.textSeedPhrase.text = &quot;Seed Phrase: ${it.toAbbreviatedPhrase()}&quot;"
errorLine2=" ~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/home/HomeFragment.kt"
line="48"
column="48"/>
</issue>
<issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" if (info.isScanning) binding.textInfo.text = &quot;Scanning blocks...${info.scanProgress}%&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/listtransactions/ListTransactionsFragment.kt"
line="82"
column="54"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" if (info.isScanning) binding.textInfo.text = &quot;Scanning blocks...${info.scanProgress}%&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/listtransactions/ListTransactionsFragment.kt"
line="82"
column="55"/>
</issue>
<issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" if (i &lt; 100) binding.textInfo.text = &quot;Downloading blocks...$i%&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/listtransactions/ListTransactionsFragment.kt"
line="86"
column="46"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" if (i &lt; 100) binding.textInfo.text = &quot;Downloading blocks...$i%&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/listtransactions/ListTransactionsFragment.kt"
line="86"
column="47"/>
</issue>
<issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" binding.textStatus.text = &quot;Status: $status&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/listtransactions/ListTransactionsFragment.kt"
line="91"
column="35"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" binding.textStatus.text = &quot;Status: $status&quot;"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/listtransactions/ListTransactionsFragment.kt"
line="91"
column="36"/>
</issue>
<issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" &quot;No transactions found. Try to either change the seed words &quot; +"
errorLine2=" ^">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/listtransactions/ListTransactionsFragment.kt"
line="109"
column="25"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" &quot;No transactions found. Try to either change the seed words &quot; +"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/listtransactions/ListTransactionsFragment.kt"
line="109"
column="26"/>
</issue>
<issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" &quot;or send funds to this address (tap the FAB to copy it):\n\n $address&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/listtransactions/ListTransactionsFragment.kt"
line="110"
column="33"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" &quot;or send funds to this address (tap the FAB to copy it):\n\n $address&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/listtransactions/ListTransactionsFragment.kt"
line="110"
column="34"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" binding.textStatus.text = &quot;loading...&quot;"
errorLine2=" ~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/listutxos/ListUtxosFragment.kt"
line="96"
column="36"/>
</issue>
<issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" binding.textStatus.text = &quot;${binding.textStatus.text} $message&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/listutxos/ListUtxosFragment.kt"
line="145"
column="39"/>
</issue>
<issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" if (info.isScanning) binding.textStatus.text = &quot;Scanning blocks...${info.scanProgress}%&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/listutxos/ListUtxosFragment.kt"
line="218"
column="56"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" if (info.isScanning) binding.textStatus.text = &quot;Scanning blocks...${info.scanProgress}%&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/listutxos/ListUtxosFragment.kt"
line="218"
column="57"/>
</issue>
<issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" if (i &lt; 100) binding.textStatus.text = &quot;Downloading blocks...$i%&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/listutxos/ListUtxosFragment.kt"
line="222"
column="48"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" if (i &lt; 100) binding.textStatus.text = &quot;Downloading blocks...$i%&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/listutxos/ListUtxosFragment.kt"
line="222"
column="49"/>
</issue>
<issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" binding.textStatus.text = &quot;Status: $status&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/listutxos/ListUtxosFragment.kt"
line="227"
column="35"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" binding.textStatus.text = &quot;Status: $status&quot;"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/listutxos/ListUtxosFragment.kt"
line="227"
column="36"/>
</issue>
<issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" binding.textStatus.text = &quot;Status: $status&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/send/SendFragment.kt"
line="114"
column="35"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" binding.textStatus.text = &quot;Status: $status&quot;"
errorLine2=" ~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/send/SendFragment.kt"
line="114"
column="36"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" binding.textBalance.text = &quot;Calculating balance...&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/send/SendFragment.kt"
line="117"
column="41"/>
</issue>
<issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" binding.textStatus.text = &quot;Downloading blocks...$i%&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/send/SendFragment.kt"
line="125"
column="39"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" binding.textStatus.text = &quot;Downloading blocks...$i%&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/send/SendFragment.kt"
line="125"
column="40"/>
</issue>
<issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" if (info.isScanning) binding.textStatus.text = &quot;Scanning blocks...${info.scanProgress}%&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/send/SendFragment.kt"
line="133"
column="56"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" if (info.isScanning) binding.textStatus.text = &quot;Scanning blocks...${info.scanProgress}%&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/send/SendFragment.kt"
line="133"
column="57"/>
</issue>
<issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" binding.textBalance.text = &quot;&quot;&quot;"
errorLine2=" ^">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/send/SendFragment.kt"
line="139"
column="40"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" Available balance: ${balance.availableZatoshi.convertZatoshiToZecString(12)}"
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/send/SendFragment.kt"
line="140"
column="1"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" Total balance: ${balance.totalZatoshi.convertZatoshiToZecString(12)}"
errorLine2="~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/send/SendFragment.kt"
line="141"
column="1"/>
</issue>
<issue
id="SetTextI18n"
message="Do not concatenate text displayed with `setText`. Use resource string with placeholders."
errorLine1=" text = &quot;$text\n$message&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/send/SendFragment.kt"
line="173"
column="20"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" text = &quot;➡ sending&quot;"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/send/SendFragment.kt"
line="181"
column="29"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" text = &quot;⌛ syncing&quot;"
errorLine2=" ~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/send/SendFragment.kt"
line="185"
column="29"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" text = &quot;send&quot;"
errorLine2=" ~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/send/SendFragment.kt"
line="190"
column="29"/>
</issue>
<issue
id="SetTextI18n"
message="String literal in `setText` can not be translated. Use Android resources instead."
errorLine1=" binding.textInfo.text = &quot;Active Transaction:&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/java/cash/z/ecc/android/sdk/demoapp/demos/send/SendFragment.kt"
line="198"
column="34"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;loading address...&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;loading address...&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_get_address.xml"
line="14"
column="9"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Initializing wallet...&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;Initializing wallet...&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_get_balance.xml"
line="12"
column="9"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Balance&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;Balance&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_get_balance.xml"
line="23"
column="9"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;block height&quot;, should use `@string` resource"
errorLine1=" android:hint=&quot;block height&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_get_block.xml"
line="27"
column="13"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;500000&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;500000&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_get_block.xml"
line="32"
column="13"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;loading block...&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;loading block...&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_get_block.xml"
line="79"
column="13"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;start height&quot;, should use `@string` resource"
errorLine1=" android:hint=&quot;start height&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_get_block_range.xml"
line="24"
column="13"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;500000&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;500000&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_get_block_range.xml"
line="27"
column="13"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;end height&quot;, should use `@string` resource"
errorLine1=" android:hint=&quot;end height&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_get_block_range.xml"
line="49"
column="13"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;500000&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;500000&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_get_block_range.xml"
line="52"
column="13"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;apply&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;apply&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_get_block_range.xml"
line="61"
column="9"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;loading blocks...&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;loading blocks...&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_get_block_range.xml"
line="79"
column="13"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;loading latest height...&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;loading latest height...&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_get_latest_height.xml"
line="14"
column="9"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;loading keys soon...&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;loading keys soon...&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_get_private_key.xml"
line="14"
column="9"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Seed phrase set to: apple...fish&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;Seed phrase set to: apple...fish&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_home.xml"
line="18"
column="9"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Seed Phrase (24 words)&quot;, should use `@string` resource"
errorLine1=" android:hint=&quot;Seed Phrase (24 words)&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_home.xml"
line="31"
column="9"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Paste from Clipboard&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;Paste from Clipboard&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_home.xml"
line="57"
column="9"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Or modify the seed phrase\nused for all demos, below:&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;Or modify the seed phrase\nused for all demos, below:&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_home.xml"
line="85"
column="9"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;\u25c4\tSelect a demo&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;\u25c4\tSelect a demo&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_home.xml"
line="99"
column="9"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Initializing...&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;Initializing...&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_list_transactions.xml"
line="45"
column="9"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;loading blocks...&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;loading blocks...&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_list_transactions.xml"
line="56"
column="9"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Address&quot;, should use `@string` resource"
errorLine1=" android:hint=&quot;Address&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_list_utxos.xml"
line="21"
column="9"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Start height&quot;, should use `@string` resource"
errorLine1=" android:hint=&quot;Start height&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_list_utxos.xml"
line="44"
column="9"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;End height&quot;, should use `@string` resource"
errorLine1=" android:hint=&quot;End height&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_list_utxos.xml"
line="64"
column="9"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Load Transactions&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;Load Transactions&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_list_utxos.xml"
line="100"
column="9"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;zec amount&quot;, should use `@string` resource"
errorLine1=" android:hint=&quot;zec amount&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_send.xml"
line="27"
column="13"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;to address&quot;, should use `@string` resource"
errorLine1=" android:hint=&quot;to address&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_send.xml"
line="47"
column="13"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Send&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;Send&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_send.xml"
line="56"
column="9"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;Initializing wallet...&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;Initializing wallet...&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_send.xml"
line="66"
column="9"/>
</issue>
<issue
id="HardcodedText"
message="Hardcoded string &quot;funds received&quot;, should use `@string` resource"
errorLine1=" android:text=&quot;funds received&quot; />"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/item_transaction.xml"
line="51"
column="9"/>
</issue>
<issue
id="RtlSymmetry"
message="When you define `paddingEnd` you should probably also define `paddingStart` for right-to-left symmetry"
errorLine1=" android:paddingEnd=&quot;8dp&quot; />"
errorLine2=" ~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_send.xml"
line="92"
column="13"/>
</issue>
<issue
id="RtlHardcoded"
message="Consider replacing `android:layout_marginLeft` with `android:layout_marginStart=&quot;16dp&quot;` to better support right-to-left layouts"
errorLine1=" android:layout_marginLeft=&quot;16dp&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_get_block_range.xml"
line="36"
column="9"/>
</issue>
<issue
id="RtlHardcoded"
message="Consider replacing `android:layout_marginLeft` with `android:layout_marginStart=&quot;16dp&quot;` to better support right-to-left layouts"
errorLine1=" android:layout_marginLeft=&quot;16dp&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_get_block_range.xml"
line="60"
column="9"/>
</issue>
<issue
id="RtlHardcoded"
message="Consider replacing `android:layout_marginLeft` with `android:layout_marginStart=&quot;16dp&quot;` to better support right-to-left layouts"
errorLine1=" android:layout_marginLeft=&quot;16dp&quot;"
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~">
<location
file="src/main/res/layout/fragment_list_transactions.xml"
line="32"
column="9"/>
</issue>
</issues>