title: Android Studio: Create a calendarView with listView for each day
body: <p>I am very new to Android studio so just judge.</p>
  
  <p>I want to create a Calendaring that has a list below it for each day. This is what I have:<img src="https://i.stack.imgur.com/IOvqQ.png" alt="enter image description here"></p>
  
  <p>But I have been trying to get my head around how to write the functions for each. I had a few ideas like two fragments within one view with the help from fragmentManager. Or simply just add a SimpleAdapter to the FragmentA.java for list.</p>
  
  <p>What Im trying to say, I really don't know what I want! I would appreciate some pointers/guidance or example?</p>
  
  <p>I have my functionality code in Fragments. My activity is running a swipe function between FragmentA.java, B and C.</p>
  
  <p>fragment_a.xml
      </p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      android:orientation="vertical"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:clickable="true"
      android:focusable="true"&gt;
  
      &lt;RelativeLayout
          android:layout_width="match_parent"
          android:layout_height="0dp"
          android:layout_weight="0.5"
          android:clickable="true"
          android:focusable="true"&gt;
  
          &lt;CalendarView
              android:id="@+id/calendarView1"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:adjustViewBounds="true"
              android:clickable="true" /&gt;
  
      &lt;/RelativeLayout&gt;
          &lt;ListView
              android:id="@+id/dailyView1"
              android:layout_width="match_parent"
              android:layout_height="0dp"
              android:layout_weight="0.5"
              android:layout_marginLeft="5dp"
              android:layout_marginRight="5dp"
              android:layout_gravity="center_horizontal|center"
              android:clickable="true"
              android:focusable="true" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>Would appreciate how you would do this. This calendar will, at the and, speak to an API.</p>
  
  <p>Thank you!</p>