IT-Academy

Layout Prehliadac

Nov 27th, 2016
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.18 KB | None | 0 0
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.    xmlns:tools="http://schemas.android.com/tools"
  3.    android:layout_width="match_parent"
  4.    android:layout_height="match_parent"
  5.    tools:context=".MainActivity" >
  6.  
  7.     <WebView
  8.        android:id="@+id/webView"
  9.        android:layout_width="match_parent"
  10.        android:layout_height="match_parent"
  11.        android:layout_alignParentLeft="true"
  12.        android:layout_below="@+id/go" />
  13.  
  14.     <Button
  15.        android:id="@+id/go"
  16.        android:layout_width="wrap_content"
  17.        android:layout_height="wrap_content"
  18.        android:layout_alignParentRight="true"
  19.        android:layout_alignParentTop="true"
  20.        android:text="GO"
  21.        android:onClick="go" />
  22.  
  23.     <EditText
  24.        android:id="@+id/url"
  25.        android:layout_width="wrap_content"
  26.        android:layout_height="wrap_content"
  27.        android:layout_alignBaseline="@+id/go"
  28.        android:layout_alignBottom="@+id/go"
  29.        android:layout_alignParentLeft="true"
  30.        android:layout_toLeftOf="@+id/go"
  31.        android:ems="10"
  32.        android:singleLine="true"
  33.        android:text="http://www." />
  34.  
  35. </RelativeLayout>
Advertisement
Add Comment
Please, Sign In to add comment