Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
- android:layout_height="match_parent" android:paddingLeft="@dimen/activity_horizontal_margin"
- android:paddingRight="@dimen/activity_horizontal_margin"
- android:paddingTop="@dimen/activity_vertical_margin"
- android:paddingBottom="@dimen/activity_vertical_margin" tools:context=".MainActivity"
- android:background="#fff2ff7b">
- <LinearLayout
- android:orientation="horizontal"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentTop="true"
- android:layout_alignParentLeft="true"
- android:layout_alignParentStart="true"
- android:id="@+id/linearLayout">
- <EditText
- android:layout_width="0dp"
- android:layout_height="38dp"
- android:id="@+id/urlTxt"
- android:layout_weight="1"
- android:focusable="true"
- android:text="@string/_type_the_url_"
- android:inputType="text"
- android:background="#ffffd989" />
- <Button
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:text="@string/_go_open_"
- android:id="@+id/btnGo"
- android:onClick="gotoUrl" />
- </LinearLayout>
- <WebView
- android:layout_width="match_parent"
- android:layout_height="fill_parent"
- android:id="@+id/myWebView"
- android:layout_centerHorizontal="true"
- android:layout_below="@+id/linearLayout"
- android:background="#ffffd5eb" />
- </RelativeLayout>
Add Comment
Please, Sign In to add comment