Browse Source

Update API Level and project

duke^2
Yusuf Sahin HAMZA 4 years ago
parent
commit
858c7ac12c
No known key found for this signature in database GPG Key ID: 4D06AE0833B86938
  1. 4
      .travis.yml
  2. 23
      app/build.gradle
  3. 4
      app/src/androidTest/java/org/myhush/silentdragon/zqwandroid/ExampleInstrumentedTest.kt
  4. 2
      app/src/main/java/org/myhush/silentdragon/AboutActivity.kt
  5. 2
      app/src/main/java/org/myhush/silentdragon/ConnectionManager.kt
  6. 10
      app/src/main/java/org/myhush/silentdragon/MainActivity.kt
  7. 8
      app/src/main/java/org/myhush/silentdragon/QrReaderActivity.kt
  8. 10
      app/src/main/java/org/myhush/silentdragon/ReceiveActivity.kt
  9. 4
      app/src/main/java/org/myhush/silentdragon/SendActivity.kt
  10. 2
      app/src/main/java/org/myhush/silentdragon/SettingsActivity.kt
  11. 8
      app/src/main/java/org/myhush/silentdragon/TransactionItemFragment.kt
  12. 6
      app/src/main/java/org/myhush/silentdragon/TxDetailsActivity.kt
  13. 6
      app/src/main/java/org/myhush/silentdragon/UnconfirmedTxItemFragment.kt
  14. 4
      app/src/main/res/layout/activity_about.xml
  15. 10
      app/src/main/res/layout/activity_main.xml
  16. 4
      app/src/main/res/layout/activity_qr_reader.xml
  17. 10
      app/src/main/res/layout/activity_receive.xml
  18. 10
      app/src/main/res/layout/activity_send.xml
  19. 8
      app/src/main/res/layout/activity_settings.xml
  20. 10
      app/src/main/res/layout/activity_tx_details.xml
  21. 14
      app/src/main/res/layout/content_main.xml
  22. 12
      app/src/main/res/layout/content_receive.xml
  23. 20
      app/src/main/res/layout/content_send.xml
  24. 24
      app/src/main/res/layout/content_tx_details.xml
  25. 4
      app/src/main/res/layout/fragment_transaction_item.xml
  26. 8
      app/src/main/res/layout/fragment_unconfirmed_tx_item.xml
  27. 2
      app/src/main/res/values-ja/strings.xml
  28. 2
      build.gradle
  29. 2
      gradle.properties
  30. 4
      gradle/wrapper/gradle-wrapper.properties

4
.travis.yml

@ -11,8 +11,8 @@ android:
components: components:
- tools - tools
- platform-tools - platform-tools
- build-tools-28.0.3 - build-tools-29.0.3
- android-28 - android-29
- $ANDROID_TARGET - $ANDROID_TARGET
- extra-android-m2repository - extra-android-m2repository
- sys-img-${ANDROID_ABI}-${ANDROID_TARGET} - sys-img-${ANDROID_ABI}-${ANDROID_TARGET}

23
app/build.gradle

