Index: libadblockplus-android-webviewapp/res/layout/activity_main.xml |
diff --git a/libadblockplus-android-webviewapp/res/layout/activity_main.xml b/libadblockplus-android-webviewapp/res/layout/activity_main.xml |
new file mode 100644 |
index 0000000000000000000000000000000000000000..012146a829468f83b9e14442cfa85878e0d701ba |
--- /dev/null |
+++ b/libadblockplus-android-webviewapp/res/layout/activity_main.xml |
@@ -0,0 +1,62 @@ |
+<?xml version="1.0" encoding="utf-8"?> |
+ |
+<LinearLayout |
+ xmlns:android="http://schemas.android.com/apk/res/android" |
+ android:layout_width="match_parent" |
+ android:layout_height="match_parent" |
+ android:orientation="vertical"> |
+ |
+ <LinearLayout |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ android:orientation="horizontal"> |
+ |
+ <EditText |
+ android:id="@+id/main_url" |
+ android:layout_width="0px" |
+ android:layout_weight="1" |
+ android:layout_height="wrap_content" |
+ android:text="http://www.google.com" |
+ android:singleLine="true"/> |
+ |
+ <Button |
+ android:id="@+id/main_ok" |
+ android:layout_width="50dp" |
+ android:layout_height="wrap_content" |
+ android:text="@string/main_ok"/> |
+ |
+ <Button |
+ android:id="@+id/main_back" |
+ android:layout_width="40dp" |
+ android:layout_height="wrap_content" |
+ android:text="@string/main_prev"/> |
+ |
+ <Button |
+ android:id="@+id/main_forward" |
+ android:layout_width="40dp" |
+ android:layout_height="wrap_content" |
+ android:text="@string/main_next"/> |
+ |
+ </LinearLayout> |
+ |
+ <CheckBox |
+ android:id="@+id/main_aa" |
+ android:layout_width="wrap_content" |
+ android:layout_height="wrap_content" |
+ android:text="@string/main_aa"/> |
+ |
+ <ProgressBar |
+ android:id="@+id/main_progress" |
+ android:layout_width="match_parent" |
+ android:layout_height="wrap_content" |
+ style="?android:attr/progressBarStyleHorizontal" |
+ android:indeterminate="false" |
+ android:indeterminateOnly="false" |
+ android:max="100"/> |
+ |
+ <org.adblockplus.android.AdblockWebView |
+ android:id="@+id/main_webview" |
+ android:layout_width="match_parent" |
+ android:layout_height="match_parent"/> |
+ |
+</LinearLayout> |