Q:

Use CalendarView & FrameLayout in ScrollView

I'm looking for a way to use the CalendarView and the FrameLayout in a ScrollView. My first idea was like this:
<ScrollView
    ...

    <CalendarView
        ...
    />

    <FrameLayout
        ...
    />
</ScrollView>

but for some reason the XML-File doesn't display the FrameLayout. However the ScrollView is very important and the reason why I use the FrameLayout is, because I'm using multiple views.

A:

Try
<ScrollView>

<LinearLayout>
    ...

    <CalendarView
        ...
    />

    <FrameLayout
        ...
    />
</LinearLayout>
</ScrollView>

Also kindly note that Frame Layout wont show in design preview if width and height set as "wrap_content"

