mirror of
https://github.com/nextcloud/android.git
synced 2024-11-23 05:35:39 +03:00
search view using AppCompat implementation + layout optimizations
This commit is contained in:
parent
e195cdadd8
commit
7fe4de73f3
2 changed files with 10 additions and 5 deletions
|
@ -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">
|
||||
|
||||
<SearchView
|
||||
<android.support.v7.widget.SearchView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/searchView"
|
||||
android:hint="@string/share_search"/>
|
||||
android:hint="@string/share_search"
|
||||
style="@style/ownCloud.SearchView"/>
|
||||
|
||||
<ListView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:id="@+id/searchUsersListView"
|
||||
android:scrollbars="vertical"/>
|
||||
android:scrollbars="vertical"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginRight="@dimen/standard_half_margin"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue