Skip to content

Instantly share code, notes, and snippets.

@burntcookie90
Created October 15, 2015 23:13
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 burntcookie90/c20a030a2177febde7cd to your computer and use it in GitHub Desktop.
Save burntcookie90/c20a030a2177febde7cd to your computer and use it in GitHub Desktop.
<RelativeLayout
android:layout_gravity="bottom"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
tools:text="diw"
android:id="@+id/text_view_a"
android:layout_centerVertical="true"
android:layout_alignParentLeft="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<ImageView
android:id="@+id/image_view"
android:layout_toRightOf="@id/text_view_a"
android:src="@drawable/ic_action_group_add"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView
android:layout_alignParentRight="true"
android:layout_toRightOf="@id/image_view"
android:gravity="right"
android:layout_centerVertical="true"
tools:text="woidhwodh"
android:id="@+id/text_view_b"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment