diff --git a/res/layout/search_users_groups_layout.xml b/res/layout/search_users_groups_layout.xml index 8eed34a9fa..4202ab199d 100644 --- a/res/layout/search_users_groups_layout.xml +++ b/res/layout/search_users_groups_layout.xml @@ -21,18 +21,23 @@ android:layout_height="match_parent" android:orientation="vertical" android:id="@+id/search_layout" - android:minWidth="200dp"> + android:minWidth="200dp" + android:layout_marginRight="@dimen/standard_margin" + android:layout_marginBottom="20dp"> - + android:hint="@string/share_search" + style="@style/ownCloud.SearchView"/> + android:scrollbars="vertical" + android:layout_marginLeft="20dp" + android:layout_marginRight="@dimen/standard_half_margin"/> diff --git a/src/com/owncloud/android/ui/fragment/SearchShareesFragment.java b/src/com/owncloud/android/ui/fragment/SearchShareesFragment.java index 65ce5a54ef..ab2e5ec40f 100644 --- a/src/com/owncloud/android/ui/fragment/SearchShareesFragment.java +++ b/src/com/owncloud/android/ui/fragment/SearchShareesFragment.java @@ -27,13 +27,13 @@ import android.app.SearchManager; import android.content.Context; import android.os.Bundle; import android.support.v4.app.Fragment; +import android.support.v7.widget.SearchView; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.inputmethod.EditorInfo; import android.view.inputmethod.InputMethodManager; import android.widget.ListView; -import android.widget.SearchView; import com.owncloud.android.R; import com.owncloud.android.datamodel.OCFile;