diff --git a/app/src/main/java/com/sdex/activityrunner/MainActivity.kt b/app/src/main/java/com/sdex/activityrunner/MainActivity.kt
index 517ca4a7..2cfbd4ad 100644
--- a/app/src/main/java/com/sdex/activityrunner/MainActivity.kt
+++ b/app/src/main/java/com/sdex/activityrunner/MainActivity.kt
@@ -17,6 +17,7 @@ import com.sdex.activityrunner.app.ActivitiesListActivity
import com.sdex.activityrunner.app.ApplicationsListAdapter
import com.sdex.activityrunner.app.MainViewModel
import com.sdex.activityrunner.app.dialog.ApplicationOptionsDialog
+import com.sdex.activityrunner.app.dialog.FilterBottomSheetDialogFragment
import com.sdex.activityrunner.commons.BaseActivity
import com.sdex.activityrunner.databinding.ActivityMainBinding
import com.sdex.activityrunner.db.cache.ApplicationModel
@@ -51,6 +52,13 @@ class MainActivity : BaseActivity() {
override fun onMenuItemSelected(menuItem: MenuItem): Boolean {
return when (menuItem.itemId) {
+ R.id.action_filter -> {
+ FilterBottomSheetDialogFragment().show(
+ supportFragmentManager,
+ FilterBottomSheetDialogFragment.TAG
+ )
+ true
+ }
R.id.action_launch_intent -> {
IntentBuilderActivity.start(this@MainActivity, null)
true
@@ -91,6 +99,9 @@ class MainActivity : BaseActivity() {
if (it.isNotEmpty()) {
binding.progress.hide()
}
+ if (supportFragmentManager.findFragmentByTag(FilterBottomSheetDialogFragment.TAG) != null) {
+ binding.list.scrollToPosition(0)
+ }
}
}
@@ -108,8 +119,11 @@ class MainActivity : BaseActivity() {
}
}
- override fun onStart() {
- super.onStart()
+ fun refresh() {
+ viewModel.search(viewModel.searchQuery.value)
+ }
+
+ fun update() {
adapter.update()
}
diff --git a/app/src/main/java/com/sdex/activityrunner/app/dialog/FilterBottomSheetDialogFragment.kt b/app/src/main/java/com/sdex/activityrunner/app/dialog/FilterBottomSheetDialogFragment.kt
new file mode 100644
index 00000000..8440e51e
--- /dev/null
+++ b/app/src/main/java/com/sdex/activityrunner/app/dialog/FilterBottomSheetDialogFragment.kt
@@ -0,0 +1,118 @@
+package com.sdex.activityrunner.app.dialog
+
+import android.os.Bundle
+import android.view.LayoutInflater
+import android.view.View
+import android.view.ViewGroup
+import com.google.android.material.bottomsheet.BottomSheetDialogFragment
+import com.sdex.activityrunner.MainActivity
+import com.sdex.activityrunner.databinding.DialogFilterBinding
+import com.sdex.activityrunner.db.cache.ApplicationModel
+import com.sdex.activityrunner.db.cache.query.GetApplicationsQuery
+import com.sdex.activityrunner.preferences.AppPreferences
+import dagger.hilt.android.AndroidEntryPoint
+import javax.inject.Inject
+
+@AndroidEntryPoint
+class FilterBottomSheetDialogFragment : BottomSheetDialogFragment() {
+
+ @Inject
+ lateinit var appPreferences: AppPreferences
+ private var _binding: DialogFilterBinding? = null
+ private val binding get() = _binding!!
+
+ override fun onCreateView(
+ inflater: LayoutInflater, container: ViewGroup?,
+ savedInstanceState: Bundle?
+ ): View {
+ _binding = DialogFilterBinding.inflate(inflater, container, false)
+ return binding.root
+ }
+
+ override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
+ super.onViewCreated(view, savedInstanceState)
+
+ when (appPreferences.sortBy) {
+ ApplicationModel.NAME -> binding.sortByName.isChecked = true
+ ApplicationModel.UPDATE_TIME -> binding.sortByUpdateTime.isChecked = true
+ ApplicationModel.INSTALL_TIME -> binding.sortByInstallTime.isChecked = true
+ }
+ when (appPreferences.sortOrder) {
+ GetApplicationsQuery.ASC -> binding.orderByAsc.isChecked = true
+ GetApplicationsQuery.DESC -> binding.orderByDesc.isChecked = true
+ }
+ binding.showSystemApps.isChecked = appPreferences.isShowSystemApps
+ binding.showSystemAppIndicator.isEnabled = appPreferences.isShowSystemApps
+ binding.showSystemAppIndicator.isChecked = appPreferences.isShowSystemAppIndicator
+ binding.showDisabledApps.isChecked = appPreferences.isShowDisabledApps
+ binding.showDisabledAppIndicator.isEnabled = appPreferences.isShowDisabledApps
+ binding.showDisabledAppIndicator.isChecked = appPreferences.isShowDisabledAppIndicator
+
+ binding.sortByName.setOnCheckedChangeListener { _, isChecked ->
+ if (isChecked) {
+ appPreferences.sortBy = ApplicationModel.NAME
+ refresh()
+ }
+ }
+ binding.sortByUpdateTime.setOnCheckedChangeListener { _, isChecked ->
+ if (isChecked) {
+ appPreferences.sortBy = ApplicationModel.UPDATE_TIME
+ refresh()
+ }
+ }
+ binding.sortByInstallTime.setOnCheckedChangeListener { _, isChecked ->
+ if (isChecked) {
+ appPreferences.sortBy = ApplicationModel.INSTALL_TIME
+ refresh()
+ }
+ }
+ binding.orderByAsc.setOnCheckedChangeListener { _, isChecked ->
+ if (isChecked) {
+ appPreferences.sortOrder = GetApplicationsQuery.ASC
+ refresh()
+ }
+ }
+ binding.orderByDesc.setOnCheckedChangeListener { _, isChecked ->
+ if (isChecked) {
+ appPreferences.sortOrder = GetApplicationsQuery.DESC
+ refresh()
+ }
+ }
+ binding.showSystemApps.setOnCheckedChangeListener { _, isChecked ->
+ appPreferences.isShowSystemApps = isChecked
+ binding.showSystemAppIndicator.isEnabled = isChecked
+ refresh()
+ }
+ binding.showSystemAppIndicator.setOnCheckedChangeListener { _, isChecked ->
+ appPreferences.isShowSystemAppIndicator = isChecked
+ update()
+ }
+ binding.showDisabledApps.setOnCheckedChangeListener { _, isChecked ->
+ appPreferences.isShowDisabledApps = isChecked
+ binding.showDisabledAppIndicator.isEnabled = isChecked
+ refresh()
+ }
+ binding.showDisabledAppIndicator.setOnCheckedChangeListener { _, isChecked ->
+ appPreferences.isShowDisabledAppIndicator = isChecked
+ update()
+ }
+ }
+
+ private fun refresh() {
+ (activity as MainActivity?)?.refresh()
+ }
+
+ private fun update() {
+ (activity as MainActivity?)?.update()
+ }
+
+ override fun onDestroyView() {
+ super.onDestroyView()
+ _binding = null
+ }
+
+ companion object {
+
+ const val TAG = "FilterBottomSheetDialogFragment"
+ }
+}
diff --git a/app/src/main/java/com/sdex/activityrunner/db/cache/query/GetApplicationsQuery.kt b/app/src/main/java/com/sdex/activityrunner/db/cache/query/GetApplicationsQuery.kt
index 8c1765c8..8f8a0907 100644
--- a/app/src/main/java/com/sdex/activityrunner/db/cache/query/GetApplicationsQuery.kt
+++ b/app/src/main/java/com/sdex/activityrunner/db/cache/query/GetApplicationsQuery.kt
@@ -9,8 +9,6 @@ class GetApplicationsQuery(
private val searchText: String? = null,
) {
- private val sortBy = ApplicationModel.NAME
- private val sortOrder = "ASC"
private val sortCaseSensitive = "COLLATE NOCASE"
val sqLiteQuery get() = SimpleSQLiteQuery(toString())
@@ -40,8 +38,18 @@ class GetApplicationsQuery(
.append(" LIKE '%").append(escapedSearchText).append("%'")
.append(") ")
}
- queryStringBuilder.append("ORDER BY ").append(sortBy).append(" ")
- .append(sortCaseSensitive).append(" ").append(sortOrder)
+ queryStringBuilder.append("ORDER BY ").append(getSortBy()).append(" ")
+ .append(sortCaseSensitive).append(" ").append(getSortOrder())
return queryStringBuilder.toString()
}
+
+ private fun getSortBy(): String = appPreferences.sortBy
+
+ private fun getSortOrder(): String = appPreferences.sortOrder
+
+ companion object {
+
+ const val ASC = "ASC"
+ const val DESC = "DESC"
+ }
}
diff --git a/app/src/main/java/com/sdex/activityrunner/preferences/AppPreferences.kt b/app/src/main/java/com/sdex/activityrunner/preferences/AppPreferences.kt
index 3e5290be..ad5f13b5 100644
--- a/app/src/main/java/com/sdex/activityrunner/preferences/AppPreferences.kt
+++ b/app/src/main/java/com/sdex/activityrunner/preferences/AppPreferences.kt
@@ -4,6 +4,8 @@ import android.content.Context
import androidx.appcompat.app.AppCompatDelegate
import androidx.core.content.edit
import androidx.preference.PreferenceManager
+import com.sdex.activityrunner.db.cache.ApplicationModel
+import com.sdex.activityrunner.db.cache.query.GetApplicationsQuery
class AppPreferences(context: Context) {
@@ -12,16 +14,11 @@ class AppPreferences(context: Context) {
var isNotExportedDialogShown: Boolean
get() = preferences.getBoolean(KEY_NOT_EXPORTED_DIALOG_SHOWN, false)
- set(value) = preferences.edit()
- .putBoolean(KEY_NOT_EXPORTED_DIALOG_SHOWN, value)
- .apply()
+ set(value) = preferences.edit {
+ putBoolean(KEY_NOT_EXPORTED_DIALOG_SHOWN, value)
+ }
val appOpenCounter: Int
get() = preferences.getInt(KEY_OPEN_APP_COUNTER, 0)
- var showLineNumbers: Boolean
- get() = preferences.getBoolean(KEY_SHOW_LINE_NUMBERS, true)
- set(value) = preferences.edit()
- .putBoolean(KEY_SHOW_LINE_NUMBERS, value)
- .apply()
fun onAppOpened() {
preferences.edit {
@@ -31,24 +28,50 @@ class AppPreferences(context: Context) {
/* user preferences */
- val isShowSystemApps: Boolean
+ var isShowSystemApps: Boolean
get() = userPreferences.getBoolean(KEY_SHOW_SYSTEM_APPS, true)
+ set(value) {
+ userPreferences.edit {
+ putBoolean(KEY_SHOW_SYSTEM_APPS, value)
+ }
+ }
- val isShowSystemAppIndicator: Boolean
+ var isShowSystemAppIndicator: Boolean
get() = userPreferences.getBoolean(KEY_SHOW_SYSTEM_APP_LABEL, false)
+ set(value) {
+ userPreferences.edit {
+ putBoolean(KEY_SHOW_SYSTEM_APP_LABEL, value)
+ }
+ }
- val isShowDisabledApps: Boolean
+ var isShowDisabledApps: Boolean
get() = userPreferences.getBoolean(KEY_SHOW_DISABLED_APPS, true)
+ set(value) {
+ userPreferences.edit {
+ putBoolean(KEY_SHOW_DISABLED_APPS, value)
+ }
+ }
- val isShowDisabledAppIndicator: Boolean
+ var isShowDisabledAppIndicator: Boolean
get() = userPreferences.getBoolean(KEY_SHOW_DISABLED_APP_LABEL, false)
+ set(value) {
+ userPreferences.edit {
+ putBoolean(KEY_SHOW_DISABLED_APP_LABEL, value)
+ }
+ }
var showNotExported: Boolean
get() = userPreferences.getBoolean(KEY_SHOW_NOT_EXPORTED, false)
set(value) {
- userPreferences.edit()
- .putBoolean(KEY_SHOW_NOT_EXPORTED, value)
- .apply()
+ userPreferences.edit {
+ putBoolean(KEY_SHOW_NOT_EXPORTED, value)
+ }
+ }
+
+ var showLineNumbers: Boolean
+ get() = preferences.getBoolean(KEY_SHOW_LINE_NUMBERS, true)
+ set(value) = preferences.edit {
+ putBoolean(KEY_SHOW_LINE_NUMBERS, value)
}
@AppCompatDelegate.NightMode
@@ -56,6 +79,22 @@ class AppPreferences(context: Context) {
get() = userPreferences.getString(KEY_THEME, null)?.toInt()
?: AppCompatDelegate.MODE_NIGHT_FOLLOW_SYSTEM
+ var sortBy: String
+ get() = userPreferences.getString(KEY_SORT_BY, ApplicationModel.NAME)!!
+ set(value) {
+ userPreferences.edit {
+ putString(KEY_SORT_BY, value)
+ }
+ }
+
+ var sortOrder: String
+ get() = userPreferences.getString(KEY_ORDER_BY, GetApplicationsQuery.ASC)!!
+ set(value) {
+ userPreferences.edit {
+ putString(KEY_ORDER_BY, value)
+ }
+ }
+
companion object {
private const val PREFERENCES_NAME = "ads_preferences"
@@ -69,5 +108,8 @@ class AppPreferences(context: Context) {
const val KEY_SHOW_DISABLED_APPS = "show_disabled_apps"
private const val KEY_SHOW_DISABLED_APP_LABEL = "advanced_disabled_app"
const val KEY_THEME = "appearance_theme"
+
+ const val KEY_SORT_BY = "sort_by"
+ const val KEY_ORDER_BY = "order_by"
}
}
diff --git a/app/src/main/res/drawable/background_bottom_dialog.xml b/app/src/main/res/drawable/background_bottom_dialog.xml
deleted file mode 100644
index 9576e58f..00000000
--- a/app/src/main/res/drawable/background_bottom_dialog.xml
+++ /dev/null
@@ -1,9 +0,0 @@
-
-
-
-
-
-
diff --git a/app/src/main/res/drawable/ic_filter.xml b/app/src/main/res/drawable/ic_filter.xml
new file mode 100644
index 00000000..ac6b9761
--- /dev/null
+++ b/app/src/main/res/drawable/ic_filter.xml
@@ -0,0 +1,10 @@
+
+
+
diff --git a/app/src/main/res/layout/dialog_activity_menu.xml b/app/src/main/res/layout/dialog_activity_menu.xml
index 028c4b24..d3cc2487 100644
--- a/app/src/main/res/layout/dialog_activity_menu.xml
+++ b/app/src/main/res/layout/dialog_activity_menu.xml
@@ -4,7 +4,6 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:background="@drawable/background_bottom_dialog"
android:orientation="vertical">
+ tools:text="Activity name" />
@@ -27,8 +26,7 @@
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="1"
- android:paddingTop="16dp"
- android:paddingBottom="16dp"
+ android:paddingVertical="24dp"
android:textAppearance="?attr/textAppearanceTitleMedium"
android:textColor="@color/blue_light"
tools:text="Application name" />
@@ -45,6 +43,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/selectableItemBackground"
+ android:gravity="center_vertical"
android:orientation="horizontal">
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/app/src/main/res/menu/main.xml b/app/src/main/res/menu/main.xml
index 99f7ad4c..3f062c6c 100644
--- a/app/src/main/res/menu/main.xml
+++ b/app/src/main/res/menu/main.xml
@@ -9,6 +9,12 @@
app:actionViewClass="androidx.appcompat.widget.SearchView"
app:showAsAction="ifRoom|collapseActionView" />
+
+
- Appearance
Theme
Advanced
- Show system apps
- Show disabled apps
- Show system app indicator
- Show disabled app indicator
Show not exported activities
Can be run only using Root
@@ -123,4 +119,15 @@
Line numbers
Search
Find keyword
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-da-rDK/strings.xml b/app/src/main/res/values-da-rDK/strings.xml
index d0ec521f..7ffa0170 100644
--- a/app/src/main/res/values-da-rDK/strings.xml
+++ b/app/src/main/res/values-da-rDK/strings.xml
@@ -94,10 +94,6 @@
Appearance
Theme
Advanced
- Show system apps
- Show disabled apps
- Show system app indicator
- Show disabled app indicator
Show not exported activities
Can be run only using Root
@@ -119,4 +115,15 @@
Line numbers
Search
Find keyword
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-de-rDE/strings.xml b/app/src/main/res/values-de-rDE/strings.xml
index d0ec521f..7ffa0170 100644
--- a/app/src/main/res/values-de-rDE/strings.xml
+++ b/app/src/main/res/values-de-rDE/strings.xml
@@ -94,10 +94,6 @@
Appearance
Theme
Advanced
- Show system apps
- Show disabled apps
- Show system app indicator
- Show disabled app indicator
Show not exported activities
Can be run only using Root
@@ -119,4 +115,15 @@
Line numbers
Search
Find keyword
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-el-rGR/strings.xml b/app/src/main/res/values-el-rGR/strings.xml
index d0ec521f..7ffa0170 100644
--- a/app/src/main/res/values-el-rGR/strings.xml
+++ b/app/src/main/res/values-el-rGR/strings.xml
@@ -94,10 +94,6 @@
Appearance
Theme
Advanced
- Show system apps
- Show disabled apps
- Show system app indicator
- Show disabled app indicator
Show not exported activities
Can be run only using Root
@@ -119,4 +115,15 @@
Line numbers
Search
Find keyword
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-es-rES/strings.xml b/app/src/main/res/values-es-rES/strings.xml
index 48a89adf..1dbd0af8 100644
--- a/app/src/main/res/values-es-rES/strings.xml
+++ b/app/src/main/res/values-es-rES/strings.xml
@@ -94,10 +94,6 @@
Apariencia
Tema
Avanzado
- Mostrar apps del sistema
- Mostrar aplicaciones desactivadas
- Mostrar indicador de aplicación del sistema
- Mostrar indicador de aplicación desactivada
Mostrar actividades no exportadas
Se puede ejecutar sólo usando ROOT
@@ -119,4 +115,15 @@
Números de línea
Buscar
Buscar palabra clave
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-et-rEE/strings.xml b/app/src/main/res/values-et-rEE/strings.xml
index d0ec521f..7ffa0170 100644
--- a/app/src/main/res/values-et-rEE/strings.xml
+++ b/app/src/main/res/values-et-rEE/strings.xml
@@ -94,10 +94,6 @@
Appearance
Theme
Advanced
- Show system apps
- Show disabled apps
- Show system app indicator
- Show disabled app indicator
Show not exported activities
Can be run only using Root
@@ -119,4 +115,15 @@
Line numbers
Search
Find keyword
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-fi-rFI/strings.xml b/app/src/main/res/values-fi-rFI/strings.xml
index d0ec521f..7ffa0170 100644
--- a/app/src/main/res/values-fi-rFI/strings.xml
+++ b/app/src/main/res/values-fi-rFI/strings.xml
@@ -94,10 +94,6 @@
Appearance
Theme
Advanced
- Show system apps
- Show disabled apps
- Show system app indicator
- Show disabled app indicator
Show not exported activities
Can be run only using Root
@@ -119,4 +115,15 @@
Line numbers
Search
Find keyword
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-fr-rFR/strings.xml b/app/src/main/res/values-fr-rFR/strings.xml
index d0ec521f..7ffa0170 100644
--- a/app/src/main/res/values-fr-rFR/strings.xml
+++ b/app/src/main/res/values-fr-rFR/strings.xml
@@ -94,10 +94,6 @@
Appearance
Theme
Advanced
- Show system apps
- Show disabled apps
- Show system app indicator
- Show disabled app indicator
Show not exported activities
Can be run only using Root
@@ -119,4 +115,15 @@
Line numbers
Search
Find keyword
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-it-rIT/strings.xml b/app/src/main/res/values-it-rIT/strings.xml
index d0ec521f..7ffa0170 100644
--- a/app/src/main/res/values-it-rIT/strings.xml
+++ b/app/src/main/res/values-it-rIT/strings.xml
@@ -94,10 +94,6 @@
Appearance
Theme
Advanced
- Show system apps
- Show disabled apps
- Show system app indicator
- Show disabled app indicator
Show not exported activities
Can be run only using Root
@@ -119,4 +115,15 @@
Line numbers
Search
Find keyword
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-ja-rJP/strings.xml b/app/src/main/res/values-ja-rJP/strings.xml
index e1c84131..29cc81d9 100644
--- a/app/src/main/res/values-ja-rJP/strings.xml
+++ b/app/src/main/res/values-ja-rJP/strings.xml
@@ -94,10 +94,6 @@
Appearance
Theme
Advanced
- Show system apps
- Show disabled apps
- Show system app indicator
- Show disabled app indicator
Show not exported activities
Can be run only using Root
@@ -117,4 +113,15 @@
Line numbers
Search
Find keyword
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-ka-rGE/strings.xml b/app/src/main/res/values-ka-rGE/strings.xml
index d0ec521f..7ffa0170 100644
--- a/app/src/main/res/values-ka-rGE/strings.xml
+++ b/app/src/main/res/values-ka-rGE/strings.xml
@@ -94,10 +94,6 @@
Appearance
Theme
Advanced
- Show system apps
- Show disabled apps
- Show system app indicator
- Show disabled app indicator
Show not exported activities
Can be run only using Root
@@ -119,4 +115,15 @@
Line numbers
Search
Find keyword
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-kk-rKZ/strings.xml b/app/src/main/res/values-kk-rKZ/strings.xml
index d0ec521f..7ffa0170 100644
--- a/app/src/main/res/values-kk-rKZ/strings.xml
+++ b/app/src/main/res/values-kk-rKZ/strings.xml
@@ -94,10 +94,6 @@
Appearance
Theme
Advanced
- Show system apps
- Show disabled apps
- Show system app indicator
- Show disabled app indicator
Show not exported activities
Can be run only using Root
@@ -119,4 +115,15 @@
Line numbers
Search
Find keyword
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-ko-rKR/strings.xml b/app/src/main/res/values-ko-rKR/strings.xml
index 51be5024..c8ac9fbe 100644
--- a/app/src/main/res/values-ko-rKR/strings.xml
+++ b/app/src/main/res/values-ko-rKR/strings.xml
@@ -94,10 +94,6 @@
Appearance
Theme
Advanced
- Show system apps
- Show disabled apps
- Show system app indicator
- Show disabled app indicator
Show not exported activities
Can be run only using Root
@@ -117,4 +113,15 @@
Line numbers
Search
Find keyword
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-lt-rLT/strings.xml b/app/src/main/res/values-lt-rLT/strings.xml
index d74b7242..d68f4dd8 100644
--- a/app/src/main/res/values-lt-rLT/strings.xml
+++ b/app/src/main/res/values-lt-rLT/strings.xml
@@ -94,10 +94,6 @@
Appearance
Theme
Advanced
- Show system apps
- Show disabled apps
- Show system app indicator
- Show disabled app indicator
Show not exported activities
Can be run only using Root
@@ -123,4 +119,15 @@
Line numbers
Search
Find keyword
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-lv-rLV/strings.xml b/app/src/main/res/values-lv-rLV/strings.xml
index a5784ba0..54bfd297 100644
--- a/app/src/main/res/values-lv-rLV/strings.xml
+++ b/app/src/main/res/values-lv-rLV/strings.xml
@@ -94,10 +94,6 @@
Appearance
Theme
Advanced
- Show system apps
- Show disabled apps
- Show system app indicator
- Show disabled app indicator
Show not exported activities
Can be run only using Root
@@ -121,4 +117,15 @@
Line numbers
Search
Find keyword
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-mk-rMK/strings.xml b/app/src/main/res/values-mk-rMK/strings.xml
index d0ec521f..7ffa0170 100644
--- a/app/src/main/res/values-mk-rMK/strings.xml
+++ b/app/src/main/res/values-mk-rMK/strings.xml
@@ -94,10 +94,6 @@
Appearance
Theme
Advanced
- Show system apps
- Show disabled apps
- Show system app indicator
- Show disabled app indicator
Show not exported activities
Can be run only using Root
@@ -119,4 +115,15 @@
Line numbers
Search
Find keyword
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-night-v27/themes.xml b/app/src/main/res/values-night-v27/themes.xml
index 9df02575..152ec881 100644
--- a/app/src/main/res/values-night-v27/themes.xml
+++ b/app/src/main/res/values-night-v27/themes.xml
@@ -1,7 +1,7 @@
diff --git a/app/src/main/res/values-night/colors.xml b/app/src/main/res/values-night/colors.xml
index 43fff6e8..1f6c877a 100644
--- a/app/src/main/res/values-night/colors.xml
+++ b/app/src/main/res/values-night/colors.xml
@@ -1,8 +1,6 @@
- #222222
- #2a2a2a
#e5e5e5
#323232
#2baaaaaa
diff --git a/app/src/main/res/values-nl-rNL/strings.xml b/app/src/main/res/values-nl-rNL/strings.xml
index d0ec521f..7ffa0170 100644
--- a/app/src/main/res/values-nl-rNL/strings.xml
+++ b/app/src/main/res/values-nl-rNL/strings.xml
@@ -94,10 +94,6 @@
Appearance
Theme
Advanced
- Show system apps
- Show disabled apps
- Show system app indicator
- Show disabled app indicator
Show not exported activities
Can be run only using Root
@@ -119,4 +115,15 @@
Line numbers
Search
Find keyword
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-no-rNO/strings.xml b/app/src/main/res/values-no-rNO/strings.xml
index d0ec521f..7ffa0170 100644
--- a/app/src/main/res/values-no-rNO/strings.xml
+++ b/app/src/main/res/values-no-rNO/strings.xml
@@ -94,10 +94,6 @@
Appearance
Theme
Advanced
- Show system apps
- Show disabled apps
- Show system app indicator
- Show disabled app indicator
Show not exported activities
Can be run only using Root
@@ -119,4 +115,15 @@
Line numbers
Search
Find keyword
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-pl-rPL/strings.xml b/app/src/main/res/values-pl-rPL/strings.xml
index ec9d8748..10bf8b14 100644
--- a/app/src/main/res/values-pl-rPL/strings.xml
+++ b/app/src/main/res/values-pl-rPL/strings.xml
@@ -94,10 +94,6 @@
Wygląd
Motyw
Zaawansowane
- Pokaż aplikacje systemowe
- Pokaż wyłączone aplikacje
- Pokaż wskaźnik aplikacji systemowej
- Pokaż wskaźnik wyłączonej aplikacji
Pokaż niewyeksportowane aktywności
Może być uruchomiony tylko przy użyciu Roota
@@ -123,4 +119,15 @@
Numery wierszy
Szukaj
Znajdź słowo kluczowe
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-pt-rBR/strings.xml b/app/src/main/res/values-pt-rBR/strings.xml
index f4ff0992..810f3561 100644
--- a/app/src/main/res/values-pt-rBR/strings.xml
+++ b/app/src/main/res/values-pt-rBR/strings.xml
@@ -94,10 +94,6 @@
Aparência
Tema
Avançado
- Mostrar apps do sistema
- Mostrar apps desativados
- Mostrar indicador de apps do sistema
- Mostrar indicador de apps desativados
Mostrar atividades não exportadas
Só pode ser executado via Root
@@ -119,4 +115,15 @@
Número de linhas
Buscar
Buscar palavra-chave
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-pt-rPT/strings.xml b/app/src/main/res/values-pt-rPT/strings.xml
index d0ec521f..7ffa0170 100644
--- a/app/src/main/res/values-pt-rPT/strings.xml
+++ b/app/src/main/res/values-pt-rPT/strings.xml
@@ -94,10 +94,6 @@
Appearance
Theme
Advanced
- Show system apps
- Show disabled apps
- Show system app indicator
- Show disabled app indicator
Show not exported activities
Can be run only using Root
@@ -119,4 +115,15 @@
Line numbers
Search
Find keyword
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-ro-rRO/strings.xml b/app/src/main/res/values-ro-rRO/strings.xml
index 209eae4d..f1090b44 100644
--- a/app/src/main/res/values-ro-rRO/strings.xml
+++ b/app/src/main/res/values-ro-rRO/strings.xml
@@ -94,10 +94,6 @@
Appearance
Theme
Advanced
- Show system apps
- Show disabled apps
- Show system app indicator
- Show disabled app indicator
Show not exported activities
Can be run only using Root
@@ -121,4 +117,15 @@
Line numbers
Search
Find keyword
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-sk-rSK/strings.xml b/app/src/main/res/values-sk-rSK/strings.xml
index d74b7242..d68f4dd8 100644
--- a/app/src/main/res/values-sk-rSK/strings.xml
+++ b/app/src/main/res/values-sk-rSK/strings.xml
@@ -94,10 +94,6 @@
Appearance
Theme
Advanced
- Show system apps
- Show disabled apps
- Show system app indicator
- Show disabled app indicator
Show not exported activities
Can be run only using Root
@@ -123,4 +119,15 @@
Line numbers
Search
Find keyword
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-sv-rSE/strings.xml b/app/src/main/res/values-sv-rSE/strings.xml
index d0ec521f..7ffa0170 100644
--- a/app/src/main/res/values-sv-rSE/strings.xml
+++ b/app/src/main/res/values-sv-rSE/strings.xml
@@ -94,10 +94,6 @@
Appearance
Theme
Advanced
- Show system apps
- Show disabled apps
- Show system app indicator
- Show disabled app indicator
Show not exported activities
Can be run only using Root
@@ -119,4 +115,15 @@
Line numbers
Search
Find keyword
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-tr-rTR/strings.xml b/app/src/main/res/values-tr-rTR/strings.xml
index d0ec521f..7ffa0170 100644
--- a/app/src/main/res/values-tr-rTR/strings.xml
+++ b/app/src/main/res/values-tr-rTR/strings.xml
@@ -94,10 +94,6 @@
Appearance
Theme
Advanced
- Show system apps
- Show disabled apps
- Show system app indicator
- Show disabled app indicator
Show not exported activities
Can be run only using Root
@@ -119,4 +115,15 @@
Line numbers
Search
Find keyword
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-uk-rUA/strings.xml b/app/src/main/res/values-uk-rUA/strings.xml
index c8ba5816..ddb6de75 100644
--- a/app/src/main/res/values-uk-rUA/strings.xml
+++ b/app/src/main/res/values-uk-rUA/strings.xml
@@ -94,10 +94,6 @@
Зовнішній вигляд
Тема
Додаткові можливості
- Показувати системні додатки
- Показувати вимкнені додатки
- Показувати індикатор системних додатків
- Показувати індикатор вимкнених додатків
Показувати приховані компоненти
Можна запускати лише від імені Root
@@ -123,4 +119,15 @@
Номери рядків
Пошук
Знайти слово
+
+ Сортувати по
+ Ім\'я
+ Час оновлення
+ Час встановлення
+ За зростанням
+ За спаданням
+ Системні додатки
+ Неактивні додатки
+ Показувати
+ Мітка
diff --git a/app/src/main/res/values-uz-rUZ/strings.xml b/app/src/main/res/values-uz-rUZ/strings.xml
index d0ec521f..7ffa0170 100644
--- a/app/src/main/res/values-uz-rUZ/strings.xml
+++ b/app/src/main/res/values-uz-rUZ/strings.xml
@@ -94,10 +94,6 @@
Appearance
Theme
Advanced
- Show system apps
- Show disabled apps
- Show system app indicator
- Show disabled app indicator
Show not exported activities
Can be run only using Root
@@ -119,4 +115,15 @@
Line numbers
Search
Find keyword
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values-v27/themes.xml b/app/src/main/res/values-v27/themes.xml
index c0ad6adf..9908aeb0 100644
--- a/app/src/main/res/values-v27/themes.xml
+++ b/app/src/main/res/values-v27/themes.xml
@@ -1,7 +1,7 @@
diff --git a/app/src/main/res/values-zh-rCN/strings.xml b/app/src/main/res/values-zh-rCN/strings.xml
index a6411072..4dac97b2 100644
--- a/app/src/main/res/values-zh-rCN/strings.xml
+++ b/app/src/main/res/values-zh-rCN/strings.xml
@@ -94,10 +94,6 @@
外观
主题
高级
- 显示系统应用
- 显示已停用的应用
- 显示系统应用标识
- 显示已停用的应用标识
显示未导出的 Activities
只能使用 Root 运行
@@ -117,4 +113,15 @@
行号
搜索
查找关键字
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml
index 18900e74..da5c0b46 100644
--- a/app/src/main/res/values/colors.xml
+++ b/app/src/main/res/values/colors.xml
@@ -14,8 +14,6 @@
#fff
#f44336
- #ffffff
- #ffffff
#757575
#E0E0E0
#28000000
diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml
index 59a0b79f..c8f98a1a 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -94,10 +94,6 @@
Appearance
Theme
Advanced
- Show system apps
- Show disabled apps
- Show system app indicator
- Show disabled app indicator
Show not exported activities
Can be run only using Root
@@ -119,4 +115,15 @@
Line numbers
Search
Find keyword
+
+ Sort by
+ Name
+ Update time
+ Install time
+ Ascending
+ Descending
+ System applications
+ Disabled applications
+ Show
+ Label
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index ea011599..dca530e3 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -9,13 +9,12 @@
- match_parent
- @style/TextAppearance.Material3.TitleMedium
- 16sp
- - center_vertical
- 1
- end
-
diff --git a/app/src/main/res/xml/preferences.xml b/app/src/main/res/xml/preferences.xml
index bc0f8464..67e8816f 100644
--- a/app/src/main/res/xml/preferences.xml
+++ b/app/src/main/res/xml/preferences.xml
@@ -2,28 +2,6 @@
-
-
-
-
-
-
-
-