Initial commit.
[PrivacyBrowser.git] / app / src / main / res / layout / activity_webview.xml
1 <RelativeLayout
2     xmlns:android="http://schemas.android.com/apk/res/android"
3     xmlns:tools="http://schemas.android.com/tools"
4     android:layout_width="match_parent"
5     android:layout_height="match_parent"
6     tools:context=".Webview" >
7
8     <LinearLayout
9         android:layout_width="match_parent"
10         android:layout_height="wrap_content"
11         android:orientation="horizontal"
12         android:id="@+id/topBarLayout">
13
14         <EditText
15             android:id="@+id/urlTextBox"
16             android:layout_width="wrap_content"
17             android:layout_height="wrap_content"
18             android:inputType="textUri"
19             android:imeOptions="actionGo"
20             android:layout_weight="1"/>
21
22         <Button
23             android:id="@+id/goButton"
24             android:text="@string/go_button"
25             android:onClick="loadUrl"
26             style="?android:attr/buttonStyleSmall"
27             android:layout_width="wrap_content"
28             android:layout_height="wrap_content" />
29     </LinearLayout>
30
31     <WebView
32         android:id="@+id/mainWebView"
33         android:layout_width="match_parent"
34         android:layout_height="match_parent"
35         android:layout_below="@+id/topBarLayout"
36         android:focusable="true"
37         android:focusableInTouchMode="true" />
38 </RelativeLayout>