Created
January 13, 2015 18:27
-
-
Save azec-pdx/1a1b6ebaa958e7e80a65 to your computer and use it in GitHub Desktop.
Layout for WebService example
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:layout_width="match_parent" | |
| android:layout_height="wrap_content" | |
| android:orientation="vertical" > | |
| <TextView | |
| android:id="@+id/textView1" | |
| android:layout_width="fill_parent" | |
| android:layout_height="wrap_content" | |
| android:layout_marginTop="10dp" | |
| android:gravity="center" | |
| android:text="Celsius to Farenheit" | |
| android:textSize="30dp" /> | |
| <EditText | |
| android:id="@+id/editText1" | |
| android:layout_width="fill_parent" | |
| android:layout_height="wrap_content" | |
| android:gravity="center" | |
| android:numeric="integer" | |
| android:singleLine="true" /> | |
| <Button | |
| android:id="@+id/button1" | |
| android:layout_width="fill_parent" | |
| android:layout_height="wrap_content" | |
| android:layout_gravity="center_horizontal" | |
| android:gravity="center" | |
| android:text="Convert to Farenheit" /> | |
| <TextView | |
| android:id="@+id/tv_result" | |
| android:layout_width="fill_parent" | |
| android:layout_height="wrap_content" | |
| android:gravity="center" | |
| android:text="" android:textSize="26dp"/> | |
| </LinearLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment