Move from java/ to kotlin/ directory
Android 12 dynamic color usage on login screen
This commit is contained in:
@@ -8,13 +8,13 @@ plugins {
|
||||
}
|
||||
|
||||
android {
|
||||
compileSdk = 30
|
||||
buildToolsVersion = "30.0.3"
|
||||
compileSdk = 31
|
||||
buildToolsVersion = "31.0.0"
|
||||
|
||||
defaultConfig {
|
||||
applicationId = "com.meloda.fast"
|
||||
minSdk = 23
|
||||
targetSdk = 30
|
||||
targetSdk = 31
|
||||
versionCode = 1
|
||||
versionName = "1.0"
|
||||
|
||||
@@ -65,7 +65,7 @@ kapt {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.21")
|
||||
implementation("org.jetbrains.kotlin:kotlin-stdlib-jdk7:1.5.30")
|
||||
|
||||
coreLibraryDesugaring("com.android.tools:desugar_jdk_libs:1.1.5")
|
||||
|
||||
@@ -98,16 +98,16 @@ dependencies {
|
||||
implementation("com.squareup.retrofit2:retrofit:2.9.0")
|
||||
implementation("com.squareup.retrofit2:converter-gson:2.9.0")
|
||||
|
||||
implementation("com.google.dagger:hilt-android:2.37")
|
||||
kapt("com.google.dagger:hilt-android-compiler:2.37")
|
||||
implementation("com.google.dagger:hilt-android:2.38.1")
|
||||
kapt("com.google.dagger:hilt-android-compiler:2.38.1")
|
||||
implementation("androidx.hilt:hilt-navigation-fragment:1.0.0")
|
||||
|
||||
implementation("com.github.yogacp:android-viewbinding:1.0.2")
|
||||
|
||||
implementation("io.coil-kt:coil:1.3.0")
|
||||
implementation("io.coil-kt:coil:1.3.2")
|
||||
|
||||
implementation("com.google.code.gson:gson:2.8.7")
|
||||
implementation("org.jsoup:jsoup:1.14.1")
|
||||
implementation("com.google.code.gson:gson:2.8.8")
|
||||
implementation("org.jsoup:jsoup:1.14.2")
|
||||
implementation("ch.acra:acra:4.11.1")
|
||||
|
||||
}
|
||||
@@ -1,5 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
package="com.meloda.fast">
|
||||
|
||||
<uses-permission android:name="android.permission.INTERNET" />
|
||||
@@ -7,15 +8,17 @@
|
||||
|
||||
<application
|
||||
android:name=".common.AppGlobal"
|
||||
android:allowBackup="true"
|
||||
android:allowBackup="false"
|
||||
android:icon="@mipmap/ic_launcher"
|
||||
android:label="@string/app_name"
|
||||
android:roundIcon="@mipmap/ic_launcher_round"
|
||||
android:supportsRtl="true"
|
||||
android:testOnly="false"
|
||||
android:theme="@style/AppTheme">
|
||||
|
||||
<activity
|
||||
android:name=".activity.MainActivity"
|
||||
android:exported="true"
|
||||
android:windowSoftInputMode="adjustResize">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.action.MAIN" />
|
||||
@@ -30,7 +33,8 @@
|
||||
|
||||
<receiver
|
||||
android:name=".receiver.MinuteReceiver"
|
||||
android:enabled="true">
|
||||
android:enabled="true"
|
||||
android:exported="false">
|
||||
<intent-filter>
|
||||
<action android:name="android.intent.ACTION_TIME_CHANGED" />
|
||||
</intent-filter>
|
||||
|
||||
-1
@@ -3,7 +3,6 @@ package com.meloda.fast.extensions
|
||||
import android.content.Intent
|
||||
import android.util.SparseArray
|
||||
import androidx.core.util.forEach
|
||||
import androidx.core.util.set
|
||||
import androidx.fragment.app.Fragment
|
||||
import androidx.fragment.app.FragmentManager
|
||||
import androidx.lifecycle.LiveData
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.meloda.fast.fragment.friends
|
||||
package com.meloda.fast.screens.friends
|
||||
|
||||
import android.os.Bundle
|
||||
import android.view.View
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.meloda.fast.fragment.important
|
||||
package com.meloda.fast.screens.important
|
||||
|
||||
import android.os.Bundle
|
||||
import android.view.View
|
||||
+4
-2
@@ -1,6 +1,7 @@
|
||||
package com.meloda.fast.fragment.login
|
||||
package com.meloda.fast.screens.login
|
||||
|
||||
import android.annotation.SuppressLint
|
||||
import android.graphics.Typeface
|
||||
import android.os.Bundle
|
||||
import android.view.KeyEvent
|
||||
import android.view.View
|
||||
@@ -26,7 +27,7 @@ import com.meloda.fast.base.viewmodel.StopProgressEvent
|
||||
import com.meloda.fast.base.viewmodel.VKEvent
|
||||
import com.meloda.fast.databinding.DialogCaptchaBinding
|
||||
import com.meloda.fast.databinding.FragmentLoginBinding
|
||||
import com.meloda.fast.fragment.main.MainFragment
|
||||
import com.meloda.fast.screens.main.MainFragment
|
||||
import com.meloda.fast.util.KeyboardUtils
|
||||
import dagger.hilt.android.AndroidEntryPoint
|
||||
import kotlinx.coroutines.Dispatchers
|
||||
@@ -123,6 +124,7 @@ class LoginFragment : BaseVMFragment<LoginVM>(R.layout.fragment_login) {
|
||||
}
|
||||
|
||||
private fun preparePasswordEditText() {
|
||||
binding.passwordInput.typeface = Typeface.DEFAULT
|
||||
binding.passwordLayout.endIconMode = TextInputLayout.END_ICON_NONE
|
||||
|
||||
binding.passwordInput.addTextChangedListener {
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
package com.meloda.fast.fragment.login
|
||||
package com.meloda.fast.screens.login
|
||||
|
||||
import android.os.Bundle
|
||||
import android.util.Log
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user