Created
August 15, 2015 16:00
-
-
Save vkoppaka/2a7a61e8069cfcb9ad7a to your computer and use it in GitHub Desktop.
RecyclerView Main AXML
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:local="http://schemas.android.com/apk/res-auto" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent"> | |
<include | |
android:id="@+id/toolbar" | |
layout="@layout/toolbar" /> | |
<LinearLayout | |
android:orientation="vertical" | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent" | |
android:id="@+id/main_content" | |
android:layout_below="@id/toolbar"> | |
<android.support.v7.widget.RecyclerView | |
android:id="@+id/recyclerView" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" /> | |
</LinearLayout> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I used the above code in VS 2017 community, i am getting blue squiggly lines & errors under
android:layout_below="@id/toolbar"
layout="@layout/toolbar"
, please update your code