From: Andy Scherzinger Date: Thu, 13 Aug 2015 13:57:38 +0000 (+0200) Subject: Merge branch 'material_toolbar' of https://github.com/owncloud/android into material_... X-Git-Tag: beta-20151128~7^2~65 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/af2af7198b3919fb476e78d252e28216bb643d82?hp=f7d6939264b3695e605cfe43b97e22bc32ac174f Merge branch 'material_toolbar' of https://github.com/owncloud/android into material_buttons Conflicts: res/layout/ssl_untrusted_cert_layout.xml res/layout/ssl_validator_layout.xml --- diff --git a/SETUP.md b/SETUP.md index 4f9cef9d..59a51cab 100644 --- a/SETUP.md +++ b/SETUP.md @@ -18,8 +18,8 @@ Open a terminal and type 'android' to start the Android SDK Manager. To build th * Android SDK Tools and Android SDK Platform-tools (already installed); upgrade to their last versions is usually a good idea. * Android SDK Build-Tools; any version from 20 or later should work fine; avoid preview versions, if any available. -* Android 4.4.2 (API 19), SDK Platform; needed to build the ownCloud app. -* Android 4.1.2 (API 16), SDK Platform; needed to build the Android Support Library (not neeeded if working with Android Studio or gradle). +* Android 4.4.2 (API 19), SDK Platform; needed for build/test ownCloud app. +* Android 5.1.1 (API 22), SDK Platform; needed to build the Android Support Library (not neeeded if working with Android Studio or gradle) and build the owncloud app. Install any other package you consider interesting, such as emulators. @@ -105,8 +105,8 @@ The generated APK file is saved in android/build/outputs/apk as android-debug.ap ** owncloud-android * If any error on those projects persists, check the project properties. In the 'Android' section, API Level should be ** ownCloud Android Library -> API level 19 -** android-support-appcompat-v7-exploded-aa -> API level 16 -** owncloud-android -> API level 19 ; in this project, two library projects should appear referred in the bottom of the dialog: libs\android-support-appcompat-v7-exploded-aar and owncloud-android-library. Add them if needed. +** android-support-appcompat-v7-exploded-aa -> API level 22 +** owncloud-android -> API level 22 ; in this project, two library projects should appear referred in the bottom of the dialog: libs\android-support-appcompat-v7-exploded-aar and owncloud-android-library. Add them if needed. * After those actions you should be good to go. HAVE FUN! @@ -139,7 +139,7 @@ Download/install Android plugin for Maven, then build ownCloud with mvn: * cd .. * git clone https://github.com/mosabua/maven-android-sdk-deployer.git * cd maven-android-sdk-deployer -* mvn -pl com.simpligility.android.sdk-deployer:android-19 -am install +* mvn -pl com.simpligility.android.sdk-deployer:android-22 -am install * cd ../android/owncloud-android-library * mvn install * cd .. diff --git a/res/layout/ssl_untrusted_cert_layout.xml b/res/layout/ssl_untrusted_cert_layout.xml index 7712342e..8ef7b139 100644 --- a/res/layout/ssl_untrusted_cert_layout.xml +++ b/res/layout/ssl_untrusted_cert_layout.xml @@ -21,7 +21,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:gravity="center" - android:padding="@dimen/standard_padding" + android:padding="16dp" android:orientation="vertical" > @@ -51,7 +52,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left" - android:paddingLeft="20dp" + android:paddingLeft="8dp" android:text="@string/ssl_validator_reason_cert_expired" android:textAppearance="?android:attr/textAppearanceSmall" /> @@ -61,7 +62,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left" - android:paddingLeft="20dp" + android:paddingLeft="8dp" android:text="@string/ssl_validator_reason_cert_not_yet_valid" android:textAppearance="?android:attr/textAppearanceSmall" /> @@ -71,7 +72,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left" - android:paddingLeft="20dp" + android:paddingLeft="8dp" android:text="@string/ssl_validator_reason_hostname_not_verified" android:textAppearance="?android:attr/textAppearanceSmall" /> @@ -81,7 +82,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left" - android:paddingLeft="20dp" + android:paddingLeft="8dp" android:text="@string/ssl_validator_no_info_about_error" android:textAppearance="?android:attr/textAppearanceSmall" /> @@ -89,7 +90,7 @@ @@ -436,27 +437,27 @@ + android:text="@string/common_no" /> + android:text="@string/common_yes" /> diff --git a/res/layout/ssl_validator_layout.xml b/res/layout/ssl_validator_layout.xml index 88e49b42..4cbd46a3 100644 --- a/res/layout/ssl_validator_layout.xml +++ b/res/layout/ssl_validator_layout.xml @@ -22,23 +22,24 @@ android:layout_height="wrap_content" android:gravity="center" android:orientation="vertical" - android:padding="@dimen/standard_padding"> + android:padding="16dp"> - + android:textColor="@color/black" + /> + @@ -48,7 +49,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left" - android:paddingLeft="20dp" + android:paddingLeft="8dp" android:text="@string/ssl_validator_reason_cert_expired" android:textAppearance="?android:attr/textAppearanceSmall" /> @@ -58,7 +59,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left" - android:paddingLeft="20dp" + android:paddingLeft="8dp" android:text="@string/ssl_validator_reason_cert_not_yet_valid" android:textAppearance="?android:attr/textAppearanceSmall" /> @@ -68,7 +69,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left" - android:paddingLeft="20dp" + android:paddingLeft="8dp" android:text="@string/ssl_validator_reason_hostname_not_verified" android:textAppearance="?android:attr/textAppearanceSmall" /> @@ -76,7 +77,7 @@ @@ -94,7 +95,7 @@ android:paddingBottom="5dp" android:text="@string/ssl_validator_label_subject" android:textAppearance="?android:attr/textAppearanceMedium" - /> + /> + /> + /> + /> + /> + /> + /> + /> + /> + /> + /> + /> + + /> + /> + /> + /> + /> + /> + /> + /> + /> + /> + /> + /> + /> + /> + /> + /> + /> + /> + + /> + /> - - + /> + + + /> @@ -395,7 +399,7 @@ android:id="@+id/question" android:layout_width="wrap_content" android:layout_height="wrap_content" - android:paddingTop="@dimen/standard_padding" + android:paddingTop="16dp" android:text="@string/ssl_validator_question" android:textAppearance="?android:attr/textAppearanceMedium" > @@ -408,27 +412,27 @@ + android:text="@string/common_no" /> + android:text="@string/common_yes" /> diff --git a/res/values-de-rDE/strings.xml b/res/values-de-rDE/strings.xml index 42c41036..2491ad20 100644 --- a/res/values-de-rDE/strings.xml +++ b/res/values-de-rDE/strings.xml @@ -200,9 +200,9 @@ Möchten Sie %1$s wirklich löschen? Möchten Sie wirklich %1$s und dessen Inhalte entfernen? Nur lokal - Nur lokale Inhalte - Vom Server entfernen - Lokal und auf Server + Nur lokal + Vom Server + Lokal & Server Erfolgreich gelöscht Der Löschvorgang konnte nicht beendet werden Geben Sie einen neuen Namen ein @@ -229,7 +229,7 @@ Möchten Sie diesem Zertifikat trotzdem vertrauen? Das Zertifikat konnte nicht gespeichert werden Details - Ausblenden + Überblick Ausgestellt für: Ausgestellt von: Üblicher Name: diff --git a/res/values-de/strings.xml b/res/values-de/strings.xml index 4d0b86e6..d669ec38 100644 --- a/res/values-de/strings.xml +++ b/res/values-de/strings.xml @@ -200,9 +200,9 @@ Möchtest Du %1$s wirklich löschen? Möchtest Du wirklich %1$s und dessen Inhalte entfernen? Nur lokal - Nur lokale Inhalte - Vom Server entfernen - Lokal und auf Server + Nur lokal + Vom Server + Lokal & Server Erfolgreich gelöscht Der Löschvorgang konnte nicht beendet werden Gib einen neuen Namen ein diff --git a/res/values/strings.xml b/res/values/strings.xml index 2de204d5..a5d412b8 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -208,9 +208,9 @@ "Do you really want to remove %1$s?" "Do you really want to remove %1$s and its contents?" Local only - Local contents only - Remove from server - Remote and local + Local only + From server + Remote & local "Removal succeeded" "Removal failed" Enter a new name diff --git a/res/values/styles.xml b/res/values/styles.xml index 1716a502..3bb1fe43 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -58,6 +58,10 @@ @color/white + +