Created
April 8, 2015 22:18
-
Star
(137)
You must be signed in to star a gist -
Fork
(115)
You must be signed in to fork a gist
-
-
Save anonymous/e7eb5ceff9dedfc376eb to your computer and use it in GitHub Desktop.
RelativeLayout XML for Udacity quiz question
This file contains hidden or 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 | |
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> |
b
B
B
B
b
b
B
B
B
b
B
B
i will say B
B
B
b
B
obviously B
B
B
B
B
B
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?
B
B
B
B
B
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
B