@ -6,15 +6,16 @@ apply plugin: 'kotlin-android'
apply plugin: 'kotlin-android-extensions' apply plugin: 'kotlin-android-extensions'
android { android {
compileSdkVersion 28 compileSdkVersion 29
buildToolsVersion "29.0.3"
defaultConfig { defaultConfig {
applicationId "org.myhush.silentdragon" applicationId "org.myhush.silentdragon"
minSdkVersion 19 minSdkVersion 17
targetSdkVersion 28 targetSdkVersion 29
versionCode 2 versionCode 2
versionName "0.5.14" versionName "0.5.14"
testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner"
vectorDrawables.useSupportLibrary = true vectorDrawables.useSupportLibrary = true
} }
@ -51,17 +52,17 @@ if (secretsPropertiesFile.exists()) {
dependencies { dependencies {
implementation fileTree(dir: 'libs', include: ['*.jar']) implementation fileTree(dir: 'libs', include: ['*.jar'])
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version" implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7:$kotlin_version"
implementation 'com.android.support:appcompat-v7:28.0.0' implementation 'androidx.appcompat:appcompat:1.0.0'
implementation 'com.android.support.constraint:constraint-layout:1.1.3' implementation 'androidx.constraintlayout:constraintlayout:1.1.3'
implementation 'com.android.support:design:28.0.0' implementation 'com.google.android.material:material:1.0.0'
implementation 'androidmads.library.qrgenearator:QRGenearator:1.0.3' implementation 'androidmads.library.qrgenearator:QRGenearator:1.0.3'
implementation 'com.squareup.okhttp3:okhttp:3.10.0' implementation 'com.squareup.okhttp3:okhttp:3.10.0'
implementation 'com.beust:klaxon:5.0.1' implementation 'com.beust:klaxon:5.0.1'
implementation 'com.android.support:support-v4:28.0.0' implementation 'androidx.legacy:legacy-support-v4:1.0.0'
implementation 'com.google.android.gms:play-services-vision:17.0.2' implementation 'com.google.android.gms:play-services-vision:17.0.2'
implementation 'com.android.support:support-vector-drawable:28.0.0' implementation 'androidx.vectordrawable:vectordrawable:1.0.0'
implementation 'com.github.joshjdevl.libsodiumjni:libsodium-jni-aar:2.0.1' implementation 'com.github.joshjdevl.libsodiumjni:libsodium-jni-aar:2.0.1'
testImplementation 'junit:junit:4.12' testImplementation 'junit:junit:4.12'
androidTestImplementation 'com.android.support.test:runner:1.0.2' androidTestImplementation 'androidx.test.ext:junit:1.1.1'
androidTestImplementation 'com.android.support.test.espresso:espresso-core:3.0.2' androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.0'
} }

4
app/src/androidTest/java/org/myhush/silentdragon/zqwandroid/ExampleInstrumentedTest.kt

@ -1,7 +1,7 @@
package org.myhush.silentdragon.zqwandroid package org.myhush.silentdragon.zqwandroid
import android.support.test.InstrumentationRegistry import androidx.test.platform.app.InstrumentationRegistry
import android.support.test.runner.AndroidJUnit4 import androidx.test.ext.junit.runners.AndroidJUnit4
import org.junit.Test import org.junit.Test
import org.junit.runner.RunWith import org.junit.runner.RunWith

2
app/src/main/java/org/myhush/silentdragon/AboutActivity.kt

@ -1,7 +1,7 @@
// Copyright 2019-2020 The Hush developers // Copyright 2019-2020 The Hush developers
package org.myhush.silentdragon package org.myhush.silentdragon
import android.support.v7.app.AppCompatActivity import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle import android.os.Bundle
import kotlinx.android.synthetic.main.activity_about.lblVersionName import kotlinx.android.synthetic.main.activity_about.lblVersionName

2
app/src/main/java/org/myhush/silentdragon/ConnectionManager.kt

@ -146,7 +146,7 @@ object ConnectionManager {
.url("https://api.coingecko.com/api/v3/simple/price?ids=hush&vs_currencies=${currencies}") .url("https://api.coingecko.com/api/v3/simple/price?ids=hush&vs_currencies=${currencies}")
.build() .build()
val response: Response = client.newCall(request).execute() val response: Response = client.newCall(request).execute()
val json: JSONObject = JSONObject(response.body()?.string())["hush"] as JSONObject val json: JSONObject = JSONObject(response.body()?.string() as @NonNull String)["hush"] as JSONObject
if (json.length() > 0){ if (json.length() > 0){
for (cur: String in json.keys()){ for (cur: String in json.keys()){

10
app/src/main/java/org/myhush/silentdragon/MainActivity.kt

@ -11,10 +11,10 @@ import android.os.Build
import android.os.Bundle import android.os.Bundle
import android.os.Handler import android.os.Handler
import android.os.StrictMode import android.os.StrictMode
import android.support.constraint.ConstraintLayout import androidx.constraintlayout.widget.ConstraintLayout
import android.support.design.widget.Snackbar import com.google.android.material.snackbar.Snackbar
import android.support.v4.text.HtmlCompat import androidx.core.text.HtmlCompat
import android.support.v7.app.AppCompatActivity import androidx.appcompat.app.AppCompatActivity
import android.text.Html import android.text.Html
import android.util.Log import android.util.Log
import android.view.Menu import android.view.Menu
@ -123,7 +123,7 @@ class MainActivity : AppCompatActivity(),
private fun loadSharedPref() { private fun loadSharedPref() {
var ref: SharedPreferences = getSharedPreferences("MainFile", 0) var ref: SharedPreferences = getSharedPreferences("MainFile", 0)
DataModel.selectedCurrency = ref.getString("currency", "BTC") DataModel.selectedCurrency = ref.getString("currency", "BTC").toString()
} }
private fun setMainStatus(status: String) { private fun setMainStatus(status: String) {

8
app/src/main/java/org/myhush/silentdragon/QrReaderActivity.kt

@ -6,9 +6,9 @@ import android.content.Intent
import android.content.pm.PackageManager import android.content.pm.PackageManager
import android.net.Uri import android.net.Uri
import android.os.Bundle import android.os.Bundle
import android.support.v4.app.ActivityCompat import androidx.core.app.ActivityCompat
import android.support.v4.content.ContextCompat import androidx.core.content.ContextCompat
import android.support.v7.app.AppCompatActivity import androidx.appcompat.app.AppCompatActivity
import android.util.Log import android.util.Log
import android.view.Menu import android.view.Menu
import android.view.MenuItem import android.view.MenuItem
@ -120,7 +120,7 @@ class QrReaderActivity : AppCompatActivity() {
println("Preview size: ${cameraSource.previewSize}") println("Preview size: ${cameraSource.previewSize}")
} }
} catch (ie: IOException) { } catch (ie: IOException) {
Log.e("CAMERA SOURCE", ie.message) Log.e("CAMERA SOURCE", ie.toString())
} }
} }

10
app/src/main/java/org/myhush/silentdragon/ReceiveActivity.kt

@ -6,8 +6,8 @@ import android.content.ClipboardManager
import android.content.Context import android.content.Context
import android.content.Intent import android.content.Intent
import android.os.Bundle import android.os.Bundle
import android.support.design.widget.TabLayout import com.google.android.material.tabs.TabLayout
import android.support.v7.app.AppCompatActivity import androidx.appcompat.app.AppCompatActivity
import android.util.Log import android.util.Log
import android.view.Menu import android.view.Menu
import android.view.MenuItem import android.view.MenuItem
@ -35,7 +35,7 @@ class ReceiveActivity : AppCompatActivity() {
supportActionBar?.setDisplayHomeAsUpEnabled(true) supportActionBar?.setDisplayHomeAsUpEnabled(true)
tabAddressType.setOnTabSelectedListener(object : TabLayout.OnTabSelectedListener { tabAddressType.addOnTabSelectedListener(object : TabLayout.OnTabSelectedListener {
override fun onTabReselected(p0: TabLayout.Tab?) {} override fun onTabReselected(p0: TabLayout.Tab?) {}
override fun onTabUnselected(p0: TabLayout.Tab?) {} override fun onTabUnselected(p0: TabLayout.Tab?) {}
@ -89,7 +89,7 @@ class ReceiveActivity : AppCompatActivity() {
addrTxt.setOnClickListener { addrTxt.setOnClickListener {
val clipboard = getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager val clipboard = getSystemService(Context.CLIPBOARD_SERVICE) as ClipboardManager
val clip = ClipData.newPlainText(getString(R.string.hush_address), addr) val clip = ClipData.newPlainText(getString(R.string.hush_address), addr)
clipboard.primaryClip = clip clipboard.setPrimaryClip(clip)
Toast.makeText(applicationContext, getString(R.string.copied_address_to_clipboard), Toast.LENGTH_SHORT).show() Toast.makeText(applicationContext, getString(R.string.copied_address_to_clipboard), Toast.LENGTH_SHORT).show()
} }
} }
@ -123,7 +123,7 @@ class ReceiveActivity : AppCompatActivity() {
return true return true
} }
else -> super.onOptionsItemSelected(item) else -> super.onOptionsItemSelected(item as MenuItem)
} }
} }
} }

4
app/src/main/java/org/myhush/silentdragon/SendActivity.kt

@ -9,8 +9,8 @@ import android.content.Intent
import android.os.Bundle import android.os.Bundle
import android.os.Handler import android.os.Handler
import android.provider.ContactsContract import android.provider.ContactsContract
import android.support.v4.content.ContextCompat import androidx.core.content.ContextCompat
import android.support.v7.app.AppCompatActivity import androidx.appcompat.app.AppCompatActivity
import android.text.Editable import android.text.Editable
import android.text.InputType import android.text.InputType
import android.text.SpannableStringBuilder import android.text.SpannableStringBuilder

2
app/src/main/java/org/myhush/silentdragon/SettingsActivity.kt

@ -2,7 +2,7 @@
package org.myhush.silentdragon package org.myhush.silentdragon
import android.content.SharedPreferences import android.content.SharedPreferences
import android.support.v7.app.AppCompatActivity import androidx.appcompat.app.AppCompatActivity
import android.os.Bundle import android.os.Bundle
import android.view.View import android.view.View
import android.widget.Adapter import android.widget.Adapter

8
app/src/main/java/org/myhush/silentdragon/TransactionItemFragment.kt

@ -6,9 +6,9 @@ import android.content.Context
import android.content.Intent import android.content.Intent
import android.net.Uri import android.net.Uri
import android.os.Bundle import android.os.Bundle
import android.support.constraint.ConstraintLayout import androidx.constraintlayout.widget.ConstraintLayout
import android.support.v4.app.Fragment import androidx.fragment.app.Fragment
import android.support.v4.content.ContextCompat import androidx.core.content.ContextCompat
import android.view.LayoutInflater import android.view.LayoutInflater
import android.view.View import android.view.View
import android.view.ViewGroup import android.view.ViewGroup
@ -44,7 +44,7 @@ class TransactionItemFragment : Fragment() {
override fun onCreate(savedInstanceState: Bundle?) { override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState) super.onCreate(savedInstanceState)
arguments?.let { arguments?.let {
tx = Klaxon().parse(it.getString(ARG_PARAM1)) tx = Klaxon().parse(it.getString(ARG_PARAM1).toString())
param2 = it.getString(ARG_PARAM2) param2 = it.getString(ARG_PARAM2)
} }
} }

6
app/src/main/java/org/myhush/silentdragon/TxDetailsActivity.kt

@ -4,7 +4,7 @@ package org.myhush.silentdragon
import android.annotation.SuppressLint import android.annotation.SuppressLint
import android.app.Activity import android.app.Activity
import android.os.Bundle import android.os.Bundle
import android.support.v7.app.AppCompatActivity import androidx.appcompat.app.AppCompatActivity
import com.beust.klaxon.Klaxon import com.beust.klaxon.Klaxon
import kotlinx.android.synthetic.main.activity_tx_details.* import kotlinx.android.synthetic.main.activity_tx_details.*
import kotlinx.android.synthetic.main.content_tx_details.* import kotlinx.android.synthetic.main.content_tx_details.*
@ -14,7 +14,7 @@ import java.text.DecimalFormat
import java.util.* import java.util.*
import android.content.Intent import android.content.Intent
import android.net.Uri import android.net.Uri
import android.support.constraint.ConstraintLayout import androidx.constraintlayout.widget.ConstraintLayout
import android.view.Menu import android.view.Menu
import android.view.MenuItem import android.view.MenuItem
import android.view.View import android.view.View
@ -136,7 +136,7 @@ class TxDetailsActivity : AppCompatActivity() {
return true return true
} }
else -> super.onOptionsItemSelected(item) else -> super.onOptionsItemSelected(item as MenuItem)
} }
} }

6
app/src/main/java/org/myhush/silentdragon/UnconfirmedTxItemFragment.kt

@ -5,8 +5,8 @@ import android.content.Context
import android.content.Intent import android.content.Intent
import android.net.Uri import android.net.Uri
import android.os.Bundle import android.os.Bundle
import android.support.constraint.ConstraintLayout import androidx.constraintlayout.widget.ConstraintLayout
import android.support.v4.app.Fragment import androidx.fragment.app.Fragment
import android.view.LayoutInflater import android.view.LayoutInflater
import android.view.View import android.view.View
import android.view.ViewGroup import android.view.ViewGroup
@ -37,7 +37,7 @@ class UnconfirmedTxItemFragment : Fragment() {
override fun onCreate(savedInstanceState: Bundle?) { override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState) super.onCreate(savedInstanceState)
arguments?.let { arguments?.let {
tx = Klaxon().parse(it.getString(ARG_PARAM1)) tx = Klaxon().parse(it.getString(ARG_PARAM1).toString())
param2 = it.getString(ARG_PARAM2) param2 = it.getString(ARG_PARAM2)
} }
} }

4
app/src/main/res/layout/activity_about.xml

@ -7,7 +7,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context="org.myhush.silentdragon.AboutActivity"> tools:context="org.myhush.silentdragon.AboutActivity">
<android.support.constraint.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/scrollView2" android:id="@+id/scrollView2"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -307,5 +307,5 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/CopyrightText" /> app:layout_constraintTop_toBottomOf="@+id/CopyrightText" />
</android.support.constraint.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView> </ScrollView>

10
app/src/main/res/layout/activity_main.xml

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout <androidx.coordinatorlayout.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
@ -7,20 +7,20 @@
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context="org.myhush.silentdragon.MainActivity"> tools:context="org.myhush.silentdragon.MainActivity">
<android.support.design.widget.AppBarLayout <com.google.android.material.appbar.AppBarLayout
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:theme="@style/AppTheme.AppBarOverlay"> android:theme="@style/AppTheme.AppBarOverlay">
<android.support.v7.widget.Toolbar <androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar" android:id="@+id/toolbar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize" android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary" android:background="?attr/colorPrimary"
app:popupTheme="@style/AppTheme.PopupOverlay"/> app:popupTheme="@style/AppTheme.PopupOverlay"/>
</android.support.design.widget.AppBarLayout> </com.google.android.material.appbar.AppBarLayout>
<include layout="@layout/content_main"/> <include layout="@layout/content_main"/>
</android.support.design.widget.CoordinatorLayout> </androidx.coordinatorlayout.widget.CoordinatorLayout>

4
app/src/main/res/layout/activity_qr_reader.xml

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
@ -50,4 +50,4 @@
android:layout_marginEnd="8dp" android:textAlignment="center" android:textColor="@color/colorAccent" android:layout_marginEnd="8dp" android:textAlignment="center" android:textColor="@color/colorAccent"
android:layout_marginBottom="32dp" android:layout_marginBottom="32dp"
app:layout_constraintBottom_toBottomOf="parent"/> app:layout_constraintBottom_toBottomOf="parent"/>
</android.support.constraint.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>

