Skip to content

Instantly share code, notes, and snippets.

@therealak12
Created November 16, 2018 18:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save therealak12/fec22824a6b370e3f835d02d8b751989 to your computer and use it in GitHub Desktop.
Save therealak12/fec22824a6b370e3f835d02d8b751989 to your computer and use it in GitHub Desktop.
<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="@dimen/info_window_width"
android:layout_height="wrap_content">
<TextView
android:id="@+id/cta_action_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:text="@string/info_window_title"
android:textSize="@dimen/info_window_title_font_size"
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintBottom_toBottomOf="parent" />
</android.support.constraint.ConstraintLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment