adding the Commons library

This commit is contained in:
tibbi 2017-10-26 17:49:49 +02:00
parent 2751a99a12
commit d094ecb4e4
41 changed files with 71 additions and 757 deletions

View File

@ -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"
}

View File

@ -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 *;
#}

View File

@ -16,20 +16,25 @@
</intent-filter>
</activity>
<activity
android:name=".activities.AboutActivity"
android:label="@string/about"
android:parentActivityName=".activities.MainActivity"/>
<activity
android:name=".activities.LicenseActivity"
android:label="@string/third_party_licences"
android:parentActivityName=".activities.AboutActivity"/>
<activity
android:name=".activities.SettingsActivity"
android:label="@string/settings"
android:parentActivityName=".activities.MainActivity"/>
<activity
android:name="com.simplemobiletools.commons.activities.AboutActivity"
android:label="@string/about"
android:parentActivityName=".activities.MainActivity"/>
<activity
android:name="com.simplemobiletools.commons.activities.LicenseActivity"
android:label="@string/third_party_licences"
android:parentActivityName="com.simplemobiletools.commons.activities.AboutActivity"/>
<activity
android:name="com.simplemobiletools.commons.activities.CustomizationActivity"
android:label="@string/customize_colors"
android:parentActivityName=".activities.SettingsActivity"/>
</application>
</manifest>

View File

@ -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 = "<a href=\"mailto:$email?subject=$appName\">$email</a>"
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"
}

View File

@ -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)
}
}

View File

@ -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)
}
}

View File

@ -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()
}
}

View File

@ -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)
}
}
}

View File

@ -1,125 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/about_scrollview"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:fillViewport="true">
<RelativeLayout
android:id="@+id/about_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="@dimen/activity_margin">
<TextView
android:id="@+id/about_website"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:autoLink="web"
android:text="@string/website"/>
<TextView
android:id="@+id/about_email_label"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/about_website"
android:layout_marginTop="@dimen/activity_margin"
android:text="@string/email_label"/>
<TextView
android:id="@+id/about_email"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/about_email_label"
android:paddingBottom="@dimen/activity_margin"
android:text="@string/email"/>
<TextView
android:id="@+id/about_more_apps"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/about_email"
android:paddingBottom="@dimen/activity_margin"
android:paddingTop="@dimen/activity_margin"
android:text="@string/more_apps_underlined"
android:textColor="@color/colorPrimary"/>
<TextView
android:id="@+id/about_invite"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/about_more_apps"
android:paddingBottom="@dimen/activity_margin"
android:paddingTop="@dimen/activity_margin"
android:text="@string/invite_friends_underlined"
android:textColor="@color/colorPrimary"/>
<TextView
android:id="@+id/about_rate_us"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/about_invite"
android:paddingBottom="@dimen/activity_margin"
android:paddingTop="@dimen/activity_margin"
android:text="@string/rate_us_underlined"
android:textColor="@color/colorPrimary"/>
<TextView
android:id="@+id/about_license"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/about_rate_us"
android:paddingBottom="@dimen/activity_margin"
android:paddingTop="@dimen/activity_margin"
android:text="@string/third_party_licences_underlined"
android:textColor="@color/colorPrimary"/>
<TextView
android:id="@+id/about_donate"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/about_license"
android:paddingBottom="@dimen/activity_margin"
android:paddingTop="@dimen/activity_margin"
android:text="@string/donate_underlined"
android:textColor="@color/colorPrimary"/>
<TextView
android:id="@+id/about_follow_us"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/about_donate"
android:paddingBottom="@dimen/social_padding"
android:paddingTop="@dimen/activity_margin"
android:text="@string/follow_us"/>
<ImageView
android:id="@+id/about_facebook"
android:layout_width="@dimen/social_logo"
android:layout_height="@dimen/social_logo"
android:layout_below="@+id/about_follow_us"
android:src="@mipmap/facebook"/>
<ImageView
android:id="@+id/about_gplus"
android:layout_width="@dimen/social_logo"
android:layout_height="@dimen/social_logo"
android:layout_below="@+id/about_follow_us"
android:layout_marginLeft="@dimen/social_padding"
android:layout_marginRight="@dimen/social_padding"
android:layout_toEndOf="@+id/about_facebook"
android:layout_toRightOf="@+id/about_facebook"
android:src="@mipmap/gplus"/>
<TextView
android:id="@+id/about_copyright"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_alignParentBottom="true"
android:layout_below="@+id/about_gplus"
android:gravity="center_horizontal|bottom"
android:paddingTop="@dimen/activity_margin"
android:text="v1.0\nCopyright © Simple Mobile Tools 2016"/>
</RelativeLayout>
</ScrollView>

View File

@ -1,35 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/license_holder"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/license"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:padding="@dimen/activity_margin">
<TextView
android:id="@+id/license_notice"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/notice"/>
<TextView
android:id="@+id/license_kotlin_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/activity_margin"
android:text="@string/kotlin_title"
android:textColor="@color/colorPrimary"/>
<TextView
android:id="@+id/license_kotlin_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/kotlin_text"/>
</LinearLayout>
</ScrollView>

View File

@ -5,14 +5,14 @@
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/text"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:autoLink="email"
android:gravity="center"
android:lineSpacingExtra="3dp"
android:padding="@dimen/large_margin"
android:padding="40dp"
android:text="@string/main_text"
android:textSize="@dimen/normal_text_size"/>

View File

@ -12,30 +12,21 @@
android:orientation="vertical">
<RelativeLayout
android:id="@+id/settings_dark_theme_holder"
android:id="@+id/settings_customize_colors_holder"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/medium_padding"
android:layout_marginTop="@dimen/medium_margin"
android:background="?attr/selectableItemBackground"
android:padding="@dimen/activity_margin">
<TextView
android:id="@+id/settings_dark_theme_label"
<com.simplemobiletools.commons.views.MyTextView
android:id="@+id/settings_customize_colors"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerVertical="true"
android:paddingLeft="@dimen/medium_padding"
android:paddingStart="@dimen/medium_padding"
android:text="@string/dark_theme"/>
<android.support.v7.widget.SwitchCompat
android:id="@+id/settings_dark_theme"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:background="@null"
android:clickable="false"/>
android:paddingLeft="@dimen/medium_margin"
android:paddingStart="@dimen/medium_margin"
android:text="@string/customize_colors"/>
</RelativeLayout>
</LinearLayout>

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 4.6 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 6.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.3 KiB

View File

@ -3,35 +3,11 @@
<string name="app_launcher_name">Thank You</string>
<string name="main_text">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.</string>
<!-- Settings -->
<string name="settings">Einstellungen</string>
<string name="dark_theme">Dunkles Design</string>
<!-- About -->
<string name="about">Über</string>
<string name="website">For the source codes visit\nhttp://simplemobiletools.com</string>
<string name="email_label">Sende Vorschläge und Feedback an:</string>
<string name="more_apps_underlined"><u>More apps</u></string>
<string name="third_party_licences_underlined"><u>Drittanbieterlizenzen</u></string>
<string name="invite_friends_underlined"><u>Lade Freunde ein</u></string>
<string name="share_text">Hey, wirf mal einen Blick auf %1$s: %2$s</string>
<string name="invite_via">Einladen via</string>
<string name="rate_us_underlined"><u>Bewerte uns</u></string>
<string name="donate_underlined"><u>Donate</u></string>
<string name="follow_us">Folge uns:</string>
<string name="copyright">v %1$s\nCopyright © Simple Mobile Tools %2$d</string>
<!-- License -->
<string name="notice">Diese App nutzt die folgenden Drittanbieterbibliotheken, die mein Leben einfacher machen. Danke.</string>
<string name="third_party_licences">Drittanbieterlizenzen</string>
<string name="kotlin_title"><u>Kotlin (Programmiersprache)</u></string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<string name="app_short_description">A paid app for people who want to support us, not doing anything whatsoever.</string>
<string name="app_long_description">
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

View File

