Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?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="match_parent">
- <EditText
- android:id="@+id/editText_main"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:hint="@string/enter"
- android:inputType="phone"/>
- <Spinner
- android:id="@+id/label_spinner"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content">
- </Spinner>
- <Button
- android:id="@+id/button_main"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:onClick="showText"
- android:text="@string/show" />
- <LinearLayout
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- android:layout_alignParentBottom="true">
- <TextView
- android:id="@+id/title_phonelabel"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Phone Number: " />
- <TextView
- android:id="@+id/text_phonelabel"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="Nothing entered." />
- </LinearLayout>
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement