Skip to content

Instantly share code, notes, and snippets.

@ashishkudale
Last active May 13, 2018 11:09
Show Gist options
  • Save ashishkudale/67da8dba710a8b4086c09ba183aa4c88 to your computer and use it in GitHub Desktop.
Save ashishkudale/67da8dba710a8b4086c09ba183aa4c88 to your computer and use it in GitHub Desktop.
how a single subject will look like.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:orientation="vertical"
android:background="#FFFFFF"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginBottom="15dp">
<TextView
android:id="@+id/tvSubjectName"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:textSize="18sp"
android:textColor="#000000" />
<android.support.v7.widget.RecyclerView
android:id="@+id/rvChapters"
android:layout_width="match_parent"
android:layout_height="match_parent" />
</LinearLayout>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment