Created
April 12, 2011 17:13
-
-
Save agiletalk/915946 to your computer and use it in GitHub Desktop.
[예제] padding
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"?> | |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:orientation="vertical" | |
| android:layout_width="fill_parent" | |
| android:layout_height="fill_parent" | |
| > | |
| <EditText | |
| android:layout_width="fill_parent" | |
| android:layout_height="wrap_content" | |
| android:text="Upper Text" | |
| /> | |
| <LinearLayout | |
| android:layout_width="fill_parent" | |
| android:layout_height="wrap_content" | |
| android:background="#ff0000" | |
| > | |
| <Button | |
| android:layout_width="fill_parent" | |
| android:layout_height="wrap_content" | |
| android:text="Button" | |
| /> | |
| </LinearLayout> | |
| <EditText | |
| android:layout_width="fill_parent" | |
| android:layout_height="wrap_content" | |
| android:text="Lower Text" | |
| /> | |
| </LinearLayout> |
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"?> | |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:orientation="vertical" | |
| android:layout_width="fill_parent" | |
| android:layout_height="fill_parent" | |
| > | |
| <EditText | |
| android:layout_width="fill_parent" | |
| android:layout_height="wrap_content" | |
| android:text="Upper Text" | |
| /> | |
| <LinearLayout | |
| android:layout_width="fill_parent" | |
| android:layout_height="wrap_content" | |
| android:background="#ff0000" | |
| android:layout_margin="10px" | |
| > | |
| <Button | |
| android:layout_width="fill_parent" | |
| android:layout_height="wrap_content" | |
| android:text="Button" | |
| /> | |
| </LinearLayout> | |
| <EditText | |
| android:layout_width="fill_parent" | |
| android:layout_height="wrap_content" | |
| android:text="Lower Text" | |
| /> | |
| </LinearLayout> |
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"?> | |
| <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
| android:orientation="vertical" | |
| android:layout_width="fill_parent" | |
| android:layout_height="fill_parent" | |
| > | |
| <EditText | |
| android:layout_width="fill_parent" | |
| android:layout_height="wrap_content" | |
| android:text="Upper Text" | |
| /> | |
| <LinearLayout | |
| android:layout_width="fill_parent" | |
| android:layout_height="wrap_content" | |
| android:background="#ff0000" | |
| android:layout_margin="10px" | |
| android:padding="10px" | |
| > | |
| <Button | |
| android:layout_width="fill_parent" | |
| android:layout_height="wrap_content" | |
| android:text="Button" | |
| /> | |
| </LinearLayout> | |
| <EditText | |
| android:layout_width="fill_parent" | |
| android:layout_height="wrap_content" | |
| android:text="Lower Text" | |
| /> | |
| </LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment