diff options
Diffstat (limited to 'mobile/android/base/resources/layout/search_fragment_pre_search.xml')
-rw-r--r-- | mobile/android/base/resources/layout/search_fragment_pre_search.xml | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/mobile/android/base/resources/layout/search_fragment_pre_search.xml b/mobile/android/base/resources/layout/search_fragment_pre_search.xml new file mode 100644 index 000000000..82ce15b1b --- /dev/null +++ b/mobile/android/base/resources/layout/search_fragment_pre_search.xml @@ -0,0 +1,27 @@ +<!-- This Source Code Form is subject to the terms of the Mozilla Public + - License, v. 2.0. If a copy of the MPL was not distributed with this + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> + +<LinearLayout + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical" + android:background="@color/toolbar_grey"> + + <ViewStub android:id="@+id/empty_view_stub" + android:layout="@layout/search_empty" + android:layout_width="match_parent" + android:layout_height="0dp" + android:layout_weight="1"/> + + <ListView + android:id="@+id/list_view" + android:layout_width="match_parent" + android:layout_height="0dp" + android:layout_weight="1" + android:scrollbarStyle="outsideOverlay" + android:paddingLeft="@dimen/search_row_padding" + android:paddingRight="@dimen/search_row_padding"/> + +</LinearLayout> |