|
1 | 1 | <?xml version="1.0" encoding="utf-8"?> |
2 | 2 | <androidx.core.widget.NestedScrollView |
3 | 3 | xmlns:android="http://schemas.android.com/apk/res/android" |
| 4 | + android:fitsSystemWindows="true" |
| 5 | + android:fillViewport="true" |
4 | 6 | android:layout_height="match_parent" |
5 | 7 | android:layout_width="match_parent"> |
6 | 8 |
|
|
96 | 98 | <TextView |
97 | 99 | android:id="@+id/searchTermView" |
98 | 100 | android:layout_marginTop="20dp" |
99 | | - android:gravity="end|right" |
| 101 | + android:gravity="center_horizontal" |
100 | 102 | android:layout_marginLeft="5dp" |
101 | 103 | android:layout_marginRight="5dp" |
102 | 104 | android:layout_width="match_parent" |
|
106 | 108 |
|
107 | 109 | <FrameLayout |
108 | 110 | android:layout_width="match_parent" |
109 | | - android:layout_height="wrap_content"> |
| 111 | + android:layout_height="match_parent"> |
110 | 112 |
|
111 | 113 | <androidx.recyclerview.widget.RecyclerView |
112 | 114 | android:id="@+id/searchResultsListView" |
|
116 | 118 | android:layout_height="wrap_content" /> |
117 | 119 |
|
118 | 120 | <TextView |
119 | | - android:layout_marginTop="60dp" |
120 | | - android:layout_marginBottom="60dp" |
| 121 | + android:layout_marginTop="@dimen/defaultMargin" |
| 122 | + android:layout_marginBottom="@dimen/defaultMargin" |
121 | 123 | android:id="@+id/searchResultsEmptyView" |
122 | 124 | android:visibility="gone" |
123 | 125 | android:gravity="center" |
|
130 | 132 | <TextView |
131 | 133 | android:id="@+id/searchResultsNoSearchTerm" |
132 | 134 | android:visibility="gone" |
133 | | - android:layout_marginTop="60dp" |
134 | | - android:layout_marginBottom="60dp" |
| 135 | + android:layout_marginTop="@dimen/defaultMargin" |
| 136 | + android:layout_marginBottom="@dimen/defaultMargin" |
135 | 137 | android:layout_gravity="center" |
136 | 138 | android:gravity="center" |
137 | 139 | android:textSize="@dimen/largerTextSize" |
|
142 | 144 | <TextView |
143 | 145 | android:id="@+id/applyToRefresh" |
144 | 146 | android:visibility="gone" |
145 | | - android:layout_marginTop="60dp" |
146 | | - android:layout_marginBottom="60dp" |
| 147 | + android:layout_marginTop="@dimen/defaultMargin" |
| 148 | + android:layout_marginBottom="@dimen/defaultMargin" |
147 | 149 | android:layout_gravity="center" |
148 | 150 | android:gravity="center" |
149 | 151 | android:textSize="@dimen/largerTextSize" |
|
0 commit comments