mirror of
https://github.com/SimpleMobileTools/Simple-Notes.git
synced 2025-03-22 03:20:16 +01:00
updating commons
This commit is contained in:
parent
f108747221
commit
0c53b0b5fd
@ -63,7 +63,7 @@ android {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'com.github.SimpleMobileTools:Simple-Commons:d41abd229b'
|
implementation 'com.github.SimpleMobileTools:Simple-Commons:58574dd952'
|
||||||
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
implementation 'androidx.constraintlayout:constraintlayout:2.1.4'
|
||||||
implementation 'androidx.documentfile:documentfile:1.0.1'
|
implementation 'androidx.documentfile:documentfile:1.0.1'
|
||||||
|
|
||||||
|
@ -90,7 +90,7 @@ class MainActivity : SimpleActivity() {
|
|||||||
setupOptionsMenu()
|
setupOptionsMenu()
|
||||||
refreshMenuItems()
|
refreshMenuItems()
|
||||||
|
|
||||||
updateMaterialActivityViews(main_coordinator, null, false)
|
updateMaterialActivityViews(main_coordinator, null, useTransparentNavigation = false, useTopSearchMenu = false)
|
||||||
|
|
||||||
searchQueryET = findViewById(R.id.search_query)
|
searchQueryET = findViewById(R.id.search_query)
|
||||||
searchPrevBtn = findViewById(R.id.search_previous)
|
searchPrevBtn = findViewById(R.id.search_previous)
|
||||||
@ -548,7 +548,7 @@ class MainActivity : SimpleActivity() {
|
|||||||
private fun openSearch() {
|
private fun openSearch() {
|
||||||
isSearchActive = true
|
isSearchActive = true
|
||||||
search_wrapper.fadeIn()
|
search_wrapper.fadeIn()
|
||||||
animateTopBarColors(window.statusBarColor, getProperStatusBarColor(), main_toolbar)
|
animateTopBarColors(window.statusBarColor, getProperStatusBarColor())
|
||||||
showKeyboard(searchQueryET)
|
showKeyboard(searchQueryET)
|
||||||
|
|
||||||
currentNotesView()?.let { noteView ->
|
currentNotesView()?.let { noteView ->
|
||||||
@ -565,7 +565,7 @@ class MainActivity : SimpleActivity() {
|
|||||||
searchQueryET.text?.clear()
|
searchQueryET.text?.clear()
|
||||||
isSearchActive = false
|
isSearchActive = false
|
||||||
search_wrapper.fadeOut()
|
search_wrapper.fadeOut()
|
||||||
animateTopBarColors(window.statusBarColor, getProperBackgroundColor(), main_toolbar)
|
animateTopBarColors(window.statusBarColor, getProperBackgroundColor())
|
||||||
}
|
}
|
||||||
|
|
||||||
private fun getWantedNoteIndex(wantedNoteId: Long?): Int {
|
private fun getWantedNoteIndex(wantedNoteId: Long?): Int {
|
||||||
|
@ -26,7 +26,7 @@ class SettingsActivity : SimpleActivity() {
|
|||||||
super.onCreate(savedInstanceState)
|
super.onCreate(savedInstanceState)
|
||||||
setContentView(R.layout.activity_settings)
|
setContentView(R.layout.activity_settings)
|
||||||
|
|
||||||
updateMaterialActivityViews(settings_coordinator, settings_holder, true)
|
updateMaterialActivityViews(settings_coordinator, settings_holder, useTransparentNavigation = true, useTopSearchMenu = false)
|
||||||
setupMaterialScrollListener(settings_nested_scrollview, settings_toolbar)
|
setupMaterialScrollListener(settings_nested_scrollview, settings_toolbar)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user