Right now I have an AppBarLayout like this
<com.google.android.material.appbar.AppBarLayout
android:id="@+id/toolbar_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/transparent"
app:elevation="0dp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<LinearLayout
android:orientation="horizontal"
android:gravity="center_vertical"
android:layout_width="match_parent"
android:layout_height="match_parent" >
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolbar"
android:layout_width="wrap_content"
android:layout_height="?android:attr/actionBarSize"
android:theme="@style/ActionBarTheme_Dark"
app:contentInsetStart="@dimen/dimen_medium_margin"
app:layout_collapseMode="pin" />
<LinearLayout
android:id="@+id/pagination_bubble_container"
android:gravity="center"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_height="6dp">
</LinearLayout>
</LinearLayout>
</com.google.android.material.appbar.AppBarLayout>
I want the pagination_bubble_container to be ABSOLUTE center of the screen, and completely ignore the toolbar object. I want it to be vertically centered AND horizonallty centered. Right now, the pagination container is just slightly to the right of center due to the toolbar object.