-
-
Save Suleman-Elahi/de218c9c0b40bec1519551e04920303a to your computer and use it in GitHub Desktop.
HelloAndroid
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
<?xml version="1.0" encoding="utf-8"?> | |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
tools:context=".MainActivity" | |
android:background="#303c47"> | |
<ImageView | |
android:id="@+id/imageView" | |
android:layout_width="500dp" | |
android:layout_height="200dp" | |
android:layout_alignParentStart="true" | |
android:layout_alignParentTop="true" | |
android:scaleType="centerCrop" | |
android:layout_weight="7" | |
android:src="@drawable/udacity" /> | |
<TextView | |
android:id="@+id/textView2" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_below="@+id/imageView" | |
android:layout_marginTop="13dp" | |
android:layout_toStartOf="@+id/imageView2" | |
android:fontFamily="casual" | |
android:text="Udacity | |
www.udacity.com | |
2465 Latham St | |
Mountain View, CA 94043 | |
650-555-5555" | |
android:textAlignment="center" | |
android:textColor="@android:color/white" | |
android:textSize="16sp" /> | |
<ImageView | |
android:id="@+id/imageView2" | |
android:layout_width="100dp" | |
android:layout_height="100dp" | |
android:layout_alignParentBottom="true" | |
android:layout_alignParentEnd="true" | |
android:layout_weight="3" | |
android:scaleType="fitCenter" | |
android:src="@drawable/muchwow" /> | |
</RelativeLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment