Created
January 28, 2017 05:25
-
-
Save hirokuma/077a821563242c921cda4ae64b5f1fed to your computer and use it in GitHub Desktop.
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
<?xml version="1.0" encoding="utf-8"?> | |
<LinearLayout | |
xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:id="@+id/activity_main" | |
android:orientation="vertical" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
android:paddingBottom="@dimen/activity_vertical_margin" | |
android:paddingLeft="@dimen/activity_horizontal_margin" | |
android:paddingRight="@dimen/activity_horizontal_margin" | |
android:paddingTop="@dimen/activity_vertical_margin" | |
tools:context="com.blogpost.hiro99ma.readersample.MainActivity"> | |
<LinearLayout | |
android:orientation="horizontal" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:background="@android:color/holo_blue_bright" | |
> | |
<EditText | |
android:layout_width="0dp" | |
android:layout_height="wrap_content" | |
android:inputType="textPersonName" | |
android:text="Name" | |
android:ems="10" | |
android:id="@+id/editText" | |
android:layout_weight="1" | |
android:background="@android:color/holo_green_light"/> | |
<Button | |
android:text="Button" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:id="@+id/button" | |
/> | |
</LinearLayout> | |
<ScrollView | |
android:layout_width="match_parent" | |
android:layout_height="0dp" | |
android:background="@color/colorAccent" | |
android:layout_weight="1" | |
android:fillViewport="true"> | |
<TextView | |
android:text="TextView" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:id="@+id/textView"/> | |
</ScrollView> | |
<ScrollView | |
android:layout_width="match_parent" | |
android:layout_height="0dp" | |
android:background="@android:color/holo_orange_light" | |
android:layout_weight="1" | |
android:fillViewport="true"> | |
<TextView | |
android:text="TextView" | |
android:layout_width="match_parent" | |
android:layout_height="wrap_content" | |
android:id="@+id/textView2"/> | |
</ScrollView> | |
</LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment