diff --git a/AndroidManifest.xml b/AndroidManifest.xml
index 5b9fc717fb..7b4d742d02 100644
--- a/AndroidManifest.xml
+++ b/AndroidManifest.xml
@@ -37,7 +37,7 @@
+ android:targetSdkVersion="22" />
diff --git a/build.gradle b/build.gradle
index 209b7ee946..576eb82d7e 100644
--- a/build.gradle
+++ b/build.gradle
@@ -3,7 +3,7 @@ buildscript {
mavenCentral()
}
dependencies {
- classpath 'com.android.tools.build:gradle:1.0.0'
+ classpath 'com.android.tools.build:gradle:1.2.3'
}
}
@@ -20,15 +20,15 @@ repositories {
dependencies {
compile name: 'touch-image-view'
- compile 'com.android.support:support-v4:19.1.0'
+ compile 'com.android.support:support-v4:22.2.1'
compile project(':owncloud-android-library')
compile 'com.jakewharton:disklrucache:2.0.2'
- compile 'com.android.support:appcompat-v7:19.1.0'
+ compile 'com.android.support:appcompat-v7:22.2.1'
}
android {
- compileSdkVersion 19
- buildToolsVersion "20.0.0"
+ compileSdkVersion 22
+ buildToolsVersion "22.0.1"
sourceSets {
main {
manifest.srcFile 'AndroidManifest.xml'
diff --git a/project.properties b/project.properties
index 3abf7906fa..b7cabddb8a 100644
--- a/project.properties
+++ b/project.properties
@@ -8,6 +8,6 @@
# project structure.
# Project target.
-target=android-19
+target=android-22
android.library.reference.1=owncloud-android-library
android.library.reference.2=libs/android-support-appcompat-v7-exploded-aar
diff --git a/res/drawable-xxhdpi/ic_action_create_dir.png b/res/drawable-xxhdpi/ic_action_create_dir.png
new file mode 100644
index 0000000000..7bd3c8fbc6
Binary files /dev/null and b/res/drawable-xxhdpi/ic_action_create_dir.png differ
diff --git a/res/drawable-xxhdpi/ic_action_download.png b/res/drawable-xxhdpi/ic_action_download.png
new file mode 100644
index 0000000000..95502de3f1
Binary files /dev/null and b/res/drawable-xxhdpi/ic_action_download.png differ
diff --git a/res/drawable-xxhdpi/ic_action_upload.png b/res/drawable-xxhdpi/ic_action_upload.png
new file mode 100644
index 0000000000..a6c31e9322
Binary files /dev/null and b/res/drawable-xxhdpi/ic_action_upload.png differ
diff --git a/res/drawable-xxhdpi/ic_cancel.png b/res/drawable-xxhdpi/ic_cancel.png
new file mode 100644
index 0000000000..f6f7844def
Binary files /dev/null and b/res/drawable-xxhdpi/ic_cancel.png differ
diff --git a/res/drawable-xxhdpi/ic_folder_open.png b/res/drawable-xxhdpi/ic_folder_open.png
new file mode 100644
index 0000000000..bc826f4ab9
Binary files /dev/null and b/res/drawable-xxhdpi/ic_folder_open.png differ
diff --git a/res/drawable-xxhdpi/ic_hide.png b/res/drawable-xxhdpi/ic_hide.png
new file mode 100644
index 0000000000..394b85e4f7
Binary files /dev/null and b/res/drawable-xxhdpi/ic_hide.png differ
diff --git a/res/drawable-xxhdpi/ic_log.png b/res/drawable-xxhdpi/ic_log.png
new file mode 100644
index 0000000000..50f854ea5a
Binary files /dev/null and b/res/drawable-xxhdpi/ic_log.png differ
diff --git a/res/drawable-xxhdpi/ic_ok.png b/res/drawable-xxhdpi/ic_ok.png
new file mode 100644
index 0000000000..6e03d54cf4
Binary files /dev/null and b/res/drawable-xxhdpi/ic_ok.png differ
diff --git a/res/drawable-xxhdpi/ic_settings.png b/res/drawable-xxhdpi/ic_settings.png
new file mode 100644
index 0000000000..6a70402b4f
Binary files /dev/null and b/res/drawable-xxhdpi/ic_settings.png differ
diff --git a/res/drawable-xxhdpi/ic_view.png b/res/drawable-xxhdpi/ic_view.png
new file mode 100644
index 0000000000..36c10e7535
Binary files /dev/null and b/res/drawable-xxhdpi/ic_view.png differ
diff --git a/res/drawable-xxhdpi/no_network.png b/res/drawable-xxhdpi/no_network.png
new file mode 100644
index 0000000000..1ffec0dfe5
Binary files /dev/null and b/res/drawable-xxhdpi/no_network.png differ
diff --git a/res/layout/account_setup.xml b/res/layout/account_setup.xml
index 6b9ce79ff5..45d821cc38 100644
--- a/res/layout/account_setup.xml
+++ b/res/layout/account_setup.xml
@@ -40,7 +40,6 @@
android:layout_height="wrap_content"
android:layout_marginBottom="10dp"
android:layout_marginTop="10dp"
- android:background="@color/login_logo_background_color"
android:src="@drawable/logo"
android:contentDescription="@string/app_name"/>
@@ -63,6 +62,8 @@
android:text="@string/auth_expired_basic_auth_toast"
android:visibility="gone"
android:layout_marginBottom="10dp"
+ android:textColor="#AAAAAA"
+ android:textColorHint="#AAAAAA"
android:contentDescription="@string/auth_expired_basic_auth_toast"/>
@@ -108,6 +111,8 @@
android:drawableLeft="@android:drawable/stat_notify_sync"
android:drawablePadding="5dp"
android:gravity="center_vertical"
+ android:textColor="#AAAAAA"
+ android:textColorHint="#AAAAAA"
android:text="@string/auth_testing_connection"
android:contentDescription="@string/auth_testing_connection"/>
@@ -119,6 +124,8 @@
android:onClick="onCheckClick"
android:text="@string/oauth_check_onoff"
android:textAppearance="?android:attr/textAppearanceSmall"
+ android:textColor="#AAAAAA"
+ android:textColorHint="#AAAAAA"
android:contentDescription="@string/oauth_check_onoff"
/>
@@ -128,6 +135,8 @@
android:layout_height="wrap_content"
android:ems="10"
android:enabled="false"
+ android:textColor="#AAAAAA"
+ android:textColorHint="#AAAAAA"
android:text="@string/oauth2_url_endpoint_auth"
android:singleLine="true"
android:inputType="textUri"
@@ -143,6 +152,8 @@
android:text="@string/oauth2_url_endpoint_access"
android:singleLine="true"
android:inputType="textUri"
+ android:textColor="#AAAAAA"
+ android:textColorHint="#AAAAAA"
android:visibility="gone"/>
@@ -163,6 +176,8 @@
android:ems="10"
android:hint="@string/auth_password"
android:inputType="textPassword"
+ android:textColor="#AAAAAA"
+ android:textColorHint="#AAAAAA"
android:contentDescription="@string/auth_password"
/>
@@ -175,6 +190,8 @@
android:drawablePadding="5dp"
android:gravity="center_vertical"
android:text="@string/auth_unauthorized"
+ android:textColor="#AAAAAA"
+ android:textColorHint="#AAAAAA"
android:contentDescription="@string/auth_unauthorized"/>
diff --git a/res/layout/drawer.xml b/res/layout/drawer.xml
index 07ad5ee058..2c54ad1573 100644
--- a/res/layout/drawer.xml
+++ b/res/layout/drawer.xml
@@ -16,51 +16,69 @@
You should have received a copy of the GNU General Public License
along with this program. If not, see .
-->
-
+
+
-
-
-
-
-
+
+
+
+
+
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
+
+
+
-
+
-
-
-
-
-
-
-
\ No newline at end of file
+
+
+
\ No newline at end of file
diff --git a/res/layout/drawer_list_item.xml b/res/layout/drawer_list_item.xml
index 30f3843b44..9b6c1821c3 100644
--- a/res/layout/drawer_list_item.xml
+++ b/res/layout/drawer_list_item.xml
@@ -24,19 +24,28 @@
android:layout_alignParentLeft="true"
android:orientation="horizontal"
android:background="@color/background_color"
- android:layout_marginTop="10dp"
- android:layout_marginBottom="10dp">
+ android:layout_marginTop="16dp"
+ android:layout_marginBottom="16dp"
+ android:minHeight="?android:attr/listPreferredItemHeight">
+
+
+ android:layout_gravity="center_vertical"
+ android:textAppearance="?android:attr/textAppearanceListItem"
+ />
diff --git a/res/values/colors.xml b/res/values/colors.xml
index b42538fd72..633ff241d4 100644
--- a/res/values/colors.xml
+++ b/res/values/colors.xml
@@ -24,6 +24,15 @@
#989898
#000000
#303030
+ #757575
#fff0f0f0
-
+ #1D2D44
+ #AAAAAA
+
+
+ @color/owncloud_blue_bright
+
+
+ @color/owncloud_blue
+ #162233
\ No newline at end of file
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 22cf669d63..44346d38a5 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -28,6 +28,7 @@
Settings
Logs
Close
+ Open
General
More
Accounts
diff --git a/res/values/styles.xml b/res/values/styles.xml
index 0d3f14dfd5..de8a0ab961 100644
--- a/res/values/styles.xml
+++ b/res/values/styles.xml
@@ -25,10 +25,18 @@
- @style/Theme.ownCloud.Widget.ActionBar
- @style/Theme.ownCloud.Widget.ActionBar
- @style/Theme.ownCloud.ButtonStyle
+ - @color/primary
+ - @color/primary_dark
+ - @color/color_accent
-