10
app/src/main/res/layout/activity_receive.xml

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout <androidx.coordinatorlayout.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
@ -7,20 +7,20 @@
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context="org.myhush.silentdragon.ReceiveActivity"> tools:context="org.myhush.silentdragon.ReceiveActivity">
<android.support.design.widget.AppBarLayout <com.google.android.material.appbar.AppBarLayout
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:theme="@style/AppTheme.AppBarOverlay"> android:theme="@style/AppTheme.AppBarOverlay">
<android.support.v7.widget.Toolbar <androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar" android:id="@+id/toolbar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize" android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary" android:background="?attr/colorPrimary"
app:popupTheme="@style/AppTheme.PopupOverlay"/> app:popupTheme="@style/AppTheme.PopupOverlay"/>
</android.support.design.widget.AppBarLayout> </com.google.android.material.appbar.AppBarLayout>
<include layout="@layout/content_receive"/> <include layout="@layout/content_receive"/>
</android.support.design.widget.CoordinatorLayout> </androidx.coordinatorlayout.widget.CoordinatorLayout>

10
app/src/main/res/layout/activity_send.xml

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout <androidx.coordinatorlayout.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
@ -7,20 +7,20 @@
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context="org.myhush.silentdragon.SendActivity"> tools:context="org.myhush.silentdragon.SendActivity">
<android.support.design.widget.AppBarLayout <com.google.android.material.appbar.AppBarLayout
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:theme="@style/AppTheme.AppBarOverlay"> android:theme="@style/AppTheme.AppBarOverlay">
<android.support.v7.widget.Toolbar <androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar" android:id="@+id/toolbar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize" android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary" android:background="?attr/colorPrimary"
app:popupTheme="@style/AppTheme.PopupOverlay"/> app:popupTheme="@style/AppTheme.PopupOverlay"/>
</android.support.design.widget.AppBarLayout> </com.google.android.material.appbar.AppBarLayout>
<include layout="@layout/content_send"/> <include layout="@layout/content_send"/>
</android.support.design.widget.CoordinatorLayout> </androidx.coordinatorlayout.widget.CoordinatorLayout>

8
app/src/main/res/layout/activity_settings.xml

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
@ -7,7 +7,7 @@
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context="org.myhush.silentdragon.SettingsActivity"> tools:context="org.myhush.silentdragon.SettingsActivity">
<android.support.constraint.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/scrollView2" android:id="@+id/scrollView2"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
@ -184,5 +184,5 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/lblServerVersion" /> app:layout_constraintTop_toBottomOf="@+id/lblServerVersion" />
</android.support.constraint.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
</android.support.constraint.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>

10
app/src/main/res/layout/activity_tx_details.xml

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout <androidx.coordinatorlayout.widget.CoordinatorLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
@ -7,20 +7,20 @@
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context="org.myhush.silentdragon.TxDetailsActivity"> tools:context="org.myhush.silentdragon.TxDetailsActivity">
<android.support.design.widget.AppBarLayout <com.google.android.material.appbar.AppBarLayout
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_width="match_parent" android:layout_width="match_parent"
android:theme="@style/AppTheme.AppBarOverlay"> android:theme="@style/AppTheme.AppBarOverlay">
<android.support.v7.widget.Toolbar <androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar" android:id="@+id/toolbar"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize" android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary" android:background="?attr/colorPrimary"
app:popupTheme="@style/AppTheme.PopupOverlay"/> app:popupTheme="@style/AppTheme.PopupOverlay"/>
</android.support.design.widget.AppBarLayout> </com.google.android.material.appbar.AppBarLayout>
<include layout="@layout/content_tx_details"/> <include layout="@layout/content_tx_details"/>
</android.support.design.widget.CoordinatorLayout> </androidx.coordinatorlayout.widget.CoordinatorLayout>

14
app/src/main/res/layout/content_main.xml

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
@ -62,7 +62,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@mipmap/ic_launcher_dragon_foreground" /> app:srcCompat="@mipmap/ic_launcher_dragon_foreground" />
<android.support.v4.widget.SwipeRefreshLayout <androidx.swiperefreshlayout.widget.SwipeRefreshLayout
android:id="@+id/swiperefresh" android:id="@+id/swiperefresh"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" android:layout_height="0dp"
@ -87,8 +87,8 @@
android:textSize="18sp" android:padding="16dp"/> android:textSize="18sp" android:padding="16dp"/>
</LinearLayout> </LinearLayout>
</ScrollView> </ScrollView>
</android.support.v4.widget.SwipeRefreshLayout> </androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
<android.support.constraint.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="364dp" app:layout_constraintTop_toBottomOf="@+id/imageView3" android:layout_height="364dp" app:layout_constraintTop_toBottomOf="@+id/imageView3"
android:layout_marginBottom="32dp" app:layout_constraintBottom_toBottomOf="parent" android:layout_marginBottom="32dp" app:layout_constraintBottom_toBottomOf="parent"
@ -144,8 +144,8 @@
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/btnReconnect" /> app:layout_constraintTop_toBottomOf="@+id/btnReconnect" />
</android.support.constraint.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
<android.support.design.widget.BottomNavigationView <com.google.android.material.bottomnavigation.BottomNavigationView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="0dp" app:menu="@menu/menu_nav" android:layout_height="0dp" app:menu="@menu/menu_nav"
android:id="@+id/bottomNav" android:id="@+id/bottomNav"
@ -154,4 +154,4 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintBottom_toBottomOf="parent" /> app:layout_constraintBottom_toBottomOf="parent" />
</android.support.constraint.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>

12
app/src/main/res/layout/content_receive.xml

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
@ -34,21 +34,21 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintEnd_toEndOf="parent"
android:id="@+id/txtRcvAddrTitle" android:layout_marginTop="16dp" android:id="@+id/txtRcvAddrTitle" android:layout_marginTop="16dp"
app:layout_constraintTop_toBottomOf="@+id/imageView" android:textColor="@color/light_grey"/> app:layout_constraintTop_toBottomOf="@+id/imageView" android:textColor="@color/light_grey"/>
<android.support.design.widget.TabLayout <com.google.android.material.tabs.TabLayout
android:layout_width="395dp" android:layout_width="395dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:id="@+id/tabAddressType" android:id="@+id/tabAddressType"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintStart_toStartOf="parent"
android:layout_marginStart="8dp" android:layout_marginEnd="8dp" app:layout_constraintEnd_toEndOf="parent"> android:layout_marginStart="8dp" android:layout_marginEnd="8dp" app:layout_constraintEnd_toEndOf="parent">
<android.support.design.widget.TabItem <com.google.android.material.tabs.TabItem
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="zAddr"/> android:text="zAddr"/>
<android.support.design.widget.TabItem <com.google.android.material.tabs.TabItem
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="tAddr"/> android:text="tAddr"/>
</android.support.design.widget.TabLayout> </com.google.android.material.tabs.TabLayout>
</android.support.constraint.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>

20
app/src/main/res/layout/content_send.xml

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
@ -12,11 +12,11 @@
<ScrollView <ScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<android.support.constraint.ConstraintLayout android:layout_width="match_parent" <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:id="@+id/linearLayout3"> android:orientation="vertical" android:id="@+id/linearLayout3">
<android.support.constraint.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/toLayout" android:id="@+id/toLayout"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -89,9 +89,9 @@
app:layout_constraintBaseline_toBaselineOf="@+id/textView7" app:layout_constraintBaseline_toBaselineOf="@+id/textView7"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
</android.support.constraint.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
<android.support.constraint.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/AmountLayout" android:id="@+id/AmountLayout"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -174,8 +174,8 @@
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
</android.support.constraint.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
<android.support.constraint.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="218dp" android:layout_height="218dp"
android:id="@+id/MemoLayout" android:layout_marginTop="8dp" android:id="@+id/MemoLayout" android:layout_marginTop="8dp"
@ -221,7 +221,7 @@
android:id="@+id/txtMemoSize" android:layout_marginEnd="8dp" android:id="@+id/txtMemoSize" android:layout_marginEnd="8dp"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintBaseline_toBaselineOf="@+id/txtSendMemoTitle"/> app:layout_constraintBaseline_toBaselineOf="@+id/txtSendMemoTitle"/>
</android.support.constraint.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
<Button <Button
android:text="@string/send" android:text="@string/send"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -241,6 +241,6 @@
app:layout_constraintTop_toBottomOf="@+id/MemoLayout" app:layout_constraintTop_toBottomOf="@+id/MemoLayout"
app:layout_constraintStart_toStartOf="parent" android:layout_marginStart="16dp" app:layout_constraintStart_toStartOf="parent" android:layout_marginStart="16dp"
app:layout_constraintEnd_toEndOf="parent" android:layout_marginEnd="16dp"/> app:layout_constraintEnd_toEndOf="parent" android:layout_marginEnd="16dp"/>
</android.support.constraint.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView> </ScrollView>
</android.support.constraint.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>

24
app/src/main/res/layout/content_tx_details.xml

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
@ -11,10 +11,10 @@
<ScrollView <ScrollView
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent"> android:layout_height="match_parent">
<android.support.constraint.ConstraintLayout android:layout_width="match_parent" <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:orientation="vertical" android:id="@+id/linearLayouttxd3"> android:orientation="vertical" android:id="@+id/linearLayouttxd3">
<android.support.constraint.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="60dp" app:layout_constraintTop_toTopOf="parent" android:layout_height="60dp" app:layout_constraintTop_toTopOf="parent"
android:layout_marginTop="16dp" android:id="@+id/constraintLayout" android:layout_marginTop="16dp" android:id="@+id/constraintLayout"
@ -46,9 +46,9 @@
app:layout_constraintStart_toEndOf="@+id/imgTypeColor" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toEndOf="@+id/imgTypeColor" app:layout_constraintEnd_toEndOf="parent"
android:layout_marginEnd="16dp" app:layout_constraintBottom_toBottomOf="parent" android:layout_marginEnd="16dp" app:layout_constraintBottom_toBottomOf="parent"
android:layout_marginBottom="8dp"/> android:layout_marginBottom="8dp"/>
</android.support.constraint.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
<android.support.constraint.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/constraintLayout2" android:id="@+id/constraintLayout2"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -88,8 +88,8 @@
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView5" /> app:layout_constraintTop_toBottomOf="@+id/textView5" />
</android.support.constraint.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
<android.support.constraint.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:id="@+id/layoutAmount" android:layout_height="wrap_content" android:id="@+id/layoutAmount"
app:layout_constraintTop_toBottomOf="@+id/constraintLayout2" android:layout_marginBottom="8dp" app:layout_constraintTop_toBottomOf="@+id/constraintLayout2" android:layout_marginBottom="8dp"
@ -130,9 +130,9 @@
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
android:layout_marginEnd="8dp" android:textSize="18sp" android:textAlignment="textEnd" android:layout_marginEnd="8dp" android:textSize="18sp" android:textAlignment="textEnd"
app:layout_constraintBottom_toBottomOf="parent" android:layout_marginBottom="16dp"/> app:layout_constraintBottom_toBottomOf="parent" android:layout_marginBottom="16dp"/>
</android.support.constraint.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
<android.support.constraint.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/layoutMemo" android:id="@+id/layoutMemo"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -176,7 +176,7 @@
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView14" /> app:layout_constraintTop_toBottomOf="@+id/textView14" />
</android.support.constraint.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
<Button <Button
android:text="@string/view_on_block_explorer" android:text="@string/view_on_block_explorer"
android:layout_width="wrap_content" android:layout_width="wrap_content"
@ -189,6 +189,6 @@
android:layout_marginEnd="8dp" app:layout_constraintVertical_bias="0.0" android:layout_marginEnd="8dp" app:layout_constraintVertical_bias="0.0"
android:background="@color/colorAccent" android:textColor="@android:color/white" android:background="@color/colorAccent" android:textColor="@android:color/white"
android:paddingLeft="10dp" android:paddingRight="10dp"/> android:paddingLeft="10dp" android:paddingRight="10dp"/>
</android.support.constraint.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
</ScrollView> </ScrollView>
</android.support.constraint.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>

