Created
March 10, 2019 07:21
-
-
Save NezSpencer/73a402d79efb118f8c5d0e553eb35864 to your computer and use it in GitHub Desktop.
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
<?xml version="1.0" encoding="utf-8"?> | |
<layout xmlns:android="http://schemas.android.com/apk/res/android"> | |
<LinearLayout | |
android:orientation="vertical" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content"> | |
<ImageView | |
android:id="@+id/iv_image" | |
android:layout_width="200dp" | |
android:layout_height="wrap_content" | |
android:src="@drawable/kid" | |
android:scaleType="centerCrop" | |
android:adjustViewBounds="true" | |
android:contentDescription="Hello World!" | |
/> | |
<TextView | |
android:id="@+id/tv_image_name" | |
android:textSize="16sp" | |
android:text="Image Name: Pencil" | |
android:layout_marginTop="16dp" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content"/> | |
<TextView | |
android:id="@+id/tv_image_desc" | |
android:textSize="16sp" | |
android:layout_marginTop="16dp" | |
android:text="Image Description: Pencil description" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content"/> | |
</LinearLayout> | |
</layout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment