Skip to content

Instantly share code, notes, and snippets.

@choiks14
Created August 18, 2016 06:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save choiks14/37a08d27b28432a4a2b7d35702b41b4b to your computer and use it in GitHub Desktop.
Save choiks14/37a08d27b28432a4a2b7d35702b41b4b to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/view2"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="horizontal">
<TextView
android:id="@+id/from"
android:layout_width="100dp"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:text="From"
android:textColor="#000fff"
android:textStyle="bold" />
<EditText
android:id="@+id/input"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_alignParentTop="true"
android:gravity="right"
android:inputType="number" />
</LinearLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment