<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
              android:layout_width="fill_parent"
              android:layout_height="fill_parent"
              android:weightSum="1"
              android:orientation="vertical">

    <androidx.viewpager.widget.ViewPager
            android:id="@+id/newsImage"
            android:background="@drawable/button_background"
            android:layout_width="match_parent"
            android:layout_height="300dp"/>

    <LinearLayout
            android:layout_width="fill_parent"
            android:layout_height="fill_parent"
            android:layout_weight="0.5"
            android:orientation="vertical">

        <TextView
                android:id="@+id/newsDesc"
                android:layout_margin="8dp"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:text="@string/dummy_text_3"/>
    </LinearLayout>
</LinearLayout>