Created
October 16, 2015 10:28
-
-
Save mnafian/bbacb420fe9b8e1ffc67 to your computer and use it in GitHub Desktop.
SampleLinearLayout 2 vertical
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
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="fill_parent" | |
android:layout_height="match_parent" | |
android:paddingLeft="@dimen/activity_horizontal_margin" | |
android:paddingRight="@dimen/activity_horizontal_margin" | |
android:paddingTop="@dimen/activity_vertical_margin" | |
android:background="@drawable/cover" | |
android:orientation="vertica"> <--! dibuat vertical, ini root layout --> | |
<LinearLayout | |
android:id="@+id/layout1" | |
android:orientation="vertical" | |
android:layout_width="match_parent" | |
android:layout_height="0dp" | |
android:layout_weight="1" | |
android:layout_margin="10dp" | |
android:background="@drawable/backgroud"></LinearLayout> | |
<LinearLayout | |
android:id="@+id/layout2" | |
android:orientation="vertical" | |
android:layout_width="match_parent" | |
android:layout_height="0dp" | |
android:layout_weight="1" | |
android:layout_margin="10dp" | |
android:background="@drawable/backgroud"></LinearLayout> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment