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>
@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

@Innovator250
Copy link

B

@Berhanus
Copy link

Berhanus commented Dec 1, 2024

B

@muhuawol
Copy link

It looks like shared an XML layout for an Android application and some comments from a GitHub gist or repository. The XML layout uses a RelativeLayout with multiple TextView elements positioned in various corners. Is there anything specific you'd like to know or discuss about this code?

@yasco44
Copy link

yasco44 commented Dec 12, 2024

B

@Tesfaye-Abebe
Copy link

B

@Dekeba
Copy link

Dekeba commented Feb 6, 2025

B

@behabtuG
Copy link

B

@Nafi73
Copy link

Nafi73 commented Mar 29, 2025

B

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