4
app/src/main/res/layout/fragment_transaction_item.xml

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/outlineLayout" android:id="@+id/outlineLayout"
@ -54,4 +54,4 @@
app:layout_constraintStart_toEndOf="@+id/txdate" app:layout_constraintStart_toEndOf="@+id/txdate"
app:layout_constraintTop_toTopOf="parent" /> app:layout_constraintTop_toTopOf="parent" />
</android.support.constraint.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>

8
app/src/main/res/layout/fragment_unconfirmed_tx_item.xml

@ -1,12 +1,12 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android" <androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context="org.myhush.silentdragon.UnconfirmedTxItemFragment" android:id="@+id/frameLayout"> tools:context="org.myhush.silentdragon.UnconfirmedTxItemFragment" android:id="@+id/frameLayout">
<android.support.constraint.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/layoutUnconfirmedItem" android:id="@+id/layoutUnconfirmedItem"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
@ -54,5 +54,5 @@
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="@+id/txtUnconfirmedTx" app:layout_constraintLeft_toLeftOf="@+id/txtUnconfirmedTx"
app:layout_constraintTop_toBottomOf="@+id/txtUnconfirmedTx" /> app:layout_constraintTop_toBottomOf="@+id/txtUnconfirmedTx" />
</android.support.constraint.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
</android.support.constraint.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>

2
app/src/main/res/values-ja/strings.xml

@ -2,7 +2,7 @@
<resources> <resources>
<!-- Japanese --> <!-- Japanese -->
<!-- general --> <!-- general -->
<string name="is_not_a_valid_connection_string">%1$は有効な接続文字列ではありません!</string> <string name="is_not_a_valid_connection_string">%1$sは有効な接続文字列ではありません!</string>
<string name="valid_address">有効なアドレス</string> <string name="valid_address">有効なアドレス</string>
<string name="balance">残高</string> <string name="balance">残高</string>
<string name="scan_qr_code">QRコードをスキャン</string> <string name="scan_qr_code">QRコードをスキャン</string>

2
build.gradle

@ -7,7 +7,7 @@ buildscript {
jcenter() jcenter()
} }
dependencies { dependencies {
classpath 'com.android.tools.build:gradle:3.5.3' classpath 'com.android.tools.build:gradle:3.6.0'
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
// NOTE: Do not place your application dependencies here; they belong // NOTE: Do not place your application dependencies here; they belong

2
gradle.properties

@ -13,3 +13,5 @@ org.gradle.jvmargs=-Xmx1536m
# org.gradle.parallel=true # org.gradle.parallel=true
# Kotlin code style for this project: "official" or "obsolete": # Kotlin code style for this project: "official" or "obsolete":
kotlin.code.style=official kotlin.code.style=official
android.useAndroidX=true
android.enableJetifier=true

4
gradle/wrapper/gradle-wrapper.properties

@ -1,6 +1,6 @@
#Wed Aug 28 16:05:17 MDT 2019 #Sat Feb 29 17:16:24 EET 2020
distributionBase=PROJECT distributionBase=PROJECT
distributionPath=.gradle/wrapper/dists distributionPath=.gradle/wrapper/dists
zipStoreBase=GRADLE_USER_HOME zipStoreBase=GRADLE_USER_HOME
zipStorePath=wrapper/dists zipStorePath=wrapper/dists
distributionUrl=https\://services.gradle.org/distributions/gradle-5.5.1-all.zip distributionUrl=https\://services.gradle.org/distributions/gradle-5.6.4-all.zip

Loading…
Cancel
Save