Skip to content

Instantly share code, notes, and snippets.

@agiletalk
Created April 11, 2011 10:35
Show Gist options
  • Save agiletalk/913340 to your computer and use it in GitHub Desktop.
Save agiletalk/913340 to your computer and use it in GitHub Desktop.
[예제] ImageView
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
>
<ImageView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:src="@drawable/pride"
/>
<ImageView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:src="@drawable/pride"
android:maxHeight="70px"
android:maxWidth="120px"
android:adjustViewBounds="true"
/>
<ImageView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:src="@drawable/dog"
android:tint="#4000ff00"
/>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment