[Android Software/Hacking General [Developers Only]] halfBlue3:
hey guys, i am making an app that has an activity with 1 large textview, 2 medium textview and a fragment inside. the fragment has a tablayout, a listview, a relativelayout with 3 medium textview for the title of the listview, a relativelayout with 2 medium textview inside it. my problem is that android automatically creates a scrollview in my landscape layout making the listview not scrollable. what should i do guys? i'm quite new at design in android.

here's my layout, i currently use this same layout for landscape but i change the top part of it:

<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"

xmlns:tools="http://schemas.android.com/tools"

android:layout_width="match_parent"

android:layout_height="match_parent"

tools:context="com.integritynet.lukslofts.services.fragment.GuestServiceFrag">

<!-- TODO: Update blank fragment layout -->

<RelativeLayout

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:layout_alignParentTop="true"

android:layout_centerHorizontal="true"

android:padding="8dp"

android:id="@+id/relativeLayout5"

android:gravity="center_vertical">

<TextView

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:textAppearance="@style/Base.TextAppearance.AppCompat.Medium"

android:text="Transaction \nDate"

android:id="@+id/textView7"

android:textSize="20sp"

android:layout_alignTop="@+id/textView8"

android:layout_alignParentLeft="true"

android:layout_alignParentStart="true"

android:layout_marginRight="4dp" />

<TextView

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:textAppearance="@style/Base.TextAppearance.AppCompat.Medium"

android:text="Details"

android:id="@+id/textView8"

android:textSize="20sp"

android:layout_alignTop="@+id/textView9"

android:layout_toRightOf="@+id/textView7"

android:layout_toEndOf="@+id/textView7" />

<TextView

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:textAppearance="@style/Base.TextAppearance.AppCompat.Medium"

android:text="Cost"

android:id="@+id/textView9"

android:textSize="20sp"

android:layout_alignParentTop="true"

android:layout_alignParentRight="true"

android:layout_alignParentEnd="true" />

</RelativeLayout>

<RelativeLayout

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:gravity="center_vertical"

android:padding="16dp"

android:id="@+id/relativeLayout6"

android:layout_alignParentBottom="true"

android:background="@color/colorPrimary">

<TextView

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:textAppearance="?android:attr/textAppearanceLarge"

android:text="Total Service \nTransaction:"

android:id="@+id/textView10"

android:layout_alignTop="@+id/txtSrvcTotal"

android:layout_alignParentLeft="true"

android:layout_alignParentStart="true"

android:textColor="#fff" />

<TextView

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:textAppearance="?android:attr/textAppearanceLarge"

android:text="Php 700.00"

android:id="@+id/txtSrvcTotal"

android:layout_centerVertical="true"

android:layout_alignParentRight="true"

android:layout_alignParentEnd="true"

android:textColor="#fff" />

</RelativeLayout>

<ListView

android:layout_width="wrap_content"

android:layout_height="300dp"

android:id="@+id/lvGuestService"

android:layout_below="@+id/view3"

android:layout_alignParentLeft="true"

android:layout_alignParentStart="true"

android:layout_above="@+id/relativeLayout6" />

<View

android:layout_width="match_parent"

android:layout_height="2dp"

android:background="@color/text_gray"

android:id="@+id/view3"

android:layout_below="@+id/relativeLayout5"

android:layout_centerHorizontal="true" />

<TextView

android:layout_width="wrap_content"

android:layout_height="wrap_content"

android:textAppearance="?android:attr/textAppearanceLarge"

android:text="No record found"

android:id="@+id/txtSrvcTransacNoRecord"

android:layout_below="@+id/view3"

android:layout_centerHorizontal="true" />

</RelativeLayout>