Skip to content

Instantly share code, notes, and snippets.

@pbrewczynski
Created April 13, 2013 15:48
Show Gist options
  • Save pbrewczynski/5378923 to your computer and use it in GitHub Desktop.
Save pbrewczynski/5378923 to your computer and use it in GitHub Desktop.
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<LinearLayout android:width="match_parent"
android:height="wrap_content">
<EditText android:id="@+id/telephone_number"
android:layout_weight="5"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:phoneNumber="true"
android:hint="@string/telephone_number" />
<EditText android:id="@+id/sms_message"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:hint="@string/sms_message" />
</LinearLayout>
<EditText android:id="@+id/sms_message"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:lines="6"
android:hint="@string/sms_message" />
<Button
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/button_send"
android:onClick="sendMessage" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment