Skip to content

Instantly share code, notes, and snippets.

@cthulhuplush
Created February 17, 2017 15:54
Show Gist options
  • Save cthulhuplush/0ca42457ad98e0f7023f219e56fd3db3 to your computer and use it in GitHub Desktop.
Save cthulhuplush/0ca42457ad98e0f7023f219e56fd3db3 to your computer and use it in GitHub Desktop.
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_centerInParent="true">
<ImageView
android:id="@+id/fragment2_logo"
android:layout_width="150dp"
android:layout_height="150dp"
android:layout_centerHorizontal="true"
android:src="@drawable/ic_bynder_logo"
android:tint="@color/colorPrimary"
android:transitionName="@string/logoTransitionName"/>
<ImageButton
android:id="@+id/fragment2_button"
android:layout_width="55dp"
android:layout_height="55dp"
android:layout_centerHorizontal="true"
android:layout_marginBottom="70dp"
android:layout_below="@id/fragment2_logo"
android:background="@drawable/rounded_button"
android:src="@drawable/ic_arrow_forward_white_24dp"/>
</RelativeLayout>
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment