Note that there are some explanatory texts on larger screens.

plurals
  1. PORelativeLayout within LinearLayout is not visible
    primarykey
    data
    text
    <p>I have a RelativeLayout within a LinearLayout however none of the items it contains appear on screen. For some reason only the VidesListView and the Button appear and nothing else. </p> <p>I'm pretty sure I've implemented my ViewPager correctly in Java - but I included it's source just in case. </p> <p>Please let me know if any additional information is required. </p> <p><img src="https://i.stack.imgur.com/NxlKy.png" alt="enter image description here"></p> <h2>XML:</h2> <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt; &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="fill_parent" android:layout_height="fill_parent" android:orientation="vertical" &gt; &lt;Button android:layout_width="fill_parent" android:layout_height="wrap_content" android:onClick="getUserYouTubeFeed" android:text="Get YouTube Feed for &amp;apos;blundellp&amp;apos;" /&gt; &lt;com.blundell.tut.ui.widget.VideosListView android:id="@+id/videosListView" android:layout_width="fill_parent" android:layout_height="fill_parent" /&gt; &lt;RelativeLayout android:id="@+id/footer" android:layout_width="fill_parent" android:layout_height="70dip" android:layout_alignParentBottom="true" &gt; &lt;ImageButton android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="left" android:src="@drawable/home_up_btn" /&gt; &lt;HorizontalScrollView android:id="@+id/groupScrollView" android:layout_width="fill_parent" android:layout_height="match_parent" &gt; &lt;ImageView android:id="@+id/selstation_up_btn" android:layout_width="fill_parent" android:layout_height="match_parent" android:layout_gravity="center_horizontal" android:scaleType="fitXY" android:src="@drawable/selstation_up_btn" /&gt; &lt;/HorizontalScrollView&gt; &lt;ImageButton android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentLeft="true" android:src="@drawable/scroll_lt_arrow" /&gt; &lt;ImageButton android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_alignParentRight="true" android:src="@drawable/scroll_rt_arrow" /&gt; &lt;android.support.v4.view.ViewPager android:id="@+id/view_pager" android:layout_width="wrap_content" android:layout_height="wrap_content" /&gt; &lt;/RelativeLayout&gt; &lt;/LinearLayout&gt; </code></pre> <h2>SOURCE:</h2> <p><a href="http://blog.blundell-apps.com/show-youtube-user-videos-in-a-listview/" rel="nofollow noreferrer">http://blog.blundell-apps.com/show-youtube-user-videos-in-a-listview/</a></p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload