Skip to content

Instantly share code, notes, and snippets.

@cthulhuplush
Created January 13, 2017 10:49
Show Gist options
  • Save cthulhuplush/81681ae1b19ec4ae381cfa958b59a611 to your computer and use it in GitHub Desktop.
Save cthulhuplush/81681ae1b19ec4ae381cfa958b59a611 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">
<ImageView
android:id="@+id/logo"
android:layout_width="90dp"
android:layout_height="90dp"
android:layout_alignParentLeft="true"
android:layout_centerVertical="true"
android:src="@drawable/ic_bynder_logo"
android:tint="@color/colorPrimary"
android:transitionName="@string/logoTransitionName"/>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="70dp"
android:layout_height="70dp"
android:layout_centerVertical="true"
android:layout_alignParentRight="true"
android:layout_marginTop="30dp"
android:animateLayoutChanges="true">
<ImageButton
android:id="@+id/button"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_margin="10dp"
android:background="@drawable/rounded_button"
android:transitionName="@string/buttonTransitionName"
android:src="@drawable/ic_arrow_forward_white_24dp"/>
<ProgressBar
android:layout_width="match_parent"
android:layout_height="match_parent"
android:foregroundTint="@android:color/white"
android:indeterminateTint="@android:color/white"
android:visibility="invisible"/>
</FrameLayout>
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment