Advertisement
Shishu

xml file for an fair a trip app

Dec 20th, 2019
116
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.07 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:layout_width="match_parent"
  6.    android:layout_height="match_parent"
  7.    tools:context=".MainActivity"
  8.    android:orientation="vertical">
  9.  
  10.     <EditText
  11.            android:layout_width="match_parent"
  12.            android:layout_height="wrap_content"
  13.            android:id="@+id/e1"
  14.            android:textSize="35dp"
  15.            android:hint="Enter Your Distance"
  16.            android:textColorHint="@color/colorPrimary"/>
  17.         <Button
  18.            android:layout_width="wrap_content"
  19.            android:layout_height="wrap_content"
  20.            android:id="@+id/b1"
  21.            android:layout_gravity="center"
  22.            android:text="ENTER"
  23.            android:textSize="25dp"/>
  24.  
  25.     <TextView
  26.        android:id="@+id/t1"
  27.        android:layout_width="match_parent"
  28.        android:layout_height="70dp" />
  29.  
  30.     </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement