Move from java/ to kotlin/ directory

Android 12 dynamic color usage on login screen
This commit is contained in:
2021-08-31 02:18:29 +03:00
parent 2453e534ae
commit 1209c37e24
135 changed files with 140 additions and 57 deletions
+6 -2
View File
@@ -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>
@@ -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,4 +1,4 @@
package com.meloda.fast.fragment.friends
package com.meloda.fast.screens.friends
import android.os.Bundle
import android.view.View
@@ -1,4 +1,4 @@
package com.meloda.fast.fragment.important
package com.meloda.fast.screens.important
import android.os.Bundle
import android.view.View
@@ -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,4 +1,4 @@
package com.meloda.fast.fragment.login
package com.meloda.fast.screens.login
import android.os.Bundle
import android.util.Log
@@ -1,4 +1,4 @@
package com.meloda.fast.fragment.login
package com.meloda.fast.screens.login
import android.graphics.Bitmap
import android.os.Bundle

Some files were not shown because too many files have changed in this diff Show More