Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: libadblockplus-android-webviewapp/res/layout/activity_main.xml

Issue 29351744: Issue 4399 - Add WebView inheritor with ad blocking (Closed)
Patch Set: stopping for fast redirection Created Sept. 27, 2016, 12:27 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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>
« no previous file with comments | « libadblockplus-android-webviewapp/res/drawable/icon.png ('k') | libadblockplus-android-webviewapp/res/values/strings.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld