I want to place those two parts inside a layout to form a loading bar.
and
The orange indicator needs to be inside the wood board, But I can't find a way to connect them in a proper way...
The final results should look like this
.
XML File:
<android.support.constraint.ConstraintLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent">
<ImageView
android:id="@+id/wood_board"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
<com.menwithandroid.myhookah.gui.LoadingProgressBar
android:id="@+id/loading_indicator"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />
</android.support.constraint.ConstraintLayout>
How can I connect those parts properly? Thanks.