diff --git a/.gitignore b/.gitignore index 09b993d..fc0f26b 100644 --- a/.gitignore +++ b/.gitignore @@ -6,3 +6,4 @@ /build /captures .externalNativeBuild +/app/build \ No newline at end of file diff --git a/apks/0.4.apk b/apks/0.4.apk new file mode 100644 index 0000000..6a0f466 Binary files /dev/null and b/apks/0.4.apk differ diff --git a/app/build.gradle b/app/build.gradle index 4d81234..b9d4d5e 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -6,10 +6,10 @@ android { buildToolsVersion "25.0.0" defaultConfig { applicationId "telegra.ph" - minSdkVersion 9 + minSdkVersion 13 targetSdkVersion 25 - versionCode 3 - versionName "0.3 beta" + versionCode 4 + versionName "0.4 beta" resConfigs "en" } buildTypes { @@ -30,4 +30,5 @@ dependencies { compile 'com.android.support:appcompat-v7:25.0.1' compile "org.jetbrains.kotlin:kotlin-stdlib:$kotlin_version" compile 'com.github.delight-im:Android-AdvancedWebView:v3.0.0' + compile 'com.afollestad.material-dialogs:core:0.9.1.0' } diff --git a/app/src/main/AndroidManifest.xml b/app/src/main/AndroidManifest.xml index 4f389ec..e34cdf1 100644 --- a/app/src/main/AndroidManifest.xml +++ b/app/src/main/AndroidManifest.xml @@ -2,8 +2,10 @@ + + - + { + MaterialDialog.Builder(this) + .title(R.string.help) + .content(R.string.help_text) + .show() + true + } else -> super.onOptionsItemSelected(item) } } diff --git a/app/src/main/res/menu/activity_main.xml b/app/src/main/res/menu/activity_main.xml index d1cdca9..622e26a 100644 --- a/app/src/main/res/menu/activity_main.xml +++ b/app/src/main/res/menu/activity_main.xml @@ -1,8 +1,12 @@ + xmlns:app="http://schemas.android.com/apk/res-auto"> + android:id="@+id/share" + android:title="@string/share" + app:showAsAction="ifRoom"/> + \ No newline at end of file diff --git a/app/src/main/res/values/strings.xml b/app/src/main/res/values/strings.xml index 400b5e2..40da6a7 100644 --- a/app/src/main/res/values/strings.xml +++ b/app/src/main/res/values/strings.xml @@ -1,4 +1,8 @@ Teleposter Share + Help + + How to use text formatting?You can use formatting like bold, italics and so on at least on Lollipop and above by double tapping the text.

The app only shows strange things!

It\'s not verified, that the app will work on devices with KitKat or lower. In Lollipop Google introduced a Chrome based and updatable WebView with more features and fixes. I\'m sorry! But in December \'16 Telegram will publish docs for the Telegraph API, so I\'ll be able to create a native app instead of a wrapper. Be patient!]]> +