<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:gravity="center"
  android:orientation="horizontal">

  <View
    android:layout_width="0dp"
    android:layout_height="2dp"
    android:layout_weight="1"
    android:background="@color/darkGrey"/>

  <TextView
    android:id="@+id/divider_text"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_marginEnd="10dp"
    android:layout_marginStart="10dp"
    android:textAlignment="center"
    tools:text="texsdafasdfasdfasdfasdft"
    />

  <View
    android:layout_width="0dp"
    android:layout_height="2dp"
    android:layout_weight="1"
    android:background="@color/darkGrey"/>

</LinearLayout>