Skip to content

Instantly share code, notes, and snippets.

Created April 8, 2015 22:18
Show Gist options
  • Save anonymous/e7eb5ceff9dedfc376eb to your computer and use it in GitHub Desktop.
Save anonymous/e7eb5ceff9dedfc376eb to your computer and use it in GitHub Desktop.
RelativeLayout XML for Udacity quiz question
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:padding="16dp">
<TextView
android:text="I’m in this corner"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentLeft="true" />
<TextView
android:text="No, up here"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_alignParentTop="true"
android:layout_alignParentLeft="true" />
<TextView
android:text="Wait, I’m here"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_alignParentBottom="true"
android:layout_alignParentRight="true" />
<TextView
android:text="Actually, I’m here"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_alignParentTop="true"
android:layout_alignParentRight="true" />
</RelativeLayout>
@AlassaneSylla
Copy link

B

@pr-Dutta
Copy link

B

@MariettaDhanessar
Copy link

B

@SanaDeveloper99
Copy link

B

@Safaaalriyami
Copy link

B

@derry-sudo
Copy link

B

@habtsho
Copy link

habtsho commented Aug 1, 2024

b

@wingmike
Copy link

wingmike commented Aug 4, 2024

B

@shamil2004
Copy link

B

@softwareWCU
Copy link

B

@BalchaBe
Copy link

BalchaBe commented Aug 9, 2024

b

@apdyqafaar
Copy link

b

@MangululuG
Copy link

B

@gmchfekadu
Copy link

B

@abdiko24
Copy link

B

@Eyob-Lake
Copy link

b

@dawitdamtew2
Copy link

B

@RasAbrish
Copy link

B

@nardosagide
Copy link

i will say B

@AbduTech
Copy link

B

@AshuIMade
Copy link

B

@andenazero
Copy link

b

@NIYOMUSHUMBa12
Copy link

B

@sami-mersha
Copy link

obviously B

@Gebrushet
Copy link

B

@Falmatan
Copy link

B

@Asli5455
Copy link

B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment