I have this layout below. My goal is to keep the progress bar and the button below the TextView and the progressBar directly on the right of the button. What should I change?
<LinearLayout
android:id="@+id/linearLayout"
android:layout_width="368dp"
android:layout_height="wrap_content"
android:orientation="vertical"
android:layout_alignParentTop="true"
android:weightSum="1"
tools:layout_editor_absoluteY="0dp"
tools:layout_editor_absoluteX="8dp">
<TextView
android:id="@+id/myText"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
android:layout_alignParentRight="true"
android:layout_alignParentTop="true"
android:text="hello guys"
android:textAlignment="center"
android:textAllCaps="false"
android:textStyle="italic" />
<ProgressBar
android:id="@+id/myProgressBar"
style="?android:attr/progressBarStyle"
android:layout_width="wrap_content"
android:layout_height="20dp"
android:visibility="visible" />
<Button
android:id="@+id/buttonID"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_horizontal"
android:enabled="false"
android:text="my button" />
</LinearLayout>