mirror of https://github.com/jlelse/teleposter
Much progress
This commit is contained in:
parent
0a3191c07e
commit
534c13d48f
|
@ -15,7 +15,9 @@
|
||||||
android:label="@string/app_name"
|
android:label="@string/app_name"
|
||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:theme="@style/AppTheme">
|
android:theme="@style/AppTheme">
|
||||||
<activity android:name=".MainActivity">
|
<activity
|
||||||
|
android:name=".MainActivity"
|
||||||
|
android:configChanges="orientation|screenSize">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN"/>
|
<action android:name="android.intent.action.MAIN"/>
|
||||||
<category android:name="android.intent.category.LAUNCHER"/>
|
<category android:name="android.intent.category.LAUNCHER"/>
|
||||||
|
|
|
@ -8,6 +8,7 @@
|
||||||
rel="stylesheet">
|
rel="stylesheet">
|
||||||
<link href="https://rawgit.com/summernote/summernote/master/dist/summernote.css"
|
<link href="https://rawgit.com/summernote/summernote/master/dist/summernote.css"
|
||||||
rel="stylesheet">
|
rel="stylesheet">
|
||||||
|
<style> * { max-width: 100%; height: auto; word-break: break-all; word-break: break-word; }</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
<div id="summernote" style="width:100%;height:100%"></div>
|
<div id="summernote" style="width:100%;height:100%"></div>
|
||||||
|
|
|
@ -1,2 +0,0 @@
|
||||||
package telegra.ph
|
|
||||||
|
|
|
@ -239,6 +239,7 @@ class MainActivity : AppCompatActivity(), AdvancedWebView.Listener {
|
||||||
MaterialDialog.Builder(this)
|
MaterialDialog.Builder(this)
|
||||||
.title(R.string.help)
|
.title(R.string.help)
|
||||||
.content(R.string.help_text)
|
.content(R.string.help_text)
|
||||||
|
.positiveText(android.R.string.ok)
|
||||||
.show()
|
.show()
|
||||||
true
|
true
|
||||||
}
|
}
|
||||||
|
|
|
@ -3,8 +3,7 @@
|
||||||
<string name="share">Share</string>
|
<string name="share">Share</string>
|
||||||
<string name="help">Help</string>
|
<string name="help">Help</string>
|
||||||
<string name="help_text">
|
<string name="help_text">
|
||||||
<![CDATA[<h3>How to use text formatting?</h3>You can use formatting like <b>bold</b>, <i>italics</i> and so on at least on Lollipop and above by double tapping the text.<h3>The app only shows strange things!</h3>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!]]>
|
<![CDATA[<h3>Why can\'t I add images?</h3>Unfortunately I wasn\'t able to add the feature yet.<h3>Why can\'t I select headings?</h3>Same reasons as above, but you can do it manually via the code editor.<h3>Why can\'t I see all my published posts?</h3>That\'s coming soon!<h3>Why can\'t I login with my Telegram account?</h3>That\'s not possible!<h3>Why can\'t I add my name to the post?</h3>That\'s coming soon!<h3>Used libraries</h3><a href=\"https://github.com/afollestad/material-dialogs\">Material Dialogs</a>, <a href=\"https://github.com/afollestad/bridge\">Bridge</a>, <a href=\"https://github.com/delight-im/Android-AdvancedWebView\">AdvancedWebView</a><h3>About</h3>This app is made by <a href="https://jlelse.eu">Jan-Lukas Else</a> and it\'s code is published on <a href="https://github.com/jlelse/teleposter">Github</a>.]]></string>
|
||||||
</string>
|
|
||||||
<string name="bookmarks">Bookmarks</string>
|
<string name="bookmarks">Bookmarks</string>
|
||||||
<string name="bookmark_this">Bookmark this</string>
|
<string name="bookmark_this">Bookmark this</string>
|
||||||
<string name="create">Create</string>
|
<string name="create">Create</string>
|
||||||
|
|
Loading…
Reference in New Issue