document.write('
Data hosted with ♥ by Pastebin.com - Download Raw - See Original
  1. <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
  2.    xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
  3.    android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
  4.    android:paddingRight="@dimen/activity_horizontal_margin"
  5.    android:paddingTop="@dimen/activity_vertical_margin"
  6.    android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity"
  7.    android:background="#fff2ff7b">
  8.  
  9.  
  10.     <LinearLayout
  11.        android:orientation="horizontal"
  12.        android:layout_width="fill_parent"
  13.        android:layout_height="wrap_content"
  14.        android:layout_alignParentTop="true"
  15.        android:layout_alignParentLeft="true"
  16.        android:layout_alignParentStart="true"
  17.        android:id="@+id/linearLayout">
  18.  
  19.         <EditText
  20.            android:layout_width="0dp"
  21.            android:layout_height="38dp"
  22.            android:id="@+id/urlTxt"
  23.            android:layout_weight="1"
  24.            android:focusable="true"
  25.            android:text="@string/_type_the_url_"
  26.            android:inputType="text"
  27.            android:background="#ffffd989" />
  28.  
  29.         <Button
  30.            android:layout_width="wrap_content"
  31.            android:layout_height="wrap_content"
  32.            android:text="@string/_go_open_"
  33.            android:id="@+id/btnGo"
  34.            android:onClick="gotoUrl" />
  35.  
  36.     </LinearLayout>
  37.  
  38.     <WebView
  39.        android:layout_width="match_parent"
  40.        android:layout_height="fill_parent"
  41.        android:id="@+id/myWebView"
  42.        android:layout_centerHorizontal="true"
  43.        android:layout_below="@+id/linearLayout"
  44.        android:background="#ffffd5eb" />
  45. </RelativeLayout>
');