diff --git a/app/build.gradle b/app/build.gradle index fd45f04a..1ebc4cfc 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -32,7 +32,7 @@ android { } dependencies { - compile 'com.simplemobiletools:commons:2.1.6' + compile 'com.simplemobiletools:commons:2.1.7' compile 'com.facebook.stetho:stetho:1.4.1' compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" } diff --git a/app/src/main/kotlin/com/simplemobiletools/notes/MyWidgetProvider.kt b/app/src/main/kotlin/com/simplemobiletools/notes/MyWidgetProvider.kt index 392bcbcd..e54f31b2 100644 --- a/app/src/main/kotlin/com/simplemobiletools/notes/MyWidgetProvider.kt +++ b/app/src/main/kotlin/com/simplemobiletools/notes/MyWidgetProvider.kt @@ -25,7 +25,7 @@ class MyWidgetProvider : AppWidgetProvider() { override fun onUpdate(context: Context, appWidgetManager: AppWidgetManager, appWidgetIds: IntArray) { initVariables(context) - val defaultColor = context.resources.getColor(R.color.dark_grey) + val defaultColor = Color.BLACK val newBgColor = mPrefs.getInt(WIDGET_BG_COLOR, defaultColor) val newTextColor = mPrefs.getInt(WIDGET_TEXT_COLOR, Color.WHITE) diff --git a/app/src/main/kotlin/com/simplemobiletools/notes/activities/AboutActivity.kt b/app/src/main/kotlin/com/simplemobiletools/notes/activities/AboutActivity.kt index 3de8c742..a03d1b60 100644 --- a/app/src/main/kotlin/com/simplemobiletools/notes/activities/AboutActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/notes/activities/AboutActivity.kt @@ -1,114 +1,9 @@ package com.simplemobiletools.notes.activities -import android.content.ActivityNotFoundException -import android.content.Intent -import android.net.Uri import android.os.Bundle -import android.text.Html -import android.text.method.LinkMovementMethod -import android.view.View -import com.simplemobiletools.notes.BuildConfig -import com.simplemobiletools.notes.R -import kotlinx.android.synthetic.main.activity_about.* -import java.util.* class AboutActivity : SimpleActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) - setContentView(R.layout.activity_about) - - setupEmail() - setupMoreApps() - setupCopyright() - setupRateUs() - setupInvite() - setupLicense() - setupDonate() - setupFacebook() - setupGPlus() } - - private fun setupEmail() { - val email = getString(R.string.email) - val appName = getString(R.string.app_name) - val href = "$email" - about_email.text = Html.fromHtml(href) - about_email.movementMethod = LinkMovementMethod.getInstance() - } - - private fun setupMoreApps() { - about_more_apps.setOnClickListener { - startActivity(Intent(Intent.ACTION_VIEW, Uri.parse("https://play.google.com/store/apps/dev?id=9070296388022589266"))) - } - } - - private fun setupCopyright() { - val versionName = BuildConfig.VERSION_NAME - val year = Calendar.getInstance().get(Calendar.YEAR) - val copyrightText = String.format(getString(R.string.copyright), versionName, year) - about_copyright.text = copyrightText - } - - private fun setupRateUs() { - if (config.isFirstRun) { - about_rate_us.visibility = View.GONE - } else { - about_rate_us.setOnClickListener { - val uri = Uri.parse("market://details?id=$packageName") - try { - startActivity(Intent(Intent.ACTION_VIEW, uri)) - } catch (ignored: ActivityNotFoundException) { - startActivity(Intent(Intent.ACTION_VIEW, Uri.parse(getStoreUrl()))) - } - } - } - } - - fun setupInvite() { - about_invite.setOnClickListener { - val text = String.format(getString(R.string.share_text), getString(R.string.app_name), getStoreUrl()) - Intent().apply { - action = Intent.ACTION_SEND - putExtra(Intent.EXTRA_SUBJECT, getString(R.string.app_name)) - putExtra(Intent.EXTRA_TEXT, text) - type = "text/plain" - startActivity(Intent.createChooser(this, getString(R.string.invite_via))) - } - } - } - - fun setupLicense() { - about_license.setOnClickListener { - val intent = Intent(applicationContext, LicenseActivity::class.java) - startActivity(intent) - } - } - - fun setupDonate() { - about_donate.setOnClickListener { - startActivity(Intent(Intent.ACTION_VIEW, Uri.parse("http://simplemobiletools.github.io/donate"))) - } - } - - fun setupFacebook() { - about_facebook.setOnClickListener { - var link = "https://www.facebook.com/simplemobiletools" - try { - packageManager.getPackageInfo("com.facebook.katana", 0) - link = "fb://page/150270895341774" - } catch (ignored: Exception) { - } - - startActivity(Intent(Intent.ACTION_VIEW, Uri.parse(link))) - } - } - - fun setupGPlus() { - about_gplus.setOnClickListener { - val link = "https://plus.google.com/communities/104880861558693868382" - startActivity(Intent(Intent.ACTION_VIEW, Uri.parse(link))) - } - } - - private fun getStoreUrl() = "https://play.google.com/store/apps/details?id=$packageName" } diff --git a/app/src/main/kotlin/com/simplemobiletools/notes/activities/LicenseActivity.kt b/app/src/main/kotlin/com/simplemobiletools/notes/activities/LicenseActivity.kt index ef4b969c..45cf18ba 100644 --- a/app/src/main/kotlin/com/simplemobiletools/notes/activities/LicenseActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/notes/activities/LicenseActivity.kt @@ -3,19 +3,11 @@ package com.simplemobiletools.notes.activities import android.content.Intent import android.net.Uri import android.os.Bundle -import com.simplemobiletools.notes.R -import kotlinx.android.synthetic.main.activity_license.* class LicenseActivity : SimpleActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) - setContentView(R.layout.activity_license) - - license_kotlin_title.setOnClickListener { openUrl(R.string.kotlin_url) } - license_ambilwarna_title.setOnClickListener { openUrl(R.string.ambilwarna_url) } - license_filepicker_title.setOnClickListener { openUrl(R.string.filepicker_url) } - license_stetho_title.setOnClickListener { openUrl(R.string.stetho_url) } } private fun openUrl(id: Int) { diff --git a/app/src/main/kotlin/com/simplemobiletools/notes/activities/SimpleActivity.kt b/app/src/main/kotlin/com/simplemobiletools/notes/activities/SimpleActivity.kt index 220f7566..0140219b 100644 --- a/app/src/main/kotlin/com/simplemobiletools/notes/activities/SimpleActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/notes/activities/SimpleActivity.kt @@ -12,7 +12,6 @@ open class SimpleActivity : AppCompatActivity() { override fun onCreate(savedInstanceState: Bundle?) { config = Config.newInstance(applicationContext) - setTheme(if (config.isDarkTheme) R.style.AppTheme_Dark else R.style.AppTheme) super.onCreate(savedInstanceState) } diff --git a/app/src/main/kotlin/com/simplemobiletools/notes/activities/WidgetConfigureActivity.kt b/app/src/main/kotlin/com/simplemobiletools/notes/activities/WidgetConfigureActivity.kt index d63418a0..aa5f257c 100644 --- a/app/src/main/kotlin/com/simplemobiletools/notes/activities/WidgetConfigureActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/notes/activities/WidgetConfigureActivity.kt @@ -62,7 +62,7 @@ class WidgetConfigureActivity : AppCompatActivity() { } updateBackgroundColor() - mTextColor = prefs.getInt(WIDGET_TEXT_COLOR, resources.getColor(R.color.colorPrimary)) + mTextColor = prefs.getInt(WIDGET_TEXT_COLOR, resources.getColor(R.color.color_primary)) updateTextColor() } diff --git a/app/src/main/kotlin/com/simplemobiletools/notes/adapters/NotesPagerAdapter.kt b/app/src/main/kotlin/com/simplemobiletools/notes/adapters/NotesPagerAdapter.kt index b4b9ca69..68b29c30 100644 --- a/app/src/main/kotlin/com/simplemobiletools/notes/adapters/NotesPagerAdapter.kt +++ b/app/src/main/kotlin/com/simplemobiletools/notes/adapters/NotesPagerAdapter.kt @@ -10,11 +10,7 @@ import com.simplemobiletools.notes.fragments.NoteFragment import com.simplemobiletools.notes.models.Note class NotesPagerAdapter(fm: FragmentManager, private val notes: List) : FragmentStatePagerAdapter(fm) { - var fragments: SparseArray - - init { - fragments = SparseArray(5) - } + var fragments: SparseArray = SparseArray(5) override fun getCount() = notes.size diff --git a/app/src/main/kotlin/com/simplemobiletools/notes/extensions/Context.kt b/app/src/main/kotlin/com/simplemobiletools/notes/extensions/Context.kt index 8c0d29f1..aa3e0668 100644 --- a/app/src/main/kotlin/com/simplemobiletools/notes/extensions/Context.kt +++ b/app/src/main/kotlin/com/simplemobiletools/notes/extensions/Context.kt @@ -9,10 +9,10 @@ import com.simplemobiletools.notes.* fun Context.getTextSize() = when (Config.newInstance(this).fontSize) { - FONT_SIZE_SMALL -> resources.getDimension(R.dimen.small_text_size) - FONT_SIZE_LARGE -> resources.getDimension(R.dimen.large_text_size) - FONT_SIZE_EXTRA_LARGE -> resources.getDimension(R.dimen.extra_large_text_size) - else -> resources.getDimension(R.dimen.medium_text_size) + FONT_SIZE_SMALL -> resources.getDimension(R.dimen.smaller_text_size) + FONT_SIZE_LARGE -> resources.getDimension(R.dimen.big_text_size) + FONT_SIZE_EXTRA_LARGE -> resources.getDimension(R.dimen.extra_big_text_size) + else -> resources.getDimension(R.dimen.bigger_text_size) } fun Context.getTextGravity() = diff --git a/app/src/main/res/layout/activity_about.xml b/app/src/main/res/layout/activity_about.xml deleted file mode 100644 index eedd5a17..00000000 --- a/app/src/main/res/layout/activity_about.xml +++ /dev/null @@ -1,125 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/src/main/res/layout/activity_license.xml b/app/src/main/res/layout/activity_license.xml deleted file mode 100644 index e90f67bf..00000000 --- a/app/src/main/res/layout/activity_license.xml +++ /dev/null @@ -1,78 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml index d4164b92..a8c2dfa6 100644 --- a/app/src/main/res/layout/activity_settings.xml +++ b/app/src/main/res/layout/activity_settings.xml @@ -15,7 +15,7 @@ android:id="@+id/settings_dark_theme_holder" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginTop="@dimen/normal_padding" + android:layout_marginTop="@dimen/medium_margin" android:background="?attr/selectableItemBackground" android:padding="@dimen/activity_margin"> @@ -24,8 +24,8 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_centerVertical="true" - android:paddingLeft="@dimen/normal_padding" - android:paddingStart="@dimen/normal_padding" + android:paddingLeft="@dimen/medium_margin" + android:paddingStart="@dimen/medium_margin" android:text="@string/dark_theme"/> + android:textSize="@dimen/big_text_size"/> diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 20441a6f..f59c0373 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -1,15 +1,9 @@ - Simple Notes Notizen Vielen dank, dass du Simple Notes benutzt.\nWeitere einfache Apps findest du auf SimpleMobileTools.com.\n - Speichern - Teilen - Teilen via Leerer Text kann nicht geteilt werden Einfache Notiz Neue Notiz hinzufügen - OK - Abbrechen Bitte benenne deine Notiz Es existiert bereits eine Notiz mit diesem Namen Notiz öffnen @@ -17,15 +11,12 @@ Notiz löschen Bist du sicher, dass du Notiz \"%1$s\" löschen willst? Notiz auswählen - Umbennen Notiz umbenennen Hauptnotiz - Einstellungen - Dunkles Thema - Schriftgröße Widget Notiz + Schriftgröße Klein Normal Groß @@ -35,28 +26,6 @@ Zentriert Rechtsbündig - - Über - Weitere einfache Apps und Quellcode findest du auf:\nhttp://simplemobiletools.com - Bitte sende Vorschläge und Feedback an: - Weitere Apps - Drittanbieterlizenzen - Freunde einladen - Hey, wirf doch mal einen Blick auf %1$s: %2$s - Einladen via - Bewerte uns im Play Store - Spenden - Folge uns: - v %1$s\nCopyright © Simple Mobile Tools %2$d - - - Diese App nutzt die folgenden Drittanbieterbibliotheken, die mein Leben einfacher machen. Danke. - Drittanbieterlizenzen - Kotlin (Programmiersprache) - AmbilWarna (Farbauswahltool) - Stetho (Debugging für Datenbanken) - Simple File Picker (Dateiauswahldialog) - Ein einfaches Textfeld für Notizen. Komplett ohne Werbung @@ -74,7 +43,5 @@ diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index 06c113c8..4c5b78ea 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -1,15 +1,9 @@ - Simple Notes Notas Gracias por usar Simple Notes.\nPara más aplicaciones simples, por favor visite SimpleMobileTools.com.\n - Guardar - Compartir - Compartir vía No se puede compartir una nota vacía Nota simple Añadir una nueva nota - OK - Cancelar Por favor, asigne un nombre a la nota Ya existe una nota con ese nombre Abrir nota @@ -17,13 +11,10 @@ Eliminar nota ¿Está seguro de querer eliminar la nota \"%1$s\"? Seleccione una nota - Renombrar Renombrar nota Nota principal - Opciones - Tema oscuro Tamaño de fuente Nota del widget Pequeña @@ -35,28 +26,6 @@ Centrado Derecha - - Acerca de Simple Notes - Más aplicaciones simples y su código fuente en:\nhttp://simplemobiletools.com - Envíe sus comentarios y sugerencias a: - More apps - Licencias de terceros - Invitar a amigos - Hola, venga y échele un vistazo a %1$s en %2$s - Invitar vía - Evalúenos en Google Play Store - Donate - Síganos: - v %1$s\nCopyright © Simple Mobile Tools %2$d - - - Esta aplicación usa las siguientes librerías de terceros para hacerme la vida más fácil. Gracias. - Licencias de terceros - Kotlin (Lenguaje de programación) - AmbilWarna (Selector de colores) - Stetho (debugging databases) - Simple File Picker (filepicker dialog) - Un simple campo de texto para añadir breves y rápidas notas, sin anuncios. @@ -74,7 +43,5 @@ diff --git a/app/src/main/res/values-fr/strings.xml b/app/src/main/res/values-fr/strings.xml index f9d3757d..2398c4a7 100644 --- a/app/src/main/res/values-fr/strings.xml +++ b/app/src/main/res/values-fr/strings.xml @@ -1,15 +1,9 @@ - Simple Notes Notes Merci d\'utiliser Simple Notes.\nPour plus d\'applications simples merci de visiter SimpleMobileTools.com.\n - Sauvegarder - Partager - Partager via Impossible de partager un texte vide Simple Note Ajouter une nouvelle note - Ok - Annuler Veuillez nommer votre note Une note avec le même titre existe déjà Ouvrir la note @@ -17,13 +11,10 @@ Supprimer la note Etes-vous sûr de vouloir supprimer la note \"%1$s\"? Choisir une note - Renommer Renomme la note Note générale - Paramètres - Thème sombre Note utilisée dans le widget Taille de la police de la note Petite @@ -35,28 +26,6 @@ Centre Droite - - A propos - Plus d\'applications simples et code source à :\nhttp://simplemobiletools.com - Envoyez vos impresions ou suggestions à : - Plus d\'applications - Licences tierces - Inviter des amis - Hey, viens voir %1$s à %2$s - Inviter via - Notez nous dans le Play Store - Faire un don - Nous suivre: - v %1$s\nCopyright © Simple Mobile Tools %2$d - - - Cette application utilise les librairies tierces suivants pour me faciliter la vie. Merci. - Licence tierces - Kotlin (langage de programmation) - AmbilWarna (sélecteur de couleur) - Stetho (débogage de base de données) - Simple File Picker (dialogue de sélecteur de fichier) - Un champ texte simple pour ajouter des notes rapides, sans publicités. @@ -74,7 +43,5 @@ diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml index 93ce774f..c2afd215 100644 --- a/app/src/main/res/values-hu/strings.xml +++ b/app/src/main/res/values-hu/strings.xml @@ -1,15 +1,9 @@ - Egyszerű Jegyzetfüzet Jegyzetek Köszönjük, hogy az Egyszerű Jegyzetfüzetet használod.\nTovábbi egyszerű alkalmazásokért látogass a SimpleMobileTools.com-ra.\n - Mentés - Megosztás - Megosztás itt: Nem létező szöveget nem lehet megosztani Egyszerű Jegyzet Új jegyzet hozzáadása - OK - Mégsem Adj címet a jegyzetednek Egy jegyzet ugyanilyen címmel már létezik Jegyzet megnyitása @@ -17,13 +11,10 @@ Jegyzet törlése Biztos, hogy törlöd a(z) \"%1$s\" című jegyzetet? Válassz egy jegyzetet - Átnevezés Jegyzet átnevezése Alapértelmezett jegyzet - Beállítások - Sötét téma A widget-ben használt jegyzet Betűméret Kis @@ -35,32 +26,6 @@ Középre Jobbra - - Információ - További egyszerű alkalmazások és a forráskód itt:\nhttp://simplemobiletools.com - Visszajelzés és javaslatok: - More apps - Harmadik fél licenszek - Barátok meghívása - Szia, ezt nézd meg! %1$s itt: %2$s - Meghívó küldése itt - Értékelés a Play Store-ban - Donate - Követés: - %1$s verzió\nSzerzői jogok: © Simple Mobile Tools %2$d - - - Ez az alkalmazás az alábbi könyvtárakat használja, hogy a munkám egyszerűbb legyen. Köszönöm szépen. - Harmadik fél licenszek - Kotlin (programozási nyelv) - - AmbilWarna (színválasztó) - - Stetho (adatbázisok hibakeresésére) - - Simple File Picker (fájlválasztó párbeszédablak) - - Egyszerű szövegmező gyors jegyzetírásra, reklámok nélkül. @@ -78,7 +43,5 @@ diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 9766e7db..05535583 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -1,15 +1,9 @@ - Simple Notes Notes Grazie per avere scelto Simple Notes.\nPer altre semplici app visita SimpleMobileTools.com.\n - Salva - Condividi - Condividi via Impossibile condividere un testo vuoto Simple Note Add a new note - OK - Cancel Please name your note A note with that title already exists Open note @@ -17,13 +11,10 @@ Delete note Are you sure you want to delete note \"%1$s\"? Pick a note - Rename Rename note General note - Impostazioni - Tema scuro Note font size Note used in widget Small @@ -35,28 +26,6 @@ Center Right - - Informazioni - Altre semplici app e codici sorgenti in:\nhttp://simplemobiletools.com - Invia la tua opinione o i tuoi suggerimenti a: - More apps - Licenze di terze parti - Invite friends - Hey, come check out %1$s at %2$s - Invite via - Dacci un voto sul Play Store - Donate - Seguici: - v %1$s\nCopyright © Simple Mobile Tools %2$d - - - Questa app usa le seguenti librerie di terze parti per semplificarmi la vita. Grazie. - Licenze di terze parti - Kotlin (programming language) - AmbilWarna (color picker) - Stetho (debugging databases) - Simple File Picker (filepicker dialog) - A simple textfield for adding quick notes, without ads. @@ -74,7 +43,5 @@ diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index c8b467a1..5447fca2 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -1,15 +1,9 @@  - シンプル メモ メモ シンプルメモのご利用ありがとうございます。\n他のシンプルアプリは SimpleMobileTools.com をご覧ください。\n - 保存 - 共有 - 共有… 空のテキストは共有できません シンプル メモ 新しいメモを追加 - OK - キャンセル メモに名前をつけてください そのタイトルのメモはすでに存在します メモを開く @@ -17,13 +11,10 @@ メモを削除 メモ \"%1$s\" を削除してもよろしいですか? メモを選択 - 名前を変更 メモの名前を変更 全般メモ - 設定 - ダークテーマ メモのフォントサイズ ウィジェットで使用するメモ @@ -35,28 +26,6 @@ 中央 - - アプリについて - もっとシンプルなアプリとソースコードは:\nhttp://simplemobiletools.com - ご意見やご提案をお送りください: - More apps - サードパーティー ライセンス - 友達を招待 - %2$s で %1$s をチェックしてみてください - 招待... - Play ストアで評価してください - Donate - フォローしてください: - v %1$s\nCopyright © Simple Mobile Tools %2$d - - - このアプリは、私の暮らしにゆとりを持たせるために、次のサードパーティのライブラリーを使用しています。 ありがとうございます。 - サードパーティー ライセンス - Kotlin (プログラミング言語) - AmbilWarna (カラー ピッカー) - Stetho (デバッグ データベース) - Simple File Picker (ファイルピッカー ダイアログ) - 簡単なメモを追加するためのシンプルなテキストフィールド。広告はありません。 @@ -74,7 +43,5 @@ diff --git a/app/src/main/res/values-pt-rPT/strings.xml b/app/src/main/res/values-pt-rPT/strings.xml index 6b1dbd4b..43ab885c 100644 --- a/app/src/main/res/values-pt-rPT/strings.xml +++ b/app/src/main/res/values-pt-rPT/strings.xml @@ -1,15 +1,9 @@ - Simple Notes Notas Obrigado por usar o Simple Notes.\nPara mais aplicações Simple, aceda a SimpleMobileTools.com.\n - Guardar - Partilhar - Partilhar via Não pode partilhar texto em branco Nota simples Adicionar uma nota - OK - Cancelar Por favor dê um nome à sua nota Já existe uma nota com este título Abrir nota @@ -17,13 +11,10 @@ Apagar nota Deseja mesmo apagar a nota \"%1$s\"? Selecione uma nota - Renomear Renomear nota Nota genérica - Definições - Tema escuro Tamanho do texto da nota Nota utilizada no widget Pequeno @@ -35,28 +26,6 @@ Centro Direita - - Acerca - Mais aplicações Simple e código fonte em:\nhttp://simplemobiletools.com - Envie os seus comentários ou sugestões para: - Mais aplicações - Licenças de terceiros - Convidar amigos - Olá, experimenta %1$s em %2$s - Convidar via - Avalie-nos na Play Store - Donativos - Siga-nos: - V %1$s\nCopyright © Simple Mobile Tools %2$d - - - Esta aplicação usa as seguintes bibliotecas de terceiros para facilitar a minha vida. Obrigado. - Licenças de terceiros - Kotlin (linguagem de programação) - AmbilWarna (seletor de cores) - Stetho (depuração a bases de dados) - Simple File Picker (diálogo de seleção de ficheiros) - Um campo de texto para adicionar as suas notas. @@ -74,7 +43,5 @@ diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index c17f6f8c..b084e21c 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -1,15 +1,9 @@ - Simple Notes Notes Tack för att du använder Simple Notes.\nFör fler enkla appar, gå till simplemobiletools.com.\n - Spara - Dela - Dela via Det går inte att dela utan text Simple Note Add a new note - OK - Cancel Please name your note A note with that title already exists Open note @@ -17,13 +11,10 @@ Delete note Are you sure you want to delete note \"%1$s\"? Pick a note - Rename Rename note General note - Inställningar - Mörkt tema Note font size Note used in widget Small @@ -35,28 +26,6 @@ Center Right - - Om - Fler enkla appar och källkod här:\nhttp://simplemobiletools.com - Skicka feedback och förslag till: - More apps - Tredjepartslicenser - Invite friends - Hey, come check out %1$s at %2$s - Invite via - Betygsätt oss i Play Butiken - Donate - Följ oss: - v %1$s\nCopyright © Simple Mobile Tools %2$d - - - Denna app använder följande tredjepartsbibliotek för att göra mitt liv enklare. Tack. - Tredjepartslicenser - Kotlin (programming language) - AmbilWarna (color picker) - Stetho (debugging databases) - Simple File Picker (filepicker dialog) - A simple textfield for adding quick notes, without ads. @@ -74,7 +43,5 @@ diff --git a/app/src/main/res/values-sw600dp/dimens.xml b/app/src/main/res/values-sw600dp/dimens.xml deleted file mode 100644 index e006529e..00000000 --- a/app/src/main/res/values-sw600dp/dimens.xml +++ /dev/null @@ -1,8 +0,0 @@ - - 12dp - 50dp - 12dp - - 18sp - 22sp - diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml deleted file mode 100644 index 985ae07d..00000000 --- a/app/src/main/res/values/colors.xml +++ /dev/null @@ -1,7 +0,0 @@ - - - #fff68630 - #ffe27725 - @color/colorPrimary - #88000000 - diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml deleted file mode 100644 index d292fcc1..00000000 --- a/app/src/main/res/values/dimens.xml +++ /dev/null @@ -1,13 +0,0 @@ - - 16dp - 8dp - 40dp - 8dp - - 12sp - 14sp - 16sp - 18sp - 22sp - 18sp - diff --git a/app/src/main/res/values/donottranslate.xml b/app/src/main/res/values/donottranslate.xml index 6b79df5b..0c93cc05 100644 --- a/app/src/main/res/values/donottranslate.xml +++ b/app/src/main/res/values/donottranslate.xml @@ -1,14 +1,3 @@ - - hello@simplemobiletools.com - - - Copyright 2010 - 2016 JetBrains s.r.o.\n\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions and limitations under the License. - https://github.com/JetBrains/kotlin - Copyright 2009-2015 Yuku\n\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. - https://github.com/yukuku/ambilwarna - BSD License\n\nFor Stetho software\n\nCopyright (c) 2015, Facebook, Inc. All rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n * Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n\n * Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n\n * Neither the name Facebook nor the names of its contributors may be used to\n endorse or promote products derived from this software without specific\n prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\nDISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR\nANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES\n(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;\nLOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON\nANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS\nSOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - https://github.com/facebook/stetho - Copyright 2016 SimpleMobileTools\n\nLicensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS,WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.See the License for the specific language governing permissions and limitations under the License. - https://github.com/SimpleMobileTools/Simple-File-Picker + Simple Notes diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index c655e807..df66c43f 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,15 +1,9 @@ - Simple Notes Notes Thank you for using Simple Notes.\nFor more simple apps please visit SimpleMobileTools.com.\n - Save - Share - Share via Cannot share empty text Simple Note Add a new note - OK - Cancel Please name your note A note with that title already exists Open note @@ -17,13 +11,10 @@ Delete note Are you sure you want to delete note \"%1$s\"? Pick a note - Rename Rename note General note - Settings - Dark theme Note used in widget Note font size Small @@ -35,28 +26,6 @@ Center Right - - About - More simple apps and source code at:\nhttp://simplemobiletools.com - Send your feedback or suggestions to: - More apps - Third party licences - Invite friends - Hey, come check out %1$s at %2$s - Invite via - Rate us in the Play Store - Donate - Follow us: - v %1$s\nCopyright © Simple Mobile Tools %2$d - - - This app uses the following third party libraries to make my life easier. Thank you. - Third party licences - Kotlin (programming language) - AmbilWarna (color picker) - Stetho (debugging databases) - Simple File Picker (filepicker dialog) - A simple textfield for adding quick notes, without ads. @@ -74,7 +43,5 @@ diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml index c03f83a5..0be50415 100644 --- a/app/src/main/res/values/styles.xml +++ b/app/src/main/res/values/styles.xml @@ -1,53 +1,5 @@ - + - - - - - - - - - -