@ -3,35 +3,11 @@
<string name="app_launcher_name">Thank You</string>
<string name="main_text">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.</string>
<!-- Settings -->
<string name="settings">Opciones</string>
<string name="dark_theme">Tema oscuro</string>
<!-- About -->
<string name="about">Acerca de Simple Camera</string>
<string name="website">For the source codes visit\nhttp://simplemobiletools.com</string>
<string name="email_label">Envíe sus comentarios y sugerencias a:</string>
<string name="more_apps_underlined"><u>More apps</u></string>
<string name="third_party_licences_underlined"><u>Licencias de terceros</u></string>
<string name="invite_friends_underlined"><u>Invitar a amigos</u></string>
<string name="share_text">Hola, venga y échele un vistazo a %1$s en %2$s</string>
<string name="invite_via">Invitar vía</string>
<string name="rate_us_underlined"><u>Rate us</u></string>
<string name="donate_underlined"><u>Donate</u></string>
<string name="follow_us">Síganos:</string>
<string name="copyright">v %1$s\nCopyright © Simple Mobile Tools %2$d</string>
<!-- License -->
<string name="notice">Esta aplicación usa las siguientes librerías de terceros para hacerme la vida más fácil. Gracias.</string>
<string name="third_party_licences">Licencias de terceros</string>
<string name="kotlin_title"><u>Kotlin (Lenguaje de programación)</u></string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<string name="app_short_description">A paid app for people who want to support us, not doing anything whatsoever.</string>
<string name="app_long_description">
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

View File

@ -3,35 +3,11 @@
<string name="app_launcher_name">Thank You</string>
<string name="main_text">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.</string>
<!-- Settings -->
<string name="settings">सेटिंग्स</string>
<string name="dark_theme">काली थीम</string>
<!-- About -->
<string name="about">के बारे में</string>
<string name="website">For the source codes visit\nhttp://simplemobiletools.com</string>
<string name="email_label">अपनी राय या सुझाव को भेजें:</string>
<string name="more_apps_underlined"><u>More apps</u></string>
<string name="third_party_licences_underlined"><u> तीसरी पार्टी के लाइसेंस </u></string>
<string name="invite_friends_underlined"><u>मित्रो को आमन्त्रित करें</u></string>
<string name="share_text">अरे, %1$s को %2$s पर देखो</string>
<string name="invite_via">के माध्यम से आमंत्रित</string>
<string name="rate_us_underlined"><u>Rate us</u></string>
<string name="donate_underlined"><u>Donate</u></string>
<string name="follow_us">हमे फॉलो करें:</string>
<string name="copyright">सं %1$s\nकॉपीराइट © सिंपल मोबाइल टूल्स %2$d</string>
<!-- License -->
<string name="notice">मेरा जीवन आसान करने के लिए यह एप्प तीसरे पक्ष की लाइब्रेरी का इस्तेमाल करती हैं। धन्यवाद।</string>
<string name="third_party_licences">तीसरे पक्ष के लाइसेंस</string>
<string name="kotlin_title"><u>Kotlin (programming language)</u></string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<string name="app_short_description">A paid app for people who want to support us, not doing anything whatsoever.</string>
<string name="app_long_description">
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

View File

@ -3,35 +3,11 @@
<string name="app_launcher_name">Thank You</string>
<string name="main_text">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.</string>
<!-- Settings -->
<string name="settings">Beállítások</string>
<string name="dark_theme">Sötét téma</string>
<!-- About -->
<string name="about">Információ</string>
<string name="website">A forráskód itt:\nhttp://simplemobiletools.com</string>
<string name="email_label">Visszajelzés és javaslatok:</string>
<string name="more_apps_underlined"><u>More apps</u></string>
<string name="third_party_licences_underlined"><u>Harmadik fél licenszek</u></string>
<string name="invite_friends_underlined"><u>Barátok meghívása</u></string>
<string name="share_text">Szia, ezt nézd meg! %1$s itt: %2$s</string>
<string name="invite_via">Meghívó küldése itt</string>
<string name="rate_us_underlined"><u>Értékelés</u></string>
<string name="donate_underlined"><u>Donate</u></string>
<string name="follow_us">Követés:</string>
<string name="copyright">%1$s verzió\nSzerzői jogok: © Simple Mobile Tools %2$d</string>
<!-- License -->
<string name="notice">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.</string>
<string name="third_party_licences">Harmadik fél licenszek</string>
<string name="kotlin_title"><u>Kotlin (programozási nyelv)</u></string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<string name="app_short_description">A paid app for people who want to support us, not doing anything whatsoever.</string>
<string name="app_long_description">
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

View File

@ -3,35 +3,11 @@
<string name="app_launcher_name">Thank You</string>
<string name="main_text">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.</string>
<!-- Settings -->
<string name="settings">Impostazioni</string>
<string name="dark_theme">Tema scuro</string>
<!-- About -->
<string name="about">Informazioni</string>
<string name="website">For the source codes visit\nhttp://simplemobiletools.com</string>
<string name="email_label">Invia la tua opinione o i tuoi suggerimenti a:</string>
<string name="more_apps_underlined"><u>More apps</u></string>
<string name="third_party_licences_underlined"><u>Licenze di terze parti</u></string>
<string name="invite_friends_underlined"><u>Invite friends</u></string>
<string name="share_text">Hey, come check out %1$s at %2$s</string>
<string name="invite_via">Invite via</string>
<string name="rate_us_underlined"><u>Rate us</u></string>
<string name="donate_underlined"><u>Donate</u></string>
<string name="follow_us">Seguici:</string>
<string name="copyright">v %1$s\nCopyright © Simple Mobile Tools %2$d</string>
<!-- License -->
<string name="notice">Questa app usa le seguenti librerie di terze parti per semplificarmi la vita. Grazie.</string>
<string name="third_party_licences">Licenze di terze parti</string>
<string name="kotlin_title"><u>Kotlin (programming language)</u></string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<string name="app_short_description">A paid app for people who want to support us, not doing anything whatsoever.</string>
<string name="app_long_description">
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

View File

@ -3,35 +3,11 @@
<string name="app_launcher_name">Thank You</string>
<string name="main_text">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.</string>
<!-- Settings -->
<string name="settings">設定</string>
<string name="dark_theme">ダークテーマ</string>
<!-- About -->
<string name="about">アプリについて</string>
<string name="website">For the source codes visit\nhttp://simplemobiletools.com</string>
<string name="email_label">ご意見やご提案を送信してください:</string>
<string name="more_apps_underlined"><u>More apps</u></string>
<string name="third_party_licences_underlined"><u>サードパーティー ライセンス</u></string>
<string name="invite_friends_underlined"><u>友達を招待</u></string>
<string name="share_text">%2$s で %1$s を確認してください</string>
<string name="invite_via">招待...</string>
<string name="rate_us_underlined"><u>Rate us</u></string>
<string name="donate_underlined"><u>Donate</u></string>
<string name="follow_us">フォローしてください:</string>
<string name="copyright">v %1$s\nCopyright © Simple Mobile Tools %2$d</string>
<!-- License -->
<string name="notice">このアプリは、私の暮らしにゆとりを持たせるために、次のサードパーティのライブラリーを使用しています。 ありがとうございます。</string>
<string name="third_party_licences">サードパーティー ライセンス</string>
<string name="kotlin_title"><u>Kotlin (プログラミング言語)</u></string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<string name="app_short_description">A paid app for people who want to support us, not doing anything whatsoever.</string>
<string name="app_long_description">
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

View File

@ -3,35 +3,11 @@
<string name="app_launcher_name">Thank You</string>
<string name="main_text">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.</string>
<!-- Settings -->
<string name="settings">Nustatymai</string>
<string name="dark_theme">Tamsi tema</string>
<!-- About -->
<string name="about">Apie</string>
<string name="website">For the source codes visit\nhttp://simplemobiletools.com</string>
<string name="email_label">Siųsti savo grįžtamąjį ryšį arba pasiūlymus čia:</string>
<string name="more_apps_underlined"><u>More apps</u></string>
<string name="third_party_licences_underlined"><u>Trečiųjų šalių licenzijos</u></string>
<string name="invite_friends_underlined"><u>Pakvieskite draugus</u></string>
<string name="share_text">Ei, ateikite čia ir patikrinkite %1$s čia %2$s</string>
<string name="invite_via">Pakviesti per</string>
<string name="rate_us_underlined"><u>Rate us</u></string>
<string name="donate_underlined"><u>Donate</u></string>
<string name="follow_us">Sekti mus:</string>
<string name="copyright">v %1$s\nVisos teisės saugomos © Simple Mobile Tools %2$d</string>
<!-- License -->
<string name="notice">Ši programėlė naudoja sekančias trečiųjų šyalių bibliotekas, kad palengvinti man gyvenimą. Ačiū.</string>
<string name="third_party_licences">Trečiųjų šalių licenzijos</string>
<string name="kotlin_title"><u>Kotlin (programming language)</u></string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<string name="app_short_description">A paid app for people who want to support us, not doing anything whatsoever.</string>
<string name="app_long_description">
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

View File

@ -3,32 +3,6 @@
<string name="app_launcher_name">Simple Thank You</string>
<string name="main_text">Dziękujemy niezmiernie za wsparcie! Piszcie do nas na \n hello@simplemobiletools.com \n Wszelkie uwagi, sugestie i dobre słowo są mile widziane!</string>
<!-- Settings -->
<string name="settings">Ustawienia</string>
<string name="dark_theme">Ciemny motyw</string>
<!-- About -->
<string name="about">O aplikacji</string>
<string name="website">Kody źródłowe naszych aplikacji dostępne są na simplemobiletools.com</string>
<string name="email_label">Wyślij opinię lub sugestię na:</string>
<string name="email" translatable="false">hello@simplemobiletools.com</string>
<string name="more_apps_underlined"><u>Więcej naszych aplikacji</u></string>
<string name="third_party_licences_underlined"><u>Licencje innych firm</u></string>
<string name="invite_friends_underlined"><u>Zaproponuj aplikację znajomym</u></string>
<string name="share_text">Hej! Sprawdź aplikację %1$s (link: %2$s)</string>
<string name="invite_via">Wybierz sposób</string>
<string name="rate_us_underlined"><u>Oceń nas</u></string>
<string name="donate_underlined"><u>Wspomóż nas</u></string>
<string name="follow_us">Śledź nas:</string>
<string name="copyright">Wersja %1$s\nCopyright © Simple Mobile Tools %2$d</string>
<!-- License -->
<string name="notice">Aplikacja ta korzysta z następujących bibliotek innych firm:</string>
<string name="third_party_licences">Licencje innych firm</string>
<string name="kotlin_title"><u>Kotlin (język programowania)</u></string>
<string name="kotlin_text" translatable="false">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.</string>
<string name="kotlin_url" translatable="false">https://github.com/JetBrains/kotlin</string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<string name="app_short_description">Płatna aplikacja dla ludzi dobrej woli chcących wesprzeć nas i naszą pracę.</string>
<string name="app_long_description">

View File

@ -3,35 +3,11 @@
<string name="app_launcher_name">Obrigado</string>
<string name="main_text">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.</string>
<!-- Settings -->
<string name="settings">Definições</string>
<string name="dark_theme">Tema escuro</string>
<!-- About -->
<string name="about">Acerca</string>
<string name="website">Para aceder ao código fonte, visite\nhttp://simplemobiletools.com</string>
<string name="email_label">Envie os seus comentários ou sugestões para:</string>
<string name="more_apps_underlined"><u>Mais aplicações</u></string>
<string name="third_party_licences_underlined"><u>Licenças de terceiros</u></string>
<string name="invite_friends_underlined"><u>Convidar amigos</u></string>
<string name="share_text">Olá, experimenta %1$s em %2$s</string>
<string name="invite_via">Convidar via</string>
<string name="rate_us_underlined"><u>Avalie-nos</u></string>
<string name="donate_underlined"><u>Donativos</u></string>
<string name="follow_us">Siga-nos:</string>
<string name="copyright">V %1$s\nCopyright © Simple Mobile Tools %2$d</string>
<!-- License -->
<string name="notice">Esta aplicação usa as seguintes bibliotecas de terceiros para facilitar a minha vida. Obrigado.</string>
<string name="third_party_licences">Licenças de terceiros</string>
<string name="kotlin_title"><u>Kotlin (linguagem de programação)</u></string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<string name="app_short_description">Uma aplicação paga para aquelas pessoas que nos querem apoiar, mas que nada faz.</string>
<string name="app_long_description">
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

View File

@ -3,36 +3,12 @@
<string name="app_launcher_name">Спасибо</string>
<string name="main_text">Спасибо за вашу поддержку!\nОтправьте нам пару строк на \n hello@simplemobiletools.com,\n мы с радостью прочтём ваши отзывы и предложения.</string>
<!-- Settings -->
<string name="settings">Настройки</string>
<string name="dark_theme">Тёмная тема</string>
<!-- About -->
<string name="about">О приложении</string>
<string name="website">Исходный код можно найти по адресу:\nhttp://simplemobiletools.com</string>
<string name="email_label">Отправить отзывы или предложения:</string>
<string name="more_apps_underlined"><u>Больше простых приложений</u></string>
<string name="third_party_licences_underlined"><u>Лицензии третьих сторон</u></string>
<string name="invite_friends_underlined"><u>Предложить другу</u></string>
<string name="share_text">Попробуй %1$s по ссылке %2$s</string>
<string name="invite_via">Предложить с помощью</string>
<string name="rate_us_underlined"><u>Оценить нас в Google Play</u></string>
<string name="donate_underlined"><u>Поддержать разработчика</u></string>
<string name="follow_us">Подписаться на нас:</string>
<string name="copyright">v %1$s\nCopyright © Simple Mobile Tools %2$d</string>
<!-- License -->
<string name="notice">Это приложение использует следующие библиотеки сторонних разработчиков, чтобы облегчить мой труд. Спасибо.</string>
<string name="third_party_licences">Лицензии третьих сторон</string>
<string name="kotlin_title"><u>Kotlin (язык программирования)</u></string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<!-- Short description has to have less than 80 chars -->
<string name="app_short_description">Платное приложение, для тех, кто хочет поддержать Simple Mobile Tools.</string>
<string name="app_long_description">
Если вам нравится, что наши приложения бесплатны, ненавязчивы и не содержат рекламы, пожалуйста, поддержите нас. Мы очень ценим вашу поддержку.
Хоть приложение ничего не делает, в нём есть тёмная тема. Выглядит круто. Экономит заряд аккумулятора.
Thank You - это приложение из серии Simple Mobile Tools. Остальные приложения из этой серии можно найти здесь: http://www.simplemobiletools.com

View File

@ -3,35 +3,11 @@
<string name="app_launcher_name">Tack</string>
<string name="main_text">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.</string>
<!-- Settings -->
<string name="settings">Inställningar</string>
<string name="dark_theme">Mörkt tema</string>
<!-- About -->
<string name="about">Om</string>
<string name="website">Du hittar källkoden på\nhttp://simplemobiletools.com</string>
<string name="email_label">Skicka feedback och förslag till:</string>
<string name="more_apps_underlined"><u>Fler appar</u></string>
<string name="third_party_licences_underlined"><u>Tredjepartslicenser</u></string>
<string name="invite_friends_underlined"><u>Bjud in vänner</u></string>
<string name="share_text">Hej, läs om %1$s på %2$s</string>
<string name="invite_via">Bjud in via</string>
<string name="rate_us_underlined"><u>Betygsätt oss</u></string>
<string name="donate_underlined"><u>Donera</u></string>
<string name="follow_us">Följ oss:</string>
<string name="copyright">v %1$s\nCopyright © Simple Mobile Tools %2$d</string>
<!-- License -->
<string name="notice">Denna app använder följande tredjepartsbibliotek för att göra mitt liv enklare. Tack.</string>
<string name="third_party_licences">Tredjepartslicenser</string>
<string name="kotlin_title"><u>Kotlin (programmeringsspråk)</u></string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<string name="app_short_description">En betalapp för personer som vill stödja oss, gör ingenting alls.</string>
<string name="app_long_description">
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

View File

@ -1,4 +0,0 @@
<resources>
<dimen name="social_padding">12dp</dimen>
<dimen name="social_logo">50dp</dimen>
</resources>

View File

@ -3,35 +3,11 @@
<string name="app_launcher_name">Thank You</string>
<string name="main_text">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.</string>
<!-- Settings -->
<string name="settings">设置</string>
<string name="dark_theme">暗主题</string>
<!-- About -->
<string name="about">关于</string>
<string name="website">For the source codes visit\nhttp://simplemobiletools.com</string>
<string name="email_label">反馈您的意见到:</string>
<string name="more_apps_underlined"><u>More apps</u></string>
<string name="third_party_licences_underlined"><u>开放源代码</u></string>
<string name="invite_friends_underlined"><u>分享给好友</u></string>
<string name="share_text">Hey, come check out %1$s at %2$s</string>
<string name="invite_via">分享到</string>
<string name="rate_us_underlined"><u>Rate us</u></string>
<string name="donate_underlined"><u>Donate</u></string>
<string name="follow_us">关注我们:</string>
<string name="copyright">v %1$s Copyright © Simple Mobile Tools %2$d</string>
<!-- License -->
<string name="notice">This app uses the following third party libraries to make my life easier. Thank you.</string>
<string name="third_party_licences">开放源代码</string>
<string name="kotlin_title"><u>Kotlin (programming language)</u></string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<string name="app_short_description">A paid app for people who want to support us, not doing anything whatsoever.</string>
<string name="app_long_description">
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

View File

@ -1,6 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="colorPrimary">#fff68630</color>
<color name="colorPrimaryDark">#ffe27725</color>
<color name="colorAccent">@color/colorPrimary</color>
</resources>

View File

@ -1,9 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="activity_margin">16dp</dimen>
<dimen name="medium_padding">8dp</dimen>
<dimen name="large_margin">40dp</dimen>
<dimen name="social_padding">8dp</dimen>
<dimen name="social_logo">40dp</dimen>
<dimen name="normal_text_size">14sp</dimen>
</resources>

View File

@ -3,38 +3,11 @@
<string name="app_launcher_name">Thank You</string>
<string name="main_text">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.</string>
<!-- Settings -->
<string name="settings">Settings</string>
<string name="dark_theme">Dark theme</string>
<!-- About -->
<string name="about">About</string>
<string name="website">For the source codes visit\nhttp://simplemobiletools.com</string>
<string name="email_label">Send your feedback or suggestions to:</string>
<string name="email" translatable="false">hello@simplemobiletools.com</string>
<string name="more_apps_underlined"><u>More apps</u></string>
<string name="third_party_licences_underlined"><u>Third party licences</u></string>
<string name="invite_friends_underlined"><u>Invite friends</u></string>
<string name="share_text">Hey, come check out %1$s at %2$s</string>
<string name="invite_via">Invite via</string>
<string name="rate_us_underlined"><u>Rate us</u></string>
<string name="donate_underlined"><u>Donate</u></string>
<string name="follow_us">Follow us:</string>
<string name="copyright">v %1$s\nCopyright © Simple Mobile Tools %2$d</string>
<!-- License -->
<string name="notice">This app uses the following third party libraries to make my life easier. Thank you.</string>
<string name="third_party_licences">Third party licences</string>
<string name="kotlin_title"><u>Kotlin (programming language)</u></string>
<string name="kotlin_text" translatable="false">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.</string>
<string name="kotlin_url" translatable="false">https://github.com/JetBrains/kotlin</string>
<!-- Strings displayed only on Google Playstore. Optional, but good to have -->
<string name="app_short_description">A paid app for people who want to support us, not doing anything whatsoever.</string>
<string name="app_long_description">
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

View File

@ -0,0 +1,7 @@
<resources>
<style name="AppTheme" parent="AppTheme.Base">
</style>
</resources>

View File

@ -1,29 +0,0 @@
<resources>
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="actionBarStyle">@style/AppTheme.ActionBarStyle</item>
<item name="android:textSize">@dimen/normal_text_size</item>
</style>
<style name="AppTheme.Dark" parent="Theme.AppCompat">
<item name="colorPrimary">@color/colorPrimary</item>
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
<item name="colorAccent">@color/colorAccent</item>
<item name="actionBarStyle">@style/AppTheme.ActionBarStyle</item>
<item name="android:textSize">@dimen/normal_text_size</item>
<item name="android:windowBackground">@android:color/black</item>
</style>
<style name="AppTheme.ActionBarStyle" parent="@style/Base.Widget.AppCompat.ActionBar">
<item name="background">@color/colorPrimary</item>
<item name="titleTextStyle">@style/AppTheme.ActionBar.TitleTextStyle</item>
</style>
<style name="AppTheme.ActionBar.TitleTextStyle" parent="@android:style/TextAppearance.Holo.Widget.ActionBar.Title">
<item name="android:textSize">20sp</item>
</style>
</resources>

View File

@ -15,6 +15,8 @@ buildscript {
allprojects {
repositories {
jcenter()
maven { url "https://jitpack.io" }
maven { url "https://maven.google.com" }
}
}