Help and About pages

This commit is contained in:
str4d
2015-01-07 23:15:32 +00:00
parent 103811dd8c
commit 6720f616ce
18 changed files with 1055 additions and 2 deletions

View File

@@ -0,0 +1,32 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<android.support.v7.widget.Toolbar
android:id="@+id/main_toolbar"
android:layout_width="match_parent"
android:layout_height="?attr/actionBarSize"
android:background="?attr/colorPrimary"
android:minHeight="?attr/actionBarSize"
app:popupTheme="@style/ThemeOverlay.AppCompat.Light"
app:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"/>
<com.viewpagerindicator.TitlePageIndicator
android:id="@+id/page_indicator"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/primary_text_disabled_material_light"
app:footerColor="@color/accent"
app:selectedBold="false"
app:selectedColor="@color/primary_text_default_material_light"/>
<android.support.v4.view.ViewPager
android:id="@+id/pager"
android:layout_width="match_parent"
android:layout_height="match_parent"/>
</LinearLayout>

View File

@@ -0,0 +1,61 @@
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:isScrollContainer="true"
android:orientation="vertical"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:paddingTop="16dp"
android:scrollbars="vertical">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:orientation="vertical">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top"
android:layout_marginRight="10dp"
android:src="@drawable/ic_launcher"/>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/app_name"
android:textAppearance="@style/TextAppearance.AppCompat.Subject"/>
<TextView
android:id="@+id/help_about_version"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textAppearance="@style/TextAppearance.AppCompat.Secondary"/>
</LinearLayout>
</LinearLayout>
<org.sufficientlysecure.htmltextview.HtmlTextView
android:id="@+id/help_about_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"/>
</LinearLayout>
</ScrollView>

View File

@@ -19,4 +19,10 @@
android:title="@string/action_settings"
i2pandroid:showAsAction="never"/>
<item
android:id="@+id/action_help"
android:orderInCategory="200"
android:title="@string/help"
i2pandroid:showAsAction="never"/>
</menu>

View File

@@ -0,0 +1,28 @@
<!-- Maintain structure with headings with h2 tags and content with p tags.
This makes it easy to translate the values with transifex!
And don't add newlines before or after p tags because of transifex -->
<html>
<head>
</head>
<body>
<p><a href="https://github.com/i2p/i2p.i2p-bote.android">https://github.com/i2p/i2p.i2p-bote.android</a></p>
<p>Bote is the Android app for <a href="http://i2pbote.i2p.xyz">I2P-Bote</a>.</p>
<p>License: GPLv3+</p>
<h2>Libraries</h2>
<ul>
<li><a href="http://developer.android.com/tools/support-library/index.html">Android Support Library v4</a> (Apache License v2)</li>
<li><a href="http://developer.android.com/tools/support-library/index.html">Android Support Library v7 'appcompat'</a> (Apache License v2)</li>
<li><a href="http://developer.android.com/tools/support-library/index.html">Android Support Library v7 'recyclerview'</a> (Apache License v2)</li>
<li><a href="http://androidplot.com">AndroidPlot</a> (Apache License v2)</li>
<li><a href="https://github.com/str4d/android-floating-action-button">FloatingActionButton</a> (Apache License v2)</li>
<li><a href="https://github.com/dschuermann/html-textview">HtmlTextView</a> (Apache License v2)</li>
<li><a href="https://github.com/i2p/i2p.android.base">I2P Client Library</a> (Apache License v2)</li>
<li><a href="https://code.google.com/p/javamail-android/">JavaMail for Android</a> (GPLv2)</li>
<li><a href="http://rtyley.github.com/spongycastle/">SpongyCastle</a> (MIT X11 License)</li>
<li><a href="https://github.com/splitwise/TokenAutoComplete">TokenAutoComplete</a> (Apache License v2)</li>
<li><a href="https://github.com/PrestoCarrot/Android-ViewPagerIndicator">ViewPagerIndicator</a> (Apache License v2)</li>
<li><a href="http://code.google.com/p/zxing/">ZXing</a> (Apache License v2)</li>
</ul>
</body>
</html>

View File

@@ -0,0 +1,62 @@
<!-- Maintain structure with headings with h2 tags and content with p tags.
This makes it easy to translate the values with transifex!
And don't add newlines before or after p tags because of transifex -->
<html>
<head>
</head>
<body>
<h2>0.5</h2>
<ul>
<li>Attachments!</li>
<li>Email content can be seleted/copied (API 11+)</li>
<li>Cc: and Bcc: fields</li>
<li>Much better support for legacy devices</li>
<li>UI improvements, bug fixes, translation updates</li>
</ul>
<h2>0.4</h2>
<ul>
<li>New email notifications!</li>
<li>Fixed crash when clicking "Create new contact" button</li>
<li>Fixed crash when sending email</li>
<li>Fixed occasional crashes when Bote connects to / disconnects from the network</li>
<li>Added "Copy to clipboard" button to identities and contacts</li>
<li>Added labels to the address book actions menu</li>
<li>UI improvements, bug fixes, translation updates</li>
</ul>
<h2>0.3</h2>
<ul>
<li>Migrated to new Material design from Android Lollipop</li>
<li>Overhauled password usability</li>
<li>Identicons for contacts without pictures</li>
<li>Check email improvements</li>
<li>Use new-style swipe</li>
<li>Users can now launch check from menu, or swipe on empty inbox</li>
<li>"Forward" and "Reply all" actions for emails</li>
<li>QR codes for sharing identities</li>
<li>Separated viewing and editing contacts</li>
<li>Improved network information page</li>
<li>Various bug fixes</li>
<li>Updated translations</li>
</ul>
<h2>0.3-rc3</h2>
<ul>
<li>Test release to Norway on Google Play</li>
</ul>
<h2>0.2</h2>
<h2>0.1.1</h2>
<ul>
<li>Fixed bugs in identity creation and password setting</li>
</ul>
<h2>0.1</h2>
<ul>
<li>Initial release</li>
</ul>
</body>
</html>

View File

@@ -0,0 +1,20 @@
<!-- Maintain structure with headings with h2 tags and content with p tags.
This makes it easy to translate the values with transifex!
And don't add newlines before or after p tags because of transifex -->
<html>
<head>
</head>
<body>
<h2>Getting started</h2>
<p>First you need an identity. Create one via the "Settings" menu, or import an existing identity. Afterwards, you can add your friends' addresses by copy-paste, or exchange them via QR Codes or NFC.</p>
<p>On Android lower than 4.4, it is recommended that you install <a href="market://details?id=org.openintents.filemanager">OI File Manager</a> for enhanced file selection. To share via QR Codes install <a href="market://details?id=com.google.zxing.client.android">Barcode Scanner</a>. Clicking on the links will open Google Play Store or F-Droid for installation.</p>
<h2>I found a bug in Bote!</h2>
<p>Please report the bug using the <a href="https://trac.i2p2.de">I2P bug tracker</a>.</p>
<h2>Translations</h2>
<p>Help translating Bote! Everybody can participate at <a href="https://www.transifex.com/projects/p/I2P/">I2P on Transifex</a>.</p>
</body>
</html>

View File

@@ -240,5 +240,10 @@
<string name="this_field_is_required">This field is required</string>
<string name="bote_dest_for">Bote address for %s</string>
<string name="copied_to_clipboard">Copied to clipboard</string>
<string name="help">Help</string>
<string name="start">Start</string>
<string name="changelog">Changelog</string>
<string name="about">About</string>
<string name="help_about_version">Version:</string>
</resources>