Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/stefan-niedermann/nextcloud-notes.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Niedermann <stefan.niedermann@googlemail.com>2016-01-24 13:14:43 +0300
committerStefan Niedermann <stefan.niedermann@googlemail.com>2016-01-24 13:14:43 +0300
commit47f8e31e1c47a482a91e8bde449cf7e2e123b9bd (patch)
tree47aafaac00fe60c5a3020c96d2e57f4234d4e8a9 /app/src/main/res
parent353949760bb22375eae7613f30e0fb6bcd982130 (diff)
WiP #40 Mention license, source code and call to contribution in the »About« section
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/activity_about.xml119
-rw-r--r--app/src/main/res/layout/fragment_about_contribution_tab.xml21
-rw-r--r--app/src/main/res/layout/fragment_about_credentials_tab.xml12
-rw-r--r--app/src/main/res/layout/fragment_about_credits_tab.xml86
-rw-r--r--app/src/main/res/layout/fragment_about_license_tab.xml21
-rw-r--r--app/src/main/res/values-de/strings.xml26
-rw-r--r--app/src/main/res/values/strings.xml26
-rw-r--r--app/src/main/res/values/styles.xml1
8 files changed, 146 insertions, 166 deletions
diff --git a/app/src/main/res/layout/activity_about.xml b/app/src/main/res/layout/activity_about.xml
index 5288d075..4ecc60a4 100644
--- a/app/src/main/res/layout/activity_about.xml
+++ b/app/src/main/res/layout/activity_about.xml
@@ -4,7 +4,8 @@
android:id="@android:id/tabhost"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
- android:layout_height="match_parent">
+ android:layout_height="match_parent"
+ >
<LinearLayout
android:layout_width="match_parent"
@@ -31,118 +32,4 @@
android:layout_weight="1"/>
</LinearLayout>
-</android.support.v4.app.FragmentTabHost>
-
- <!--<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:padding="@dimen/activity_horizontal_margin">
-
- <TabHost
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:id="@+id/tabhost">
-
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
-
- <TabWidget
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:id="@+id/about_tabs">
- </TabWidget>
-
- <FrameLayout
- android:id="@android:id/tabcontent"
- android:layout_width="match_parent"
- android:layout_height="match_parent">
-
- <LinearLayout
- android:id="@+id/linearLayout"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
-
- <TextView
- android:id="@+id/about_version_title"
- style="?android:attr/listSeparatorTextViewStyle"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/about_version_title"/>
-
- <TextView
- android:id="@+id/about_version"
- style="?android:attr/editTextPreferenceStyle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:padding="10dp"
- android:text="@string/about_version"/>
-
- <TextView
- android:id="@+id/about_author_title"
- style="?android:attr/listSeparatorTextViewStyle"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/about_author_title"/>
-
- <TextView
- android:id="@+id/about_author"
- style="?android:attr/editTextPreferenceStyle"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="10dp"
- android:text="@string/about_author"/>
-
- <TextView
- android:id="@+id/about_app_icon_disclaimer_title"
- style="?android:attr/listSeparatorTextViewStyle"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/about_app_icon_disclaimer_title"/>
-
- <TextView
- android:id="@+id/about_app_icon_disclaimer"
- style="?android:attr/editTextPreferenceStyle"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="10dp"
- android:text="@string/about_app_icon_disclaimer"/>
-
- <TextView
- android:id="@+id/about_icons_disclaimer_title"
- style="?android:attr/listSeparatorTextViewStyle"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="@string/about_icons_disclaimer_title"/>
-
- <TextView
- android:id="@+id/about_icons_disclaimer"
- style="?android:attr/editTextPreferenceStyle"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:padding="10dp"
- android:text="@string/about_icons_disclaimer"/>
- </LinearLayout>
-
- <LinearLayout
- android:id="@+id/linearLayout2"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- </LinearLayout>
-
- <LinearLayout
- android:id="@+id/linearLayout3"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical">
- </LinearLayout>
- </FrameLayout>
- </LinearLayout>
- </TabHost>
-
-</LinearLayout--> \ No newline at end of file
+</android.support.v4.app.FragmentTabHost> \ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_about_contribution_tab.xml b/app/src/main/res/layout/fragment_about_contribution_tab.xml
index f474ee60..2856319d 100644
--- a/app/src/main/res/layout/fragment_about_contribution_tab.xml
+++ b/app/src/main/res/layout/fragment_about_contribution_tab.xml
@@ -1,12 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:padding="@dimen/activity_horizontal_margin">
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
- <TextView
+ <LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:text="Contribute on Github.com"/>
-</LinearLayout> \ No newline at end of file
+ android:orientation="vertical"
+ android:padding="@dimen/activity_horizontal_margin">
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="Contribute on Github.com"/>
+ </LinearLayout>
+</ScrollView> \ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_about_credentials_tab.xml b/app/src/main/res/layout/fragment_about_credentials_tab.xml
deleted file mode 100644
index cb4da7ec..00000000
--- a/app/src/main/res/layout/fragment_about_credentials_tab.xml
+++ /dev/null
@@ -1,12 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:padding="@dimen/activity_horizontal_margin">
-
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Maintainer: Niedermann IT-Dienstleistungen"/>
-</LinearLayout> \ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_about_credits_tab.xml b/app/src/main/res/layout/fragment_about_credits_tab.xml
new file mode 100644
index 00000000..82f378fe
--- /dev/null
+++ b/app/src/main/res/layout/fragment_about_credits_tab.xml
@@ -0,0 +1,86 @@
+<?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:orientation="vertical"
+ android:padding="@dimen/activity_horizontal_margin">
+
+ <TextView
+ android:id="@+id/textView"
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:layout_gravity="center"
+ android:layout_marginBottom="30dp"
+ android:layout_marginTop="30dp"
+ android:drawableTop="@drawable/ic_launcher"
+ android:text="@string/app_name"
+ android:textAppearance="?android:attr/textAppearanceMedium"
+ android:textColor="@color/fg_default_low"
+ android:textSize="26sp"/>
+
+ <TextView
+ android:id="@+id/about_version_title"
+ style="?android:attr/listSeparatorTextViewStyle"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/about_version_title"/>
+
+ <TextView
+ android:id="@+id/about_version"
+ style="?android:attr/editTextPreferenceStyle"
+ android:layout_width="wrap_content"
+ android:layout_height="wrap_content"
+ android:padding="10dp"
+ android:text="@string/about_version"/>
+
+ <TextView
+ android:id="@+id/about_author_title"
+ style="?android:attr/listSeparatorTextViewStyle"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/about_author_title"/>
+
+ <TextView
+ android:id="@+id/about_author"
+ style="?android:attr/editTextPreferenceStyle"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:padding="10dp"
+ android:text="@string/about_author"/>
+
+ <TextView
+ android:id="@+id/about_app_icon_disclaimer_title"
+ style="?android:attr/listSeparatorTextViewStyle"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/about_app_icon_disclaimer_title"/>
+
+ <TextView
+ android:id="@+id/about_app_icon_disclaimer"
+ style="?android:attr/editTextPreferenceStyle"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:padding="10dp"
+ android:text="@string/about_app_icon_disclaimer"/>
+
+ <TextView
+ android:id="@+id/about_icons_disclaimer_title"
+ style="?android:attr/listSeparatorTextViewStyle"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="@string/about_icons_disclaimer_title"/>
+
+ <TextView
+ android:id="@+id/about_icons_disclaimer"
+ style="?android:attr/editTextPreferenceStyle"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:padding="10dp"
+ android:text="@string/about_icons_disclaimer"/>
+ </LinearLayout>
+</ScrollView> \ No newline at end of file
diff --git a/app/src/main/res/layout/fragment_about_license_tab.xml b/app/src/main/res/layout/fragment_about_license_tab.xml
index bd9629f9..f235d11c 100644
--- a/app/src/main/res/layout/fragment_about_license_tab.xml
+++ b/app/src/main/res/layout/fragment_about_license_tab.xml
@@ -1,12 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- android:padding="@dimen/activity_horizontal_margin">
+<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
- <TextView
+ <LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:text="This app is licensed under the GPLv2"/>
-</LinearLayout> \ No newline at end of file
+ android:orientation="vertical"
+ android:padding="@dimen/activity_horizontal_margin">
+
+ <TextView
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="This app is licensed under GPLv2"/>
+ </LinearLayout>
+</ScrollView> \ No newline at end of file
diff --git a/app/src/main/res/values-de/strings.xml b/app/src/main/res/values-de/strings.xml
index c9f61b56..7f5c6bcf 100644
--- a/app/src/main/res/values-de/strings.xml
+++ b/app/src/main/res/values-de/strings.xml
@@ -30,17 +30,6 @@
<string name="listview_updated_this_month">Diesen Monat</string>
<string name="listview_updated_earlier">Früher</string>
- <!-- About -->
-
- <string name="about_version_title">Version</string>
- <string name="about_version">Sie benutzen aktuell <strong>v0.4.0</strong></string>
- <string name="about_author_title">Autor</string>
- <string name="about_author">Diese Android-App wird entwickelt von <a href="http://www.niedermann.it/">Niedermann IT-Dienstleistungen</a></string>
- <string name="about_app_icon_disclaimer_title">App-Icon</string>
- <string name="about_app_icon_disclaimer"><p>Ursprüngliches Icon wurde erstellt von <a href="http://www.freepik.com" title="Freepik">Freepik</a> auf <a href="http://www.flaticon.com/free-icon/ceo-copyrighting_15475" title="Flaticon">www.flaticon.com</a></p></string>
- <string name="about_icons_disclaimer_title">Icons</string>
- <string name="about_icons_disclaimer"><p>Alle weiteren Icons, die in dieser App verwendet werden, sind <a href="https://materialdesignicons.com/" title="Link to Website">Material Design Icons</a> von Google Inc. und unter einer Creative Commons License lizensiert.</p></string>
-
<!-- Settings -->
<string name="settings_server">Server</string>
@@ -68,4 +57,19 @@
<!-- Snackbar Actions -->
<string name="snackbar_settings">Einstellungen</string>
+
+ <!-- About -->
+
+ <string name="about_version_title">Version</string>
+ <string name="about_version">Sie benutzen aktuell <strong>v0.4.0</strong></string>
+ <string name="about_author_title">Autor</string>
+ <string name="about_author">Diese Android-App wird entwickelt von <a href="http://www.niedermann.it/">Niedermann IT-Dienstleistungen</a></string>
+ <string name="about_app_icon_disclaimer_title">App-Icon</string>
+ <string name="about_app_icon_disclaimer"><p>Ursprüngliches Icon wurde erstellt von <a href="http://www.freepik.com" title="Freepik">Freepik</a> auf <a href="http://www.flaticon.com/free-icon/ceo-copyrighting_15475" title="Flaticon">www.flaticon.com</a></p></string>
+ <string name="about_icons_disclaimer_title">Icons</string>
+ <string name="about_icons_disclaimer"><p>Alle weiteren Icons, die in dieser App verwendet werden, sind <a href="https://materialdesignicons.com/" title="Link to Website">Material Design Icons</a> von Google Inc. und unter einer Creative Commons License lizensiert.</p></string>
+
+ <string name="about_credits_tab_title">Credits</string>
+ <string name="about_contribution_tab_title">Contribution</string>
+ <string name="about_license_tab_title">License</string>
</resources> \ 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 293112ac..95d3eb9f 100644
--- a/app/src/main/res/values/strings.xml
+++ b/app/src/main/res/values/strings.xml
@@ -30,17 +30,6 @@
<string name="listview_updated_this_month">this month</string>
<string name="listview_updated_earlier">earlier</string>
- <!-- About -->
-
- <string name="about_version_title">Version</string>
- <string name="about_version">You are currently using <strong>v0.4.0</strong></string>
- <string name="about_author_title">Author</string>
- <string name="about_author">This Android-Application is developed and presented by <a href="http://www.niedermann.it/">Niedermann IT-Dienstleistungen</a></string>
- <string name="about_app_icon_disclaimer_title">App-Icon</string>
- <string name="about_app_icon_disclaimer"><p>Original icon made by <a href="http://www.freepik.com" title="Freepik">Freepik</a> from <a href="http://www.flaticon.com/free-icon/ceo-copyrighting_15475" title="Flaticon">www.flaticon.com</a></p></string>
- <string name="about_icons_disclaimer_title">Icons</string>
- <string name="about_icons_disclaimer"><p>All further icons used by this app are <a href="https://materialdesignicons.com/" title="Link to Website">Material Design Icons</a> made by Google Inc. and licensed under a Creative Commons License.</p></string>
-
<!-- Settings -->
<string name="settings_server">Server</string>
@@ -69,4 +58,19 @@
<!-- Snackbar Actions -->
<string name="snackbar_settings">Settings</string>
+
+ <!-- About -->
+
+ <string name="about_version_title">Version</string>
+ <string name="about_version">You are currently using <strong>v0.4.0</strong></string>
+ <string name="about_author_title">Author</string>
+ <string name="about_author">This Android-Application is developed and presented by <a href="http://www.niedermann.it/">Niedermann IT-Dienstleistungen</a></string>
+ <string name="about_app_icon_disclaimer_title">App-Icon</string>
+ <string name="about_app_icon_disclaimer"><p>Original icon made by <a href="http://www.freepik.com" title="Freepik">Freepik</a> from <a href="http://www.flaticon.com/free-icon/ceo-copyrighting_15475" title="Flaticon">www.flaticon.com</a></p></string>
+ <string name="about_icons_disclaimer_title">Icons</string>
+ <string name="about_icons_disclaimer"><p>All further icons used by this app are <a href="https://materialdesignicons.com/" title="Link to Website">Material Design Icons</a> made by Google Inc. and licensed under a Creative Commons License.</p></string>
+
+ <string name="about_credits_tab_title">Credits</string>
+ <string name="about_contribution_tab_title">Contribution</string>
+ <string name="about_license_tab_title">License</string>
</resources> \ No newline at end of file
diff --git a/app/src/main/res/values/styles.xml b/app/src/main/res/values/styles.xml
index 53dc8a57..7db95b53 100644
--- a/app/src/main/res/values/styles.xml
+++ b/app/src/main/res/values/styles.xml
@@ -11,6 +11,7 @@
<item name="android:buttonStyle">@style/ocbutton</item>
<item name="android:windowBackground">@color/bg_normal</item>
</style>
+
<style name="fab">
<item name="android:layout_margin">16dp</item>
<item name="android:layout_width">wrap_content</item>