diff --git a/app/build.gradle b/app/build.gradle index db9f357..33fd47b 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -32,8 +32,7 @@ android { } dependencies { - compile 'com.android.support:appcompat-v7:25.0.1' - + compile 'com.simplemobiletools:commons:2.32.0' compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" } diff --git a/app/proguard-rules.pro b/app/proguard-rules.pro index 25ea334..e69de29 100644 --- a/app/proguard-rules.pro +++ b/app/proguard-rules.pro @@ -1,17 +0,0 @@ -# Add project specific ProGuard rules here. -# By default, the flags in this file are appended to flags specified -# in $ANDROID_HOME/tools/proguard/proguard-android.txt -# You can edit the include path and order by changing the proguardFiles -# directive in build.gradle. -# -# For more details, see -# http://developer.android.com/guide/developing/tools/proguard.html - -# Add any project specific keep options here: - -# If your project uses WebView with JS, uncomment the following -# and specify the fully qualified class name to the JavaScript interface -# class: -#-keepclassmembers class fqcn.of.javascript.interface.for.webview { -# public *; -#} diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index bb97f0b..8b23c52 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -16,20 +16,25 @@ - - - - + + + + + + diff --git a/app/src/main/kotlin/com/simplemobiletools/thankyou/activities/AboutActivity.kt b/app/src/main/kotlin/com/simplemobiletools/thankyou/activities/AboutActivity.kt deleted file mode 100644 index 18a6874..0000000 --- a/app/src/main/kotlin/com/simplemobiletools/thankyou/activities/AboutActivity.kt +++ /dev/null @@ -1,114 +0,0 @@ -package com.simplemobiletools.thankyou.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.thankyou.BuildConfig -import com.simplemobiletools.thankyou.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() - setupRateUs() - setupInvite() - setupLicense() - setupDonate() - setupFacebook() - setupGPlus() - setupCopyright() - } - - 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 (mConfig.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/thankyou/activities/LicenseActivity.kt b/app/src/main/kotlin/com/simplemobiletools/thankyou/activities/LicenseActivity.kt deleted file mode 100644 index b5ae6af..0000000 --- a/app/src/main/kotlin/com/simplemobiletools/thankyou/activities/LicenseActivity.kt +++ /dev/null @@ -1,22 +0,0 @@ -package com.simplemobiletools.thankyou.activities - -import android.content.Intent -import android.net.Uri -import android.os.Bundle -import com.simplemobiletools.thankyou.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) } - } - - private fun openUrl(id: Int) { - val url = resources.getString(id) - val browserIntent = Intent(Intent.ACTION_VIEW, Uri.parse(url)) - startActivity(browserIntent) - } -} diff --git a/app/src/main/kotlin/com/simplemobiletools/thankyou/activities/MainActivity.kt b/app/src/main/kotlin/com/simplemobiletools/thankyou/activities/MainActivity.kt index 70185bf..2cac6a8 100644 --- a/app/src/main/kotlin/com/simplemobiletools/thankyou/activities/MainActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/thankyou/activities/MainActivity.kt @@ -4,18 +4,23 @@ import android.content.Intent import android.os.Bundle import android.view.Menu import android.view.MenuItem +import com.simplemobiletools.commons.activities.BaseSimpleActivity +import com.simplemobiletools.commons.extensions.updateTextColors +import com.simplemobiletools.commons.helpers.LICENSE_KOTLIN +import com.simplemobiletools.thankyou.BuildConfig import com.simplemobiletools.thankyou.R +import kotlinx.android.synthetic.main.activity_main.* -class MainActivity : SimpleActivity() { +class MainActivity : BaseSimpleActivity() { override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_main) } - override fun onDestroy() { - super.onDestroy() - mConfig.isFirstRun = false + override fun onResume() { + super.onResume() + updateTextColors(activity_main) } override fun onCreateOptionsMenu(menu: Menu): Boolean { @@ -24,16 +29,19 @@ class MainActivity : SimpleActivity() { } override fun onOptionsItemSelected(item: MenuItem): Boolean { - return when (item.itemId) { - R.id.settings -> { - startActivity(Intent(applicationContext, SettingsActivity::class.java)) - true - } - R.id.about -> { - startActivity(Intent(applicationContext, AboutActivity::class.java)) - true - } - else -> super.onOptionsItemSelected(item) + when (item.itemId) { + R.id.settings -> launchSettings() + R.id.about -> launchAbout() + else -> return super.onOptionsItemSelected(item) } + return true + } + + private fun launchSettings() { + startActivity(Intent(this, SettingsActivity::class.java)) + } + + private fun launchAbout() { + startAboutActivity(R.string.app_name, LICENSE_KOTLIN, BuildConfig.VERSION_NAME) } } diff --git a/app/src/main/kotlin/com/simplemobiletools/thankyou/activities/SettingsActivity.kt b/app/src/main/kotlin/com/simplemobiletools/thankyou/activities/SettingsActivity.kt index ea741db..8c3ee6b 100644 --- a/app/src/main/kotlin/com/simplemobiletools/thankyou/activities/SettingsActivity.kt +++ b/app/src/main/kotlin/com/simplemobiletools/thankyou/activities/SettingsActivity.kt @@ -1,28 +1,27 @@ package com.simplemobiletools.thankyou.activities import android.os.Bundle -import android.support.v4.app.TaskStackBuilder +import com.simplemobiletools.commons.activities.BaseSimpleActivity +import com.simplemobiletools.commons.extensions.updateTextColors import com.simplemobiletools.thankyou.R import kotlinx.android.synthetic.main.activity_settings.* -class SettingsActivity : SimpleActivity() { +class SettingsActivity : BaseSimpleActivity() { + override fun onCreate(savedInstanceState: Bundle?) { super.onCreate(savedInstanceState) setContentView(R.layout.activity_settings) - - setupDarkTheme() } - private fun setupDarkTheme() { - settings_dark_theme.isChecked = mConfig.isDarkTheme - settings_dark_theme_holder.setOnClickListener { - settings_dark_theme.toggle() - mConfig.isDarkTheme = settings_dark_theme.isChecked - restartActivity() + override fun onResume() { + super.onResume() + setupCustomizeColors() + updateTextColors(settings_holder) + } + + private fun setupCustomizeColors() { + settings_customize_colors_holder.setOnClickListener { + startCustomizationActivity() } } - - private fun restartActivity() { - TaskStackBuilder.create(applicationContext).addNextIntentWithParentStack(intent).startActivities() - } } diff --git a/app/src/main/kotlin/com/simplemobiletools/thankyou/activities/SimpleActivity.kt b/app/src/main/kotlin/com/simplemobiletools/thankyou/activities/SimpleActivity.kt deleted file mode 100644 index 7084233..0000000 --- a/app/src/main/kotlin/com/simplemobiletools/thankyou/activities/SimpleActivity.kt +++ /dev/null @@ -1,27 +0,0 @@ -package com.simplemobiletools.thankyou.activities - -import android.os.Bundle -import android.support.v7.app.AppCompatActivity -import android.view.MenuItem -import com.simplemobiletools.thankyou.R -import com.simplemobiletools.thankyou.helpers.Config - -open class SimpleActivity : AppCompatActivity() { - lateinit var mConfig: Config - - override fun onCreate(savedInstanceState: Bundle?) { - mConfig = Config.newInstance(applicationContext) - setTheme(if (mConfig.isDarkTheme) R.style.AppTheme_Dark else R.style.AppTheme) - super.onCreate(savedInstanceState) - } - - override fun onOptionsItemSelected(item: MenuItem): Boolean { - return when (item.itemId) { - android.R.id.home -> { - finish() - true - } - else -> super.onOptionsItemSelected(item) - } - } -} 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 c8c3c60..0000000 --- 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 01dd8df..0000000 --- a/app/src/main/res/layout/activity_license.xml +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index 22e91f6..19d9291 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -5,14 +5,14 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - diff --git a/app/src/main/res/layout/activity_settings.xml b/app/src/main/res/layout/activity_settings.xml index 4db69e0..11a4618 100644 --- a/app/src/main/res/layout/activity_settings.xml +++ b/app/src/main/res/layout/activity_settings.xml @@ -12,30 +12,21 @@ android:orientation="vertical"> - - - + android:paddingLeft="@dimen/medium_margin" + android:paddingStart="@dimen/medium_margin" + android:text="@string/customize_colors"/> diff --git a/app/src/main/res/mipmap-hdpi/facebook.png b/app/src/main/res/mipmap-hdpi/facebook.png deleted file mode 100644 index c36f37f..0000000 Binary files a/app/src/main/res/mipmap-hdpi/facebook.png and /dev/null differ diff --git a/app/src/main/res/mipmap-hdpi/gplus.png b/app/src/main/res/mipmap-hdpi/gplus.png deleted file mode 100644 index 897f103..0000000 Binary files a/app/src/main/res/mipmap-hdpi/gplus.png and /dev/null differ diff --git a/app/src/main/res/mipmap-mdpi/facebook.png b/app/src/main/res/mipmap-mdpi/facebook.png deleted file mode 100644 index 998649f..0000000 Binary files a/app/src/main/res/mipmap-mdpi/facebook.png and /dev/null differ diff --git a/app/src/main/res/mipmap-mdpi/gplus.png b/app/src/main/res/mipmap-mdpi/gplus.png deleted file mode 100644 index 54f1b83..0000000 Binary files a/app/src/main/res/mipmap-mdpi/gplus.png and /dev/null differ diff --git a/app/src/main/res/mipmap-xhdpi/facebook.png b/app/src/main/res/mipmap-xhdpi/facebook.png deleted file mode 100644 index ff95719..0000000 Binary files a/app/src/main/res/mipmap-xhdpi/facebook.png and /dev/null differ diff --git a/app/src/main/res/mipmap-xhdpi/gplus.png b/app/src/main/res/mipmap-xhdpi/gplus.png deleted file mode 100644 index 47bd6ef..0000000 Binary files a/app/src/main/res/mipmap-xhdpi/gplus.png and /dev/null differ diff --git a/app/src/main/res/mipmap-xxhdpi/facebook.png b/app/src/main/res/mipmap-xxhdpi/facebook.png deleted file mode 100644 index 7f23d90..0000000 Binary files a/app/src/main/res/mipmap-xxhdpi/facebook.png and /dev/null differ diff --git a/app/src/main/res/mipmap-xxhdpi/gplus.png b/app/src/main/res/mipmap-xxhdpi/gplus.png deleted file mode 100644 index d580cd5..0000000 Binary files a/app/src/main/res/mipmap-xxhdpi/gplus.png and /dev/null differ diff --git a/app/src/main/res/mipmap-xxxhdpi/facebook.png b/app/src/main/res/mipmap-xxxhdpi/facebook.png deleted file mode 100644 index 7635bf3..0000000 Binary files a/app/src/main/res/mipmap-xxxhdpi/facebook.png and /dev/null differ diff --git a/app/src/main/res/mipmap-xxxhdpi/gplus.png b/app/src/main/res/mipmap-xxxhdpi/gplus.png deleted file mode 100644 index 932c51a..0000000 Binary files a/app/src/main/res/mipmap-xxxhdpi/gplus.png and /dev/null differ diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml index 3e77cf5..d27be68 100644 --- a/app/src/main/res/values-de/strings.xml +++ b/app/src/main/res/values-de/strings.xml @@ -3,35 +3,11 @@ Thank You Thank you for supporting us!\nDrop us a line at \n hello@simplemobiletools.com,\n we\'d love to hear all your feedback and suggestions. - - Einstellungen - Dunkles Design - - - Über - For the source codes visit\nhttp://simplemobiletools.com - Sende Vorschläge und Feedback an: - More apps - Drittanbieterlizenzen - Lade Freunde ein - Hey, wirf mal einen Blick auf %1$s: %2$s - Einladen via - Bewerte uns - Donate - 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) - A paid app for people who want to support us, not doing anything whatsoever. If you like our apps which are free, non-intrusive and have no ads, please consider supporting us in some way. It will be hugely appreciated. - This one doesn\'t do anything, but it has a dark theme. That looks cool. It saves your battery and stuff. This app is just one piece of a bigger series of apps. You can find the rest of them at http://www.simplemobiletools.com diff --git a/app/src/main/res/values-es/strings.xml b/app/src/main/res/values-es/strings.xml index aee0751..d27be68 100644 --- a/app/src/main/res/values-es/strings.xml +++ b/app/src/main/res/values-es/strings.xml @@ -3,35 +3,11 @@ Thank You Thank you for supporting us!\nDrop us a line at \n hello@simplemobiletools.com,\n we\'d love to hear all your feedback and suggestions. - - Opciones - Tema oscuro - - - Acerca de Simple Camera - For the source codes visit\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 - Rate us - 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) - A paid app for people who want to support us, not doing anything whatsoever. If you like our apps which are free, non-intrusive and have no ads, please consider supporting us in some way. It will be hugely appreciated. - This one doesn\'t do anything, but it has a dark theme. That looks cool. It saves your battery and stuff. This app is just one piece of a bigger series of apps. You can find the rest of them at http://www.simplemobiletools.com diff --git a/app/src/main/res/values-hi-rIN/strings.xml b/app/src/main/res/values-hi-rIN/strings.xml index f36ecf9..d27be68 100644 --- a/app/src/main/res/values-hi-rIN/strings.xml +++ b/app/src/main/res/values-hi-rIN/strings.xml @@ -3,35 +3,11 @@ Thank You Thank you for supporting us!\nDrop us a line at \n hello@simplemobiletools.com,\n we\'d love to hear all your feedback and suggestions. - - सेटिंग्स - काली थीम - - - के बारे में - For the source codes visit\nhttp://simplemobiletools.com - अपनी राय या सुझाव को भेजें: - More apps - तीसरी पार्टी के लाइसेंस - मित्रो को आमन्त्रित करें - अरे, %1$s को %2$s पर देखो - के माध्यम से आमंत्रित - Rate us - Donate - हमे फॉलो करें: - सं %1$s\nकॉपीराइट © सिंपल मोबाइल टूल्स %2$d - - - मेरा जीवन आसान करने के लिए यह एप्प तीसरे पक्ष की लाइब्रेरी का इस्तेमाल करती हैं। धन्यवाद। - तीसरे पक्ष के लाइसेंस - Kotlin (programming language) - A paid app for people who want to support us, not doing anything whatsoever. If you like our apps which are free, non-intrusive and have no ads, please consider supporting us in some way. It will be hugely appreciated. - This one doesn\'t do anything, but it has a dark theme. That looks cool. It saves your battery and stuff. This app is just one piece of a bigger series of apps. You can find the rest of them at http://www.simplemobiletools.com diff --git a/app/src/main/res/values-hu/strings.xml b/app/src/main/res/values-hu/strings.xml index 5f2875d..d27be68 100644 --- a/app/src/main/res/values-hu/strings.xml +++ b/app/src/main/res/values-hu/strings.xml @@ -3,35 +3,11 @@ Thank You Thank you for supporting us!\nDrop us a line at \n hello@simplemobiletools.com,\n we\'d love to hear all your feedback and suggestions. - - Beállítások - Sötét téma - - - Információ - 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 - 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) - A paid app for people who want to support us, not doing anything whatsoever. If you like our apps which are free, non-intrusive and have no ads, please consider supporting us in some way. It will be hugely appreciated. - This one doesn\'t do anything, but it has a dark theme. That looks cool. It saves your battery and stuff. This app is just one piece of a bigger series of apps. You can find the rest of them at http://www.simplemobiletools.com diff --git a/app/src/main/res/values-it/strings.xml b/app/src/main/res/values-it/strings.xml index 7106783..d27be68 100644 --- a/app/src/main/res/values-it/strings.xml +++ b/app/src/main/res/values-it/strings.xml @@ -3,35 +3,11 @@ Thank You Thank you for supporting us!\nDrop us a line at \n hello@simplemobiletools.com,\n we\'d love to hear all your feedback and suggestions. - - Impostazioni - Tema scuro - - - Informazioni - For the source codes visit\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 - Rate us - 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) - A paid app for people who want to support us, not doing anything whatsoever. If you like our apps which are free, non-intrusive and have no ads, please consider supporting us in some way. It will be hugely appreciated. - This one doesn\'t do anything, but it has a dark theme. That looks cool. It saves your battery and stuff. This app is just one piece of a bigger series of apps. You can find the rest of them at http://www.simplemobiletools.com diff --git a/app/src/main/res/values-ja/strings.xml b/app/src/main/res/values-ja/strings.xml index 2355872..72c4723 100644 --- a/app/src/main/res/values-ja/strings.xml +++ b/app/src/main/res/values-ja/strings.xml @@ -3,35 +3,11 @@ Thank You Thank you for supporting us!\nDrop us a line at \n hello@simplemobiletools.com,\n we\'d love to hear all your feedback and suggestions. - - 設定 - ダークテーマ - - - アプリについて - For the source codes visit\nhttp://simplemobiletools.com - ご意見やご提案を送信してください: - More apps - サードパーティー ライセンス - 友達を招待 - %2$s で %1$s を確認してください - 招待... - Rate us - Donate - フォローしてください: - v %1$s\nCopyright © Simple Mobile Tools %2$d - - - このアプリは、私の暮らしにゆとりを持たせるために、次のサードパーティのライブラリーを使用しています。 ありがとうございます。 - サードパーティー ライセンス - Kotlin (プログラミング言語) - A paid app for people who want to support us, not doing anything whatsoever. If you like our apps which are free, non-intrusive and have no ads, please consider supporting us in some way. It will be hugely appreciated. - This one doesn\'t do anything, but it has a dark theme. That looks cool. It saves your battery and stuff. This app is just one piece of a bigger series of apps. You can find the rest of them at http://www.simplemobiletools.com diff --git a/app/src/main/res/values-lt/strings.xml b/app/src/main/res/values-lt/strings.xml index d2eef8a..d27be68 100644 --- a/app/src/main/res/values-lt/strings.xml +++ b/app/src/main/res/values-lt/strings.xml @@ -3,35 +3,11 @@ Thank You Thank you for supporting us!\nDrop us a line at \n hello@simplemobiletools.com,\n we\'d love to hear all your feedback and suggestions. - - Nustatymai - Tamsi tema - - - Apie - For the source codes visit\nhttp://simplemobiletools.com - Siųsti savo grįžtamąjį ryšį arba pasiūlymus čia: - More apps - Trečiųjų šalių licenzijos - Pakvieskite draugus - Ei, ateikite čia ir patikrinkite %1$s čia %2$s - Pakviesti per - Rate us - Donate - Sekti mus: - v %1$s\nVisos teisės saugomos © Simple Mobile Tools %2$d - - - Ši programėlė naudoja sekančias trečiųjų šyalių bibliotekas, kad palengvinti man gyvenimą. Ačiū. - Trečiųjų šalių licenzijos - Kotlin (programming language) - A paid app for people who want to support us, not doing anything whatsoever. If you like our apps which are free, non-intrusive and have no ads, please consider supporting us in some way. It will be hugely appreciated. - This one doesn\'t do anything, but it has a dark theme. That looks cool. It saves your battery and stuff. This app is just one piece of a bigger series of apps. You can find the rest of them at http://www.simplemobiletools.com diff --git a/app/src/main/res/values-pl/strings.xml b/app/src/main/res/values-pl/strings.xml index 907e2dd..82a0978 100644 --- a/app/src/main/res/values-pl/strings.xml +++ b/app/src/main/res/values-pl/strings.xml @@ -3,32 +3,6 @@ Simple Thank You Dziękujemy niezmiernie za wsparcie! Piszcie do nas na \n hello@simplemobiletools.com \n Wszelkie uwagi, sugestie i dobre słowo są mile widziane! - - Ustawienia - Ciemny motyw - - - O aplikacji - Kody źródłowe naszych aplikacji dostępne są na simplemobiletools.com - Wyślij opinię lub sugestię na: - hello@simplemobiletools.com - Więcej naszych aplikacji - Licencje innych firm - Zaproponuj aplikację znajomym - Hej! Sprawdź aplikację %1$s (link: %2$s) - Wybierz sposób - Oceń nas - Wspomóż nas - Śledź nas: - Wersja %1$s\nCopyright © Simple Mobile Tools %2$d - - - Aplikacja ta korzysta z następujących bibliotek innych firm: - Licencje innych firm - Kotlin (język programowania) - 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 - Płatna aplikacja dla ludzi dobrej woli chcących wesprzeć nas i naszą pracę. diff --git a/app/src/main/res/values-pt-rPT/strings.xml b/app/src/main/res/values-pt-rPT/strings.xml index 0d5b2dd..ce07607 100644 --- a/app/src/main/res/values-pt-rPT/strings.xml +++ b/app/src/main/res/values-pt-rPT/strings.xml @@ -3,35 +3,11 @@ Obrigado Obrigado por nos apoiar!\nEscreva-nos um e-mail para \n hello@simplemobiletools.com.\n Gostaríamos de conhecer os seus comentários e sugestões. - - Definições - Tema escuro - - - Acerca - Para aceder ao código fonte, visite\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 - 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) - Uma aplicação paga para aquelas pessoas que nos querem apoiar, mas que nada faz. Se você gosta das nossas aplicações, que são gratuitas, não intrusivas e não possuem anúncios, esta é a sua forma de nos ajudar. E será muito apreciada. - Esta aplicação nada faz, mas tem um tema escuro para o ajudar a poupar bateria e a não cansar a sua vista. Esta aplicação é apenas parte de um conjunto mais vasto de aplicações. Saiba mais em http://www.simplemobiletools.com diff --git a/app/src/main/res/values-ru/strings.xml b/app/src/main/res/values-ru/strings.xml index 64186e6..7fff54e 100644 --- a/app/src/main/res/values-ru/strings.xml +++ b/app/src/main/res/values-ru/strings.xml @@ -3,36 +3,12 @@ Спасибо Спасибо за вашу поддержку!\nОтправьте нам пару строк на \n hello@simplemobiletools.com,\n мы с радостью прочтём ваши отзывы и предложения. - - Настройки - Тёмная тема - - - О приложении - Исходный код можно найти по адресу:\nhttp://simplemobiletools.com - Отправить отзывы или предложения: - Больше простых приложений - Лицензии третьих сторон - Предложить другу - Попробуй %1$s по ссылке %2$s - Предложить с помощью - Оценить нас в Google Play - Поддержать разработчика - Подписаться на нас: - v %1$s\nCopyright © Simple Mobile Tools %2$d - - - Это приложение использует следующие библиотеки сторонних разработчиков, чтобы облегчить мой труд. Спасибо. - Лицензии третьих сторон - Kotlin (язык программирования) - Платное приложение, для тех, кто хочет поддержать Simple Mobile Tools. Если вам нравится, что наши приложения бесплатны, ненавязчивы и не содержат рекламы, пожалуйста, поддержите нас. Мы очень ценим вашу поддержку. - Хоть приложение ничего не делает, в нём есть тёмная тема. Выглядит круто. Экономит заряд аккумулятора. Thank You - это приложение из серии Simple Mobile Tools. Остальные приложения из этой серии можно найти здесь: http://www.simplemobiletools.com diff --git a/app/src/main/res/values-sv/strings.xml b/app/src/main/res/values-sv/strings.xml index 6544aad..9980c9a 100644 --- a/app/src/main/res/values-sv/strings.xml +++ b/app/src/main/res/values-sv/strings.xml @@ -3,35 +3,11 @@ Tack Tack för att du stödjer oss!\nSkriv till oss på \n hello@simplemobiletools.com,\n vi vill gärna höra alla dina synpunkter och förslag. - - Inställningar - Mörkt tema - - - Om - Du hittar källkoden på\nhttp://simplemobiletools.com - Skicka feedback och förslag till: - Fler appar - Tredjepartslicenser - Bjud in vänner - Hej, läs om %1$s på %2$s - Bjud in via - Betygsätt oss - Donera - 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 (programmeringsspråk) - En betalapp för personer som vill stödja oss, gör ingenting alls. Om du gillar våra appar som är gratis, inte är påträngande och inte innehåller reklam, överväg att stödja oss på något sätt. Det kommer att uppskattas enormt. - Denna app gör ingenting, men den har ett mörkt tema. Det ser coolt ut och sparar ditt batteri. Denna app är bara en del av en större serie appar. Du hittar resten av dem på http://www.simplemobiletools.com 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 b2c98e3..0000000 --- a/app/src/main/res/values-sw600dp/dimens.xml +++ /dev/null @@ -1,4 +0,0 @@ - - 12dp - 50dp - diff --git a/app/src/main/res/values-zh/strings.xml b/app/src/main/res/values-zh/strings.xml index bc62f2c..d27be68 100644 --- a/app/src/main/res/values-zh/strings.xml +++ b/app/src/main/res/values-zh/strings.xml @@ -3,35 +3,11 @@ Thank You Thank you for supporting us!\nDrop us a line at \n hello@simplemobiletools.com,\n we\'d love to hear all your feedback and suggestions. - - 设置 - 暗主题 - - - 关于 - For the source codes visit\nhttp://simplemobiletools.com - 反馈您的意见到: - More apps - 开放源代码 - 分享给好友 - Hey, come check out %1$s at %2$s - 分享到 - Rate us - Donate - 关注我们: - v %1$s Copyright © Simple Mobile Tools %2$d - - - This app uses the following third party libraries to make my life easier. Thank you. - 开放源代码 - Kotlin (programming language) - A paid app for people who want to support us, not doing anything whatsoever. If you like our apps which are free, non-intrusive and have no ads, please consider supporting us in some way. It will be hugely appreciated. - This one doesn\'t do anything, but it has a dark theme. That looks cool. It saves your battery and stuff. This app is just one piece of a bigger series of apps. You can find the rest of them at http://www.simplemobiletools.com diff --git a/app/src/main/res/values/colors.xml b/app/src/main/res/values/colors.xml index ca8ad63..d781ec5 100644 --- a/app/src/main/res/values/colors.xml +++ b/app/src/main/res/values/colors.xml @@ -1,6 +1,4 @@ - #fff68630 - #ffe27725 - @color/colorPrimary + diff --git a/app/src/main/res/values/dimens.xml b/app/src/main/res/values/dimens.xml index 62f380e..d781ec5 100644 --- a/app/src/main/res/values/dimens.xml +++ b/app/src/main/res/values/dimens.xml @@ -1,9 +1,4 @@ + - 16dp - 8dp - 40dp - 8dp - 40dp - 14sp diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 58f4091..d27be68 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -3,38 +3,11 @@ Thank You Thank you for supporting us!\nDrop us a line at \n hello@simplemobiletools.com,\n we\'d love to hear all your feedback and suggestions. - - Settings - Dark theme - - - About - For the source codes visit\nhttp://simplemobiletools.com - Send your feedback or suggestions to: - hello@simplemobiletools.com - More apps - Third party licences - Invite friends - Hey, come check out %1$s at %2$s - Invite via - Rate us - 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) - 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 - A paid app for people who want to support us, not doing anything whatsoever. If you like our apps which are free, non-intrusive and have no ads, please consider supporting us in some way. It will be hugely appreciated. - This one doesn\'t do anything, but it has a dark theme. That looks cool. It saves your battery and stuff. This app is just one piece of a bigger series of apps. You can find the rest of them at http://www.simplemobiletools.com diff --git a/app/src/main/res/values/style.xml b/app/src/main/res/values/style.xml new file mode 100644 index 0000000..46e5bce --- /dev/null +++ b/app/src/main/res/values/style.xml @@ -0,0 +1,7 @@ + + + + + diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml deleted file mode 100644 index 89bc6b7..0000000 --- a/app/src/main/res/values/styles.xml +++ /dev/null @@ -1,29 +0,0 @@ - - - - - - - - - - - diff --git a/build.gradle b/build.gradle index c2eea8e..633d203 100644 --- a/build.gradle +++ b/build.gradle @@ -15,6 +15,8 @@ buildscript { allprojects { repositories { jcenter() + maven { url "https://jitpack.io" } + maven { url "https://maven.google.com" } } }