From 8ee1d67eb37310782335451277ad403a117d6fbd Mon Sep 17 00:00:00 2001 From: ottoptj Date: Sat, 10 Aug 2024 20:33:57 +0300 Subject: [PATCH] xml refactoring and added a privacy policy --- PrivacyPolicy.md | 26 +++++++ app/src/main/AndroidManifest.xml | 2 +- .../eu/ottop/yamlauncher/AppActionMenu.kt | 2 +- .../eu/ottop/yamlauncher/AppMenuAdapter.kt | 12 +-- .../java/eu/ottop/yamlauncher/AppUtils.kt | 1 - .../ottop/yamlauncher/GestureAppsAdapter.kt | 4 +- .../ottop/yamlauncher/GestureAppsFragment.kt | 5 +- .../eu/ottop/yamlauncher/HiddenAppsAdapter.kt | 4 +- .../ottop/yamlauncher/HiddenAppsFragment.kt | 5 +- .../eu/ottop/yamlauncher/LocationFragment.kt | 5 +- .../ottop/yamlauncher/LocationListAdapter.kt | 6 +- .../java/eu/ottop/yamlauncher/MainActivity.kt | 13 ++-- .../eu/ottop/yamlauncher/SettingsActivity.kt | 2 +- .../eu/ottop/yamlauncher/SettingsFragment.kt | 10 +-- .../eu/ottop/yamlauncher/WeatherSystem.kt | 1 - app/src/main/res/layout/activity_main.xml | 24 +++--- app/src/main/res/layout/activity_settings.xml | 5 +- app/src/main/res/layout/app_item_layout.xml | 23 +++--- app/src/main/res/layout/fragment_about.xml | 25 +++--- .../main/res/layout/fragment_gesture_apps.xml | 6 +- .../main/res/layout/fragment_hidden_apps.xml | 8 +- app/src/main/res/layout/fragment_location.xml | 10 +-- .../main/res/layout/location_item_layout.xml | 11 ++- app/src/main/res/navigation/nav_graph.xml | 5 -- app/src/main/res/values-land/dimens.xml | 3 - app/src/main/res/values-night/themes.xml | 4 - app/src/main/res/values-v23/themes.xml | 3 - app/src/main/res/values-w1240dp/dimens.xml | 3 - app/src/main/res/values-w600dp/dimens.xml | 3 - app/src/main/res/values/arrays.xml | 76 ++++++++----------- app/src/main/res/values/dimens.xml | 3 - app/src/main/res/values/ids.xml | 4 - app/src/main/res/values/strings.xml | 35 ++++++--- .../res/xml/screenlock_service_config.xml | 4 +- 34 files changed, 173 insertions(+), 180 deletions(-) create mode 100644 PrivacyPolicy.md delete mode 100644 app/src/main/res/navigation/nav_graph.xml delete mode 100644 app/src/main/res/values-land/dimens.xml delete mode 100644 app/src/main/res/values-night/themes.xml delete mode 100644 app/src/main/res/values-v23/themes.xml delete mode 100644 app/src/main/res/values-w1240dp/dimens.xml delete mode 100644 app/src/main/res/values-w600dp/dimens.xml delete mode 100644 app/src/main/res/values/dimens.xml delete mode 100644 app/src/main/res/values/ids.xml diff --git a/PrivacyPolicy.md b/PrivacyPolicy.md new file mode 100644 index 0000000..9422307 --- /dev/null +++ b/PrivacyPolicy.md @@ -0,0 +1,26 @@ +# Privacy Policy + +## Collected data +The application stores data related to its preferences. + +For example, if you choose to align the clock to the center, this preference is saved so that the clock does not get reset to the left when the application is launched the next time. + +By default, no more data is collected, but certain options may result in further data being collected. + +### Weather +If you enable weather, the application stores the coordinates that you set for the location. If you have set a location manually, those are the coordinates of that location. If you use GPS location, your GPS coordinates are stored. + +### Accessibility service +If you enable the Double Tap to Lock Screen preference, the application needs its accessibility service to be enabled. This means giving it "full control of your device" as described by the notification by Android. This permission is exclusively used to lock your phone's screen. The application does not collect any data using the service. + +## Data sent to the developer +No data is sent to the developer. + +## Data sent to third parties +By default, the application does not connect to the internet or send any data anywhere. + +However, enabling the weather option requires certain data to be sent to Open-Meteo for purposes of retrieving locations and weather. This data includes the URL used for the request. Open-Meteo may also store your IP address. + +The URL includes the coordinates of your weather location. If the location is manually set, the coordinates are of the selected location. If GPS location is used, the coordinates are the set GPS coordinates. + +For information on how this data is handled, refer to [Open-Meteo](https://open-meteo.com/en/terms). diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 3afcf6c..bffc3ed 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -54,7 +54,7 @@ diff --git a/app/src/main/java/eu/ottop/yamlauncher/AppActionMenu.kt b/app/src/main/java/eu/ottop/yamlauncher/AppActionMenu.kt index 63bf259..bc83454 100644 --- a/app/src/main/java/eu/ottop/yamlauncher/AppActionMenu.kt +++ b/app/src/main/java/eu/ottop/yamlauncher/AppActionMenu.kt @@ -67,7 +67,7 @@ class AppActionMenu { textView.visibility = View.INVISIBLE animations.fadeViewIn(editLayout) animations.fadeViewOut(actionMenu, 100) - val editText = editLayout.findViewById(R.id.app_name_edit) + val editText = editLayout.findViewById(R.id.appNameEdit) val resetButton = editLayout.findViewById(R.id.reset) val app = Pair(mainActivity!!, Pair(userHandle, workProfile)) diff --git a/app/src/main/java/eu/ottop/yamlauncher/AppMenuAdapter.kt b/app/src/main/java/eu/ottop/yamlauncher/AppMenuAdapter.kt index b9deccb..bd17066 100644 --- a/app/src/main/java/eu/ottop/yamlauncher/AppMenuAdapter.kt +++ b/app/src/main/java/eu/ottop/yamlauncher/AppMenuAdapter.kt @@ -26,7 +26,7 @@ class AppMenuAdapter( private val itemClickListener: OnItemClickListener, private val shortcutListener: OnShortcutListener, private val itemLongClickListener: OnItemLongClickListener, - private val launcherApps: LauncherApps + launcherApps: LauncherApps ) : RecyclerView.Adapter() { @@ -57,11 +57,11 @@ class AppMenuAdapter( } inner class AppViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) { - private val listItem: FrameLayout = itemView.findViewById(R.id.list_item) - val textView: TextView = listItem.findViewById(R.id.app_name) - val actionMenuLayout: LinearLayout = listItem.findViewById(R.id.action_menu) - private val editView: LinearLayout = listItem.findViewById(R.id.rename_view) - val editText: TextInputEditText = editView.findViewById(R.id.app_name_edit) + private val listItem: FrameLayout = itemView.findViewById(R.id.listItem) + val textView: TextView = listItem.findViewById(R.id.appName) + val actionMenuLayout: LinearLayout = listItem.findViewById(R.id.actionMenu) + private val editView: LinearLayout = listItem.findViewById(R.id.renameView) + val editText: TextInputEditText = editView.findViewById(R.id.appNameEdit) init { actionMenuLayout.visibility = View.INVISIBLE diff --git a/app/src/main/java/eu/ottop/yamlauncher/AppUtils.kt b/app/src/main/java/eu/ottop/yamlauncher/AppUtils.kt index f511495..ce7ff22 100644 --- a/app/src/main/java/eu/ottop/yamlauncher/AppUtils.kt +++ b/app/src/main/java/eu/ottop/yamlauncher/AppUtils.kt @@ -6,7 +6,6 @@ import android.content.pm.LauncherActivityInfo import android.content.pm.LauncherApps import android.os.UserHandle import android.widget.Toast -import androidx.appcompat.app.AppCompatActivity import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext diff --git a/app/src/main/java/eu/ottop/yamlauncher/GestureAppsAdapter.kt b/app/src/main/java/eu/ottop/yamlauncher/GestureAppsAdapter.kt index bcc3762..6c8a528 100644 --- a/app/src/main/java/eu/ottop/yamlauncher/GestureAppsAdapter.kt +++ b/app/src/main/java/eu/ottop/yamlauncher/GestureAppsAdapter.kt @@ -27,8 +27,8 @@ class GestureAppsAdapter( } inner class AppViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) { - private val listItem: FrameLayout = itemView.findViewById(R.id.list_item) - val textView: TextView = listItem.findViewById(R.id.app_name) + private val listItem: FrameLayout = itemView.findViewById(R.id.listItem) + val textView: TextView = listItem.findViewById(R.id.appName) init { textView.setOnClickListener { diff --git a/app/src/main/java/eu/ottop/yamlauncher/GestureAppsFragment.kt b/app/src/main/java/eu/ottop/yamlauncher/GestureAppsFragment.kt index 9a2d2fe..b6e30f1 100644 --- a/app/src/main/java/eu/ottop/yamlauncher/GestureAppsFragment.kt +++ b/app/src/main/java/eu/ottop/yamlauncher/GestureAppsFragment.kt @@ -14,7 +14,6 @@ import android.view.ViewGroup import androidx.fragment.app.Fragment import androidx.fragment.app.setFragmentResult import androidx.lifecycle.lifecycleScope -import androidx.preference.PreferenceManager import androidx.recyclerview.widget.RecyclerView import com.google.android.material.textfield.TextInputEditText import kotlinx.coroutines.Dispatchers @@ -57,7 +56,7 @@ class GestureAppsFragment : Fragment(), GestureAppsAdapter.OnItemClickListener { this@GestureAppsFragment ) } - val recyclerView = view.findViewById(R.id.gesture_app_recycler) + val recyclerView = view.findViewById(R.id.gestureAppRecycler) val appMenuEdgeFactory = AppMenuEdgeFactory(requireActivity()) val uiUtils = UIUtils(requireContext()) @@ -68,7 +67,7 @@ class GestureAppsFragment : Fragment(), GestureAppsAdapter.OnItemClickListener { val searchView = view.findViewById(R.id.gestureAppSearch) - uiUtils.setMenuTitleAlignment(view.findViewById(R.id.gesture_menutitle)) + uiUtils.setMenuTitleAlignment(view.findViewById(R.id.gestureMenuTitle)) uiUtils.setSearchAlignment(searchView) uiUtils.setSearchSize(searchView) diff --git a/app/src/main/java/eu/ottop/yamlauncher/HiddenAppsAdapter.kt b/app/src/main/java/eu/ottop/yamlauncher/HiddenAppsAdapter.kt index a01b0d2..9273a26 100644 --- a/app/src/main/java/eu/ottop/yamlauncher/HiddenAppsAdapter.kt +++ b/app/src/main/java/eu/ottop/yamlauncher/HiddenAppsAdapter.kt @@ -27,8 +27,8 @@ class HiddenAppsAdapter( } inner class AppViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) { - private val listItem: FrameLayout = itemView.findViewById(R.id.list_item) - val textView: TextView = listItem.findViewById(R.id.app_name) + private val listItem: FrameLayout = itemView.findViewById(R.id.listItem) + val textView: TextView = listItem.findViewById(R.id.appName) init { diff --git a/app/src/main/java/eu/ottop/yamlauncher/HiddenAppsFragment.kt b/app/src/main/java/eu/ottop/yamlauncher/HiddenAppsFragment.kt index be57010..96d2226 100644 --- a/app/src/main/java/eu/ottop/yamlauncher/HiddenAppsFragment.kt +++ b/app/src/main/java/eu/ottop/yamlauncher/HiddenAppsFragment.kt @@ -13,7 +13,6 @@ import android.view.View import android.view.ViewGroup import android.view.inputmethod.InputMethodManager import androidx.fragment.app.Fragment -import androidx.preference.PreferenceManager import androidx.recyclerview.widget.RecyclerView import com.google.android.material.textfield.TextInputEditText @@ -41,7 +40,7 @@ class HiddenAppsFragment : Fragment(), HiddenAppsAdapter.OnItemClickListener { appUtils = AppUtils(requireContext(), launcherApps) sharedPreferenceManager = SharedPreferenceManager(requireContext()) - val recyclerView = view.findViewById(R.id.hidden_app_recycler) + val recyclerView = view.findViewById(R.id.hiddenAppRecycler) val appMenuEdgeFactory = AppMenuEdgeFactory(requireActivity()) adapter = HiddenAppsAdapter(requireContext(), appUtils.getHiddenApps().toMutableList(), this) @@ -54,7 +53,7 @@ class HiddenAppsFragment : Fragment(), HiddenAppsAdapter.OnItemClickListener { val searchView = view.findViewById(R.id.hiddenAppSearch) - uiUtils.setMenuTitleAlignment(view.findViewById(R.id.hidden_menutitle)) + uiUtils.setMenuTitleAlignment(view.findViewById(R.id.hiddenMenuTitle)) uiUtils.setSearchAlignment(searchView) uiUtils.setSearchSize(searchView) diff --git a/app/src/main/java/eu/ottop/yamlauncher/LocationFragment.kt b/app/src/main/java/eu/ottop/yamlauncher/LocationFragment.kt index 7bb98a4..0358fb9 100644 --- a/app/src/main/java/eu/ottop/yamlauncher/LocationFragment.kt +++ b/app/src/main/java/eu/ottop/yamlauncher/LocationFragment.kt @@ -11,7 +11,6 @@ import android.view.ViewGroup import android.view.inputmethod.InputMethodManager import androidx.fragment.app.Fragment import androidx.lifecycle.lifecycleScope -import androidx.preference.PreferenceManager import androidx.recyclerview.widget.RecyclerView import com.google.android.material.textfield.TextInputEditText import kotlinx.coroutines.Dispatchers @@ -52,9 +51,9 @@ class LocationFragment : Fragment(), LocationListAdapter.OnItemClickListener { } adapter = LocationListAdapter(requireContext(), locationList, this) - val recyclerView = view.findViewById(R.id.locationrecycler) + val recyclerView = view.findViewById(R.id.locationRecycler) val appMenuEdgeFactory = AppMenuEdgeFactory(requireActivity()) - uiUtils.setMenuTitleAlignment(view.findViewById(R.id.location_menutitle)) + uiUtils.setMenuTitleAlignment(view.findViewById(R.id.locationMenuTitle)) uiUtils.setSearchAlignment(searchView) uiUtils.setSearchSize(searchView) diff --git a/app/src/main/java/eu/ottop/yamlauncher/LocationListAdapter.kt b/app/src/main/java/eu/ottop/yamlauncher/LocationListAdapter.kt index 676b17d..5d2c925 100644 --- a/app/src/main/java/eu/ottop/yamlauncher/LocationListAdapter.kt +++ b/app/src/main/java/eu/ottop/yamlauncher/LocationListAdapter.kt @@ -23,9 +23,9 @@ class LocationListAdapter( } inner class AppViewHolder(itemView: View) : RecyclerView.ViewHolder(itemView) { - private val listItem: ConstraintLayout = itemView.findViewById(R.id.location_place) - val textView: TextView = listItem.findViewById(R.id.location_name) - val regionText: TextView = listItem.findViewById(R.id.region_name) + private val listItem: ConstraintLayout = itemView.findViewById(R.id.locationPlace) + val textView: TextView = listItem.findViewById(R.id.locationName) + val regionText: TextView = listItem.findViewById(R.id.regionName) init { diff --git a/app/src/main/java/eu/ottop/yamlauncher/MainActivity.kt b/app/src/main/java/eu/ottop/yamlauncher/MainActivity.kt index 5eece38..7b603e9 100644 --- a/app/src/main/java/eu/ottop/yamlauncher/MainActivity.kt +++ b/app/src/main/java/eu/ottop/yamlauncher/MainActivity.kt @@ -14,7 +14,6 @@ import android.os.UserHandle import android.text.Editable import android.text.TextWatcher import android.view.GestureDetector -import android.view.Gravity import android.view.MotionEvent import android.view.View import android.view.inputmethod.InputMethodManager @@ -133,11 +132,11 @@ class MainActivity : AppCompatActivity(), SharedPreferences.OnSharedPreferenceCh gestureDetector = GestureDetector(this, GestureListener()) shortcutGestureDetector = GestureDetector(this, TextGestureListener()) - clock = findViewById(R.id.text_clock) + clock = findViewById(R.id.textClock) clockMargin = clock.marginLeft - dateText = findViewById(R.id.text_date) + dateText = findViewById(R.id.textDate) dateElements = mutableListOf(dateText.format12Hour.toString(), dateText.format24Hour.toString(), "", "") @@ -213,8 +212,8 @@ class MainActivity : AppCompatActivity(), SharedPreferences.OnSharedPreferenceCh Toast.makeText(this, "Long click to select an app", Toast.LENGTH_SHORT).show() } textView.setOnLongClickListener { - uiUtils.setMenuTitleAlignment(binding.menutitle) - binding.menutitle.visibility = View.VISIBLE + uiUtils.setMenuTitleAlignment(binding.menuTitle) + binding.menuTitle.visibility = View.VISIBLE adapter?.shortcutTextView = textView toAppMenu() @@ -475,7 +474,7 @@ class MainActivity : AppCompatActivity(), SharedPreferences.OnSharedPreferenceCh private suspend fun setupRecyclerView(newApps: MutableList>>) { adapter = AppMenuAdapter(this@MainActivity, newApps, this@MainActivity, this@MainActivity, this@MainActivity, launcherApps) appMenuLinearLayoutManager.stackFromEnd = true - recyclerView = findViewById(R.id.recycler_view) + recyclerView = findViewById(R.id.recyclerView) withContext(Dispatchers.Main) { recyclerView.layoutManager = appMenuLinearLayoutManager recyclerView.edgeEffectFactory = appMenuEdgeFactory @@ -732,7 +731,7 @@ class MainActivity : AppCompatActivity(), SharedPreferences.OnSharedPreferenceCh private fun openAppMenu() { adapter?.shortcutTextView = null - binding.menutitle.visibility = View.GONE + binding.menuTitle.visibility = View.GONE toAppMenu() } diff --git a/app/src/main/java/eu/ottop/yamlauncher/SettingsActivity.kt b/app/src/main/java/eu/ottop/yamlauncher/SettingsActivity.kt index 2d56a8d..99cadca 100644 --- a/app/src/main/java/eu/ottop/yamlauncher/SettingsActivity.kt +++ b/app/src/main/java/eu/ottop/yamlauncher/SettingsActivity.kt @@ -14,7 +14,7 @@ class SettingsActivity : AppCompatActivity() { setContentView(binding.root) supportFragmentManager .beginTransaction() - .replace(R.id.settings_layout, SettingsFragment()) + .replace(R.id.settingsLayout, SettingsFragment()) .commit() } diff --git a/app/src/main/java/eu/ottop/yamlauncher/SettingsFragment.kt b/app/src/main/java/eu/ottop/yamlauncher/SettingsFragment.kt index a5194eb..83da0ae 100644 --- a/app/src/main/java/eu/ottop/yamlauncher/SettingsFragment.kt +++ b/app/src/main/java/eu/ottop/yamlauncher/SettingsFragment.kt @@ -44,7 +44,7 @@ class SettingsFragment : PreferenceFragmentCompat() { Preference.OnPreferenceClickListener { requireActivity().supportFragmentManager .beginTransaction() - .replace(R.id.settings_layout, LocationFragment()) + .replace(R.id.settingsLayout, LocationFragment()) .addToBackStack(null) .commit() true @@ -55,7 +55,7 @@ class SettingsFragment : PreferenceFragmentCompat() { Preference.OnPreferenceClickListener { requireActivity().supportFragmentManager .beginTransaction() - .replace(R.id.settings_layout, HiddenAppsFragment()) + .replace(R.id.settingsLayout, HiddenAppsFragment()) .addToBackStack(null) .commit() true } @@ -64,7 +64,7 @@ class SettingsFragment : PreferenceFragmentCompat() { Preference.OnPreferenceClickListener { requireActivity().supportFragmentManager .beginTransaction() - .replace(R.id.settings_layout, GestureAppsFragment()) + .replace(R.id.settingsLayout, GestureAppsFragment()) .addToBackStack(null) .commit() setFragmentResultListener("request_key") { _, bundle -> @@ -84,7 +84,7 @@ class SettingsFragment : PreferenceFragmentCompat() { Preference.OnPreferenceClickListener { requireActivity().supportFragmentManager .beginTransaction() - .replace(R.id.settings_layout, GestureAppsFragment()) + .replace(R.id.settingsLayout, GestureAppsFragment()) .addToBackStack(null) .commit() setFragmentResultListener("request_key") { _, bundle -> @@ -104,7 +104,7 @@ class SettingsFragment : PreferenceFragmentCompat() { Preference.OnPreferenceClickListener { requireActivity().supportFragmentManager .beginTransaction() - .replace(R.id.settings_layout, AboutFragment()) + .replace(R.id.settingsLayout, AboutFragment()) .addToBackStack(null) .commit() true } diff --git a/app/src/main/java/eu/ottop/yamlauncher/WeatherSystem.kt b/app/src/main/java/eu/ottop/yamlauncher/WeatherSystem.kt index 35929d0..7e359df 100644 --- a/app/src/main/java/eu/ottop/yamlauncher/WeatherSystem.kt +++ b/app/src/main/java/eu/ottop/yamlauncher/WeatherSystem.kt @@ -7,7 +7,6 @@ import android.location.Location import android.location.LocationManager import androidx.core.app.ActivityCompat import androidx.core.content.ContextCompat -import androidx.preference.PreferenceManager import kotlinx.coroutines.CoroutineScope import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.launch diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 1b165aa..2ffee6a 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -2,7 +2,7 @@ + app:layout_constraintEnd_toEndOf="@+id/textClock" + app:layout_constraintStart_toStartOf="@+id/textClock" + app:layout_constraintTop_toBottomOf="@+id/textClock" /> diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml index f13af69..00c577f 100644 --- a/app/src/main/res/layout/activity_settings.xml +++ b/app/src/main/res/layout/activity_settings.xml @@ -1,16 +1,15 @@ diff --git a/app/src/main/res/layout/app_item_layout.xml b/app/src/main/res/layout/app_item_layout.xml index 1ad4837..83d90c9 100644 --- a/app/src/main/res/layout/app_item_layout.xml +++ b/app/src/main/res/layout/app_item_layout.xml @@ -1,22 +1,21 @@ @@ -11,13 +11,14 @@ android:id="@+id/imageView" android:layout_width="0dp" android:layout_height="200dp" + android:contentDescription="@string/app_icon" android:src="@drawable/ic_launcher_foreground" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> + app:layout_constraintStart_toStartOf="@+id/appNameView" + app:layout_constraintTop_toBottomOf="@+id/appNameView" /> + app:layout_constraintTop_toBottomOf="@+id/locationName" /> \ No newline at end of file diff --git a/app/src/main/res/navigation/nav_graph.xml b/app/src/main/res/navigation/nav_graph.xml deleted file mode 100644 index e6f0986..0000000 --- a/app/src/main/res/navigation/nav_graph.xml +++ /dev/null @@ -1,5 +0,0 @@ - - \ No newline at end of file diff --git a/app/src/main/res/values-land/dimens.xml b/app/src/main/res/values-land/dimens.xml deleted file mode 100644 index 22d7f00..0000000 --- a/app/src/main/res/values-land/dimens.xml +++ /dev/null @@ -1,3 +0,0 @@ - - 48dp - \ No newline at end of file diff --git a/app/src/main/res/values-night/themes.xml b/app/src/main/res/values-night/themes.xml deleted file mode 100644 index cc40175..0000000 --- a/app/src/main/res/values-night/themes.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/app/src/main/res/values-v23/themes.xml b/app/src/main/res/values-v23/themes.xml deleted file mode 100644 index 2a710f3..0000000 --- a/app/src/main/res/values-v23/themes.xml +++ /dev/null @@ -1,3 +0,0 @@ - - - \ No newline at end of file diff --git a/app/src/main/res/values-w1240dp/dimens.xml b/app/src/main/res/values-w1240dp/dimens.xml deleted file mode 100644 index d73f4a3..0000000 --- a/app/src/main/res/values-w1240dp/dimens.xml +++ /dev/null @@ -1,3 +0,0 @@ - - 200dp - \ No newline at end of file diff --git a/app/src/main/res/values-w600dp/dimens.xml b/app/src/main/res/values-w600dp/dimens.xml deleted file mode 100644 index 22d7f00..0000000 --- a/app/src/main/res/values-w600dp/dimens.xml +++ /dev/null @@ -1,3 +0,0 @@ - - 48dp - \ No newline at end of file diff --git a/app/src/main/res/values/arrays.xml b/app/src/main/res/values/arrays.xml index d9e8166..9f1423d 100644 --- a/app/src/main/res/values/arrays.xml +++ b/app/src/main/res/values/arrays.xml @@ -1,13 +1,39 @@ - - - Reply - Reply to all + + + 0 + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 - - reply - reply_all + + Transparent + Black + Grey + White + + + + #00000000 + #FF000000 + #FF1B1B1B + #FFD6D6D6 + + + + Light + Dark + + + + #FFF3F3F3 + #FF0C0C0C @@ -43,40 +69,4 @@ celsius fahrenheit - - - Transparent - Black - Grey - White - - - - #00000000 - #FF000000 - #FF1B1B1B - #FFD6D6D6 - - - - Light - Dark - - - - #FFF3F3F3 - #FF0C0C0C - - - - 0 - 1 - 2 - 3 - 4 - 5 - 6 - 7 - 8 - \ No newline at end of file diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml deleted file mode 100644 index 125df87..0000000 --- a/app/src/main/res/values/dimens.xml +++ /dev/null @@ -1,3 +0,0 @@ - - 16dp - \ No newline at end of file diff --git a/app/src/main/res/values/ids.xml b/app/src/main/res/values/ids.xml deleted file mode 100644 index 710ce93..0000000 --- a/app/src/main/res/values/ids.xml +++ /dev/null @@ -1,4 +0,0 @@ - - - - \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 10af334..c82d7c5 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -3,17 +3,30 @@ - Select an app - Search… - App App - - Sync email periodically - Download incoming attachments - Automatically download attachments for incoming emails - - Only download attachments when manually requested + Select an app + Unhide an app + Find your city + + Search… + + Reset + Info + Uninstall + Rename + Hide + Close + + App Icon + By Otto Petäjä + Source Code + Codeberg + GitHub + Donate + Stripe + Liberapay + Weather data by Open-Meteo.com\n(CC BY 4.0) Otto Petäjä]]> @@ -25,7 +38,9 @@ Open-Meteo.com
(CC BY 4.0)]]>
Open-Meteo.com (CC BY 4.0)]]> - Idk this is my service %1$s%2$s + The permission is required for double tap to work for locking the screen.\n\nIt is only needed if you want to use the double tap to lock screen feature in YAM Launcher. + + \ No newline at end of file diff --git a/app/src/main/res/xml/screenlock_service_config.xml b/app/src/main/res/xml/screenlock_service_config.xml index c0808bf..36feff7 100644 --- a/app/src/main/res/xml/screenlock_service_config.xml +++ b/app/src/main/res/xml/screenlock_service_config.xml @@ -1,8 +1,8 @@ \ No newline at end of file + android:settingsActivity="eu.ottop.yamlauncher.SettingsActivity"/> \ No newline at end of file