Created
April 10, 2016 15:50
-
-
Save rwoloszyn/c947baa388f9328943ef3d13186bdf7b to your computer and use it in GitHub Desktop.
Align layouts on the left and right edeges
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<RelativeLayout | |
android:layout_width="fill_parent" | |
android:layout_height="fill_parent"> | |
<de.hdodenhof.circleimageview.CircleImageView | |
android:id="@+id/no_answer_image" | |
android:layout_width="40dp" | |
android:layout_height="40dp" | |
android:layout_alignParentLeft="true" | |
android:layout_marginLeft="5dp" | |
android:src="@drawable/avatar"/> | |
<de.hdodenhof.circleimageview.CircleImageView | |
android:id="@+id/yes_answer_image" | |
android:layout_width="50dp" | |
android:layout_height="50dp" | |
android:layout_alignParentRight="true" | |
android:layout_marginEnd="5dp" | |
android:layout_marginRight="5dp" | |
android:src="@drawable/avatar"/> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment