Skip to content

Instantly share code, notes, and snippets.

@agiletalk
Created April 12, 2011 16:50
Show Gist options
  • Save agiletalk/915896 to your computer and use it in GitHub Desktop.
Save agiletalk/915896 to your computer and use it in GitHub Desktop.
[예제] baselineAligned
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:baselineAligned="true"
>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Medium"
android:textSize="10pt"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Small"
android:textSize="5pt"
android:background="#0000ff"
/>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Large"
android:textSize="20pt"
android:typeface="serif"
/>
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment