Skip to content

Commit 8ee39c0

Browse files
committed
Add header separator to repo_search layout
1 parent afa6973 commit 8ee39c0

File tree

1 file changed

+17
-9
lines changed

1 file changed

+17
-9
lines changed

app/res/layout/repo_search.xml

Lines changed: 17 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,22 @@
1414
See the License for the specific language governing permissions and
1515
limitations under the License.
1616
-->
17-
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
18-
android:layout_width="match_parent"
19-
android:layout_height="match_parent" >
17+
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
18+
android:layout_width="match_parent"
19+
android:layout_height="match_parent" >
20+
21+
<View
22+
android:id="@+id/v_header_separator"
23+
style="@style/HeaderSeparator"
24+
android:layout_alignParentLeft="true"
25+
android:layout_alignParentTop="true" />
2026

21-
<fragment
22-
android:id="@android:id/list"
23-
android:layout_width="match_parent"
24-
android:layout_height="match_parent"
25-
class="com.github.mobile.ui.repo.SearchRepositoryListFragment" />
27+
<fragment
28+
android:id="@android:id/list"
29+
android:layout_width="match_parent"
30+
android:layout_height="match_parent"
31+
android:layout_alignParentLeft="true"
32+
android:layout_below="@id/v_header_separator"
33+
class="com.github.mobile.ui.repo.SearchRepositoryListFragment" />
2634

27-
</FrameLayout>
35+
</RelativeLayout>

0 commit comments

Comments
 (0)