From: masensio Date: Wed, 14 Oct 2015 10:58:07 +0000 (+0200) Subject: Show the 'search' layout in phone and tablet X-Git-Tag: oc-android-1.9^2~30^2~57 X-Git-Url: http://git.linex4red.de/pub/Android/ownCloud.git/commitdiff_plain/905b68b4ec886cff35799c0e0604383d9f1d245b Show the 'search' layout in phone and tablet --- diff --git a/AndroidManifest.xml b/AndroidManifest.xml index acb5f1d8..e758be27 100644 --- a/AndroidManifest.xml +++ b/AndroidManifest.xml @@ -1,4 +1,5 @@ - - + + android:versionName="1.8.0" > + + @@ -31,64 +37,60 @@ - - - - + + + - + + + android:theme="@style/Theme.ownCloud" > + android:label="@string/app_name" > + - - + + - + - + - + - + - - - + + - - - + + android:theme="@style/Theme.ownCloud.Fullscreen" /> - + android:exported="true" > + @@ -98,7 +100,7 @@ + android:exported="true" > @@ -114,13 +116,13 @@ android:enabled="true" android:exported="false" android:label="@string/sync_string_files" - android:syncable="true"> + android:syncable="true" /> + android:launchMode="singleTask" + android:theme="@style/Theme.ownCloud.noActionBar" > @@ -131,6 +133,7 @@ + @@ -141,48 +144,53 @@ - - - - - - - + + + + + + + + + - + - - - - + - + android:name=".ui.activity.CopyToClipboardActivity" + android:icon="@drawable/copy_link" + android:label="@string/copy_link" /> + + + + diff --git a/build.gradle b/build.gradle index a0db0184..8eee8483 100644 --- a/build.gradle +++ b/build.gradle @@ -20,10 +20,11 @@ repositories { dependencies { compile name: 'touch-image-view' - compile 'com.android.support:support-v4:22.2.1' compile project(':owncloud-android-library') + compile 'com.android.support:support-v4:22.2.1' compile 'com.jakewharton:disklrucache:2.0.2' compile 'com.android.support:appcompat-v7:22.2.1' + compile 'com.android.support:design:22.2.1' } android { @@ -58,7 +59,7 @@ android { abortOnError false } } - + productFlavors { } @@ -68,3 +69,7 @@ android { } + + + + diff --git a/res/layout/search_user_item.xml b/res/layout/search_user_item.xml index c7bf2b40..ce236f51 100644 --- a/res/layout/search_user_item.xml +++ b/res/layout/search_user_item.xml @@ -1,4 +1,20 @@ + + + + android:orientation="vertical" + android:id="@+id/search_layout" + android:minWidth="200dp"> + android:layout_width="match_parent" + android:layout_height="match_parent" + android:id="@+id/searchUsersListView" + android:scrollbars="vertical"/> diff --git a/res/layout/share_activity.xml b/res/layout/share_activity.xml new file mode 100644 index 00000000..e9be9f6c --- /dev/null +++ b/res/layout/share_activity.xml @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + diff --git a/res/layout/share_file_dialog.xml b/res/layout/share_file_dialog.xml deleted file mode 100644 index 79987344..00000000 --- a/res/layout/share_file_dialog.xml +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/res/layout/share_file_layout.xml b/res/layout/share_file_layout.xml new file mode 100644 index 00000000..fc2832bd --- /dev/null +++ b/res/layout/share_file_layout.xml @@ -0,0 +1,108 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/res/values-v21/styles.xml b/res/values-v21/styles.xml index c0174420..13ab3168 100644 --- a/res/values-v21/styles.xml +++ b/res/values-v21/styles.xml @@ -18,5 +18,11 @@ --> + > + \ No newline at end of file diff --git a/res/values-w820dp/dimens.xml b/res/values-w820dp/dimens.xml new file mode 100644 index 00000000..63fc8164 --- /dev/null +++ b/res/values-w820dp/dimens.xml @@ -0,0 +1,6 @@ + + + 64dp + diff --git a/res/values/dimens.xml b/res/values/dimens.xml new file mode 100644 index 00000000..da62b5f3 --- /dev/null +++ b/res/values/dimens.xml @@ -0,0 +1,5 @@ + + 180dp + 16dp + 16dp + diff --git a/res/values/styles.xml b/res/values/styles.xml index 54e52257..b7a64843 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -224,4 +224,10 @@ #777777 #000000 + +