diff --git a/owncloud-android-library b/owncloud-android-library
index 77c0d785c97..1b7a5690409 160000
--- a/owncloud-android-library
+++ b/owncloud-android-library
@@ -1 +1 @@
-Subproject commit 77c0d785c97233e327cfdeba8365b5ab116934c3
+Subproject commit 1b7a5690409b4c694fbff126791289b9720e29f7
diff --git a/res/drawable-hdpi/ic_checkbox_blank_outline.png b/res/drawable-hdpi/ic_checkbox_blank_outline.png
new file mode 100644
index 00000000000..198568dea06
Binary files /dev/null and b/res/drawable-hdpi/ic_checkbox_blank_outline.png differ
diff --git a/res/drawable-hdpi/ic_checkbox_marked.png b/res/drawable-hdpi/ic_checkbox_marked.png
new file mode 100644
index 00000000000..92d4109c504
Binary files /dev/null and b/res/drawable-hdpi/ic_checkbox_marked.png differ
diff --git a/res/drawable-xhdpi/ic_checkbox_blank_outline.png b/res/drawable-xhdpi/ic_checkbox_blank_outline.png
new file mode 100644
index 00000000000..05024eb2c8f
Binary files /dev/null and b/res/drawable-xhdpi/ic_checkbox_blank_outline.png differ
diff --git a/res/drawable-xhdpi/ic_checkbox_marked.png b/res/drawable-xhdpi/ic_checkbox_marked.png
new file mode 100644
index 00000000000..3a2ca1076e9
Binary files /dev/null and b/res/drawable-xhdpi/ic_checkbox_marked.png differ
diff --git a/res/drawable-xxhdpi/ic_checkbox_blank_outline.png b/res/drawable-xxhdpi/ic_checkbox_blank_outline.png
new file mode 100644
index 00000000000..ffb1ea8c9d6
Binary files /dev/null and b/res/drawable-xxhdpi/ic_checkbox_blank_outline.png differ
diff --git a/res/drawable-xxhdpi/ic_checkbox_marked.png b/res/drawable-xxhdpi/ic_checkbox_marked.png
new file mode 100644
index 00000000000..fba7e0c92c3
Binary files /dev/null and b/res/drawable-xxhdpi/ic_checkbox_marked.png differ
diff --git a/res/layout-land/account_setup.xml b/res/layout-land/account_setup.xml
index 347568eb053..df21748a0f7 100644
--- a/res/layout-land/account_setup.xml
+++ b/res/layout-land/account_setup.xml
@@ -65,6 +65,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="10dp"
+ android:theme="@style/Button"
android:text="@string/auth_check_server"
android:visibility="gone"
android:contentDescription="@string/auth_check_server"/>
diff --git a/res/layout-v11/activity_row.xml b/res/layout-v11/activity_row.xml
deleted file mode 100644
index a85c3ee96a9..00000000000
--- a/res/layout-v11/activity_row.xml
+++ /dev/null
@@ -1,59 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/res/layout-v11/notification_with_progress_bar.xml b/res/layout-v11/notification_with_progress_bar.xml
deleted file mode 100644
index c67b9a9ece3..00000000000
--- a/res/layout-v11/notification_with_progress_bar.xml
+++ /dev/null
@@ -1,69 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/res/layout-v14/generic_explanation.xml b/res/layout-v14/generic_explanation.xml
deleted file mode 100644
index bd4b0b6b9e4..00000000000
--- a/res/layout-v14/generic_explanation.xml
+++ /dev/null
@@ -1,68 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/res/layout/account_setup.xml b/res/layout/account_setup.xml
index 3a8655fa327..d4df3bf31b4 100644
--- a/res/layout/account_setup.xml
+++ b/res/layout/account_setup.xml
@@ -51,6 +51,7 @@
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:layout_marginBottom="10dp"
+ android:theme="@style/Button"
android:text="@string/auth_check_server"
android:visibility="gone"
android:contentDescription="@string/auth_check_server"/>
@@ -96,7 +97,6 @@
android:padding="0dp"
android:scaleType="fitCenter"
android:src="@drawable/ic_action_refresh_grey"
- android:onClick="onRefreshClick"
android:visibility="gone"
android:background="@android:color/transparent"
android:contentDescription="@string/auth_refresh_button"
diff --git a/res/layout/activity_row.xml b/res/layout/activity_row.xml
index 9297bcdbecd..a85c3ee96a9 100644
--- a/res/layout/activity_row.xml
+++ b/res/layout/activity_row.xml
@@ -21,9 +21,12 @@
android:id="@+id/list_item"
android:layout_width="match_parent"
android:layout_height="48dp"
+ android:paddingStart="16dip"
+ android:paddingEnd="16dip"
android:paddingRight="16dip"
android:paddingLeft="16dip"
android:minWidth="196dip"
+ android:background="?android:attr/activatedBackgroundIndicator"
android:orientation="vertical" >
@@ -44,7 +48,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
- android:textAppearance="?android:attr/textAppearanceLarge"
+ android:textAppearance="?android:attr/textAppearanceLargePopupMenu"
android:duplicateParentState="true"
android:singleLine="true"
android:ellipsize="marquee"
diff --git a/res/layout/drawer.xml b/res/layout/drawer.xml
index 3fc59bbb6ea..eda7240eddb 100644
--- a/res/layout/drawer.xml
+++ b/res/layout/drawer.xml
@@ -62,22 +62,22 @@
android:layout_width="fill_parent"
android:layout_height="match_parent"
android:background="@color/background_color"
- android:divider="#eee"
+ android:divider="@color/list_divider_background"
android:dividerHeight="1dp"
android:paddingTop="100dp" />
@@ -41,7 +41,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingLeft="22dp"
- android:paddingRight="16dp"
+ android:paddingRight="@dimen/standard_margin"
android:textColor="@color/drawerMenuTextColor"
android:text="@string/app_name"
android:textStyle="normal"
diff --git a/res/layout/drawer_radiobutton.xml b/res/layout/drawer_radiobutton.xml
index 726d0571bea..3c4bbdba9e6 100644
--- a/res/layout/drawer_radiobutton.xml
+++ b/res/layout/drawer_radiobutton.xml
@@ -21,7 +21,7 @@
android:layout_width="fill_parent"
android:layout_height="56dp"
android:gravity="center_vertical"
- android:paddingLeft="16dp"
- android:paddingRight="16dp"
- android:textColor="#000"
+ android:paddingLeft="@dimen/standard_padding"
+ android:paddingRight="@dimen/standard_padding"
+ android:textColor="@color/black"
android:textSize="18dp" />
\ No newline at end of file
diff --git a/res/layout/file_details_fragment.xml b/res/layout/file_details_fragment.xml
index 0ad98e3d1ed..7a241b3df04 100644
--- a/res/layout/file_details_fragment.xml
+++ b/res/layout/file_details_fragment.xml
@@ -32,9 +32,9 @@
android:id="@+id/fdFileHeaderContainer"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginLeft="16dp"
- android:layout_marginRight="16dp"
- android:layout_marginTop="4dp" >
+ android:layout_marginLeft="@dimen/standard_margin"
+ android:layout_marginRight="@dimen/standard_margin"
+ android:layout_marginTop="@dimen/standard_margin">
@@ -110,14 +110,13 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
- android:layout_marginLeft="12dp"
+ android:layout_marginLeft="@dimen/standard_margin"
android:layout_toRightOf="@+id/fdLabelContainer" >
@@ -159,15 +158,16 @@
android:layout_height="wrap_content"
android:layout_below="@+id/fdDetailsContainer"
android:gravity="center_horizontal"
- android:layout_margin="16dp"
+ android:layout_margin="@dimen/standard_margin"
>
-
+ android:text="@string/favorite"
+ android:checked="false" />
diff --git a/res/layout/files_folder_picker.xml b/res/layout/files_folder_picker.xml
index 4fbec4aba6b..0e334fd28e9 100644
--- a/res/layout/files_folder_picker.xml
+++ b/res/layout/files_folder_picker.xml
@@ -48,7 +48,7 @@
-
-
+
+
\ No newline at end of file
diff --git a/res/layout/list_footer.xml b/res/layout/list_footer.xml
index a8e8cc3bf8a..a5a0e264ca5 100644
--- a/res/layout/list_footer.xml
+++ b/res/layout/list_footer.xml
@@ -10,7 +10,8 @@
diff --git a/res/layout/list_item.xml b/res/layout/list_item.xml
index 076ed7b7d38..cf09502e7ed 100644
--- a/res/layout/list_item.xml
+++ b/res/layout/list_item.xml
@@ -22,7 +22,7 @@
android:layout_width="match_parent"
android:background="@drawable/list_selector"
android:orientation="vertical"
- android:layout_height="56dp">
+ android:layout_height="72dp">
@@ -39,16 +43,15 @@
android:id="@+id/localFileIndicator"
android:layout_width="@dimen/file_icon_size"
android:layout_height="@dimen/file_icon_size"
- android:layout_gravity="center_vertical"
- android:layout_marginLeft="22dp"
+ android:layout_gravity="top|right"
+ android:layout_marginRight="4dp"
android:src="@drawable/local_file_indicator" />
@@ -65,7 +67,8 @@
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1"
- android:gravity="center_vertical"
+ android:gravity="top"
+ android:paddingTop="@dimen/standard_padding"
android:orientation="vertical" >
+ android:textSize="@dimen/two_line_primary_text_size" />
+ android:orientation="horizontal">
+ android:textSize="@dimen/two_line_secondary_text_size"/>
+ android:textSize="@dimen/two_line_secondary_text_size"/>
+
+
@@ -128,9 +138,9 @@
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="4dp"
- android:layout_marginRight="4dp"
+ android:layout_marginRight="@dimen/standard_margin"
android:gravity=""
- android:src="@android:drawable/checkbox_off_background" />
+ android:src="@drawable/ic_checkbox_blank_outline" />
diff --git a/res/layout/listrow_group.xml b/res/layout/listrow_group.xml
index 753d7386371..ac71114143e 100644
--- a/res/layout/listrow_group.xml
+++ b/res/layout/listrow_group.xml
@@ -24,7 +24,7 @@
android:layout_height="56dp"
android:layout_marginLeft="8dp"
android:gravity="left"
- android:paddingLeft="16dp"
+ android:paddingLeft="@dimen/standard_padding"
android:paddingTop="8dp"
android:textSize="16dp"
android:groupIndicator="@android:color/transparent"
diff --git a/res/layout/loading_dialog.xml b/res/layout/loading_dialog.xml
index 0dbb9ef33cc..aeea08b6cee 100644
--- a/res/layout/loading_dialog.xml
+++ b/res/layout/loading_dialog.xml
@@ -20,24 +20,24 @@
android:id="@+id/loadingLayout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:orientation="horizontal" >
+ android:orientation="horizontal"
+ android:padding="@dimen/standard_padding">
+ android:indeterminate="true"
+ android:indeterminateOnly="false"/>
diff --git a/res/layout/log_item.xml b/res/layout/log_item.xml
index 2353b195aed..70169e599eb 100644
--- a/res/layout/log_item.xml
+++ b/res/layout/log_item.xml
@@ -30,7 +30,6 @@
android:textStyle="bold"
android:textSize="22dp"
android:textColor="#000000"
- android:layout_marginTop="5dp"
- android:layout_marginBottom="5dp" />
+ android:layout_marginBottom="@dimen/standard_margin" />
\ No newline at end of file
diff --git a/res/layout/log_send_file.xml b/res/layout/log_send_file.xml
index 4f907724fb9..0f916c359e2 100644
--- a/res/layout/log_send_file.xml
+++ b/res/layout/log_send_file.xml
@@ -20,28 +20,28 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
- android:padding="10dp"
- android:paddingLeft="8dp"
- android:paddingRight="8dp"
android:weightSum="1" >
+ android:layout_marginBottom="@dimen/standard_margin"
+ android:layout_weight="1">
+ android:orientation="vertical"
+ android:paddingLeft="@dimen/standard_padding"
+ android:paddingRight="@dimen/standard_padding">
+ android:text="@string/empty"
+ android:typeface="monospace"/>
@@ -49,11 +49,14 @@
android:id="@+id/historyButtonBar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
- android:orientation="horizontal" >
+ android:orientation="horizontal"
+ android:layout_marginBottom="@dimen/standard_margin"
+ android:layout_marginLeft="@dimen/standard_margin"
+ android:layout_marginRight="@dimen/standard_margin">
.
-->
+ android:layout_width="match_parent"
+ android:layout_height="match_parent"
+ >
+
-
-
+
+
+
+
+
-
-
-
-
-
-
+
\ No newline at end of file
diff --git a/res/layout/passcodelock.xml b/res/layout/passcodelock.xml
index f3a0d010285..14c3cf6d6df 100644
--- a/res/layout/passcodelock.xml
+++ b/res/layout/passcodelock.xml
@@ -18,12 +18,11 @@
along with this program. If not, see .
-->
+ android:padding="@dimen/standard_padding" >
diff --git a/res/layout/share_file_layout.xml b/res/layout/share_file_layout.xml
index 27a6133d29b..4b46315eff6 100644
--- a/res/layout/share_file_layout.xml
+++ b/res/layout/share_file_layout.xml
@@ -115,6 +115,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
+ android:theme="@style/Button.Primary"
android:text="@string/share_add_user_or_group"
android:contentDescription="shareAddUserButton"/>
@@ -233,6 +234,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
+ android:theme="@style/Button.Primary"
android:text="@string/share_get_public_link_button"
android:contentDescription="shareGetLinkButton"/>
diff --git a/res/layout/ssl_untrusted_cert_layout.xml b/res/layout/ssl_untrusted_cert_layout.xml
index 2f359f8e96b..8b6d502b150 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="16dp"
+ android:padding="@dimen/standard_padding"
android:orientation="vertical" >
diff --git a/res/layout/ssl_validator_layout.xml b/res/layout/ssl_validator_layout.xml
index 4cbd46a3861..df14a3546de 100644
--- a/res/layout/ssl_validator_layout.xml
+++ b/res/layout/ssl_validator_layout.xml
@@ -22,14 +22,14 @@
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="vertical"
- android:padding="16dp">
+ android:padding="@dimen/standard_padding">
@@ -399,7 +399,7 @@
android:id="@+id/question"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:paddingTop="16dp"
+ android:paddingTop="@dimen/standard_padding"
android:text="@string/ssl_validator_question"
android:textAppearance="?android:attr/textAppearanceMedium"
>
diff --git a/res/layout/upload_files_layout.xml b/res/layout/upload_files_layout.xml
index f7f802cd39f..fbf9cee6e69 100644
--- a/res/layout/upload_files_layout.xml
+++ b/res/layout/upload_files_layout.xml
@@ -86,7 +86,7 @@
@@ -53,6 +53,7 @@
android:orientation="horizontal" >
+ android:layout_height="72dp"
+ android:padding="@dimen/standard_padding">
+ android:id="@+id/thumbnail"
+ android:layout_marginRight="@dimen/standard_padding"/>
-
-
-
+