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

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

Issue 29351744: Issue 4399 - Add WebView inheritor with ad blocking (Closed)
Patch Set: changed packages, now using AdblockEngine (original ABPEngine), improved demo app Created Oct. 25, 2016, 11:20 a.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
2
3 <LinearLayout
4 xmlns:android="http://schemas.android.com/apk/res/android"
5 android:layout_width="match_parent"
6 android:layout_height="match_parent"
7 android:orientation="vertical">
8
9 <LinearLayout
10 android:layout_width="match_parent"
11 android:layout_height="wrap_content"
12 android:orientation="horizontal">
13
14 <EditText
15 android:id="@+id/main_url"
16 android:layout_width="0px"
17 android:layout_weight="1"
18 android:layout_height="wrap_content"
19 android:text="http://www.google.com"
20 android:singleLine="true"/>
21
22 <Button
23 android:id="@+id/main_ok"
24 android:layout_width="50dp"
25 android:layout_height="wrap_content"
26 android:text="@string/main_ok"/>
27
28 <Button
29 android:id="@+id/main_back"
30 android:layout_width="40dp"
31 android:layout_height="wrap_content"
32 android:text="@string/main_prev"/>
33
34 <Button
35 android:id="@+id/main_forward"
36 android:layout_width="40dp"
37 android:layout_height="wrap_content"
38 android:text="@string/main_next"/>
39
40 </LinearLayout>
41
42 <LinearLayout
43 android:layout_width="match_parent"
44 android:layout_height="wrap_content">
45
46 <CheckBox
47 android:id="@+id/main_abp_enabled"
48 android:layout_width="wrap_content"
49 android:layout_height="wrap_content"
50 android:checked="true"
51 android:text="@string/main_abp"/>
52
53 <CheckBox
54 android:id="@+id/main_aa_enabled"
55 android:layout_width="wrap_content"
56 android:layout_height="wrap_content"
57 android:text="@string/main_aa"/>
58
59 </LinearLayout>
60
61 <ProgressBar
62 android:id="@+id/main_progress"
63 android:layout_width="match_parent"
64 android:layout_height="wrap_content"
65 style="?android:attr/progressBarStyleHorizontal"
66 android:indeterminate="false"
67 android:indeterminateOnly="false"
68 android:max="100"/>
69
70 <org.adblockplus.libadblockplus.android.webview.AdblockWebView
71 android:id="@+id/main_webview"
72 android:layout_width="match_parent"
73 android:layout_height="match_parent"/>
74
75 </LinearLayout>
OLDNEW
« 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