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

Delta Between Two Patch Sets: mobile/android/thirdparty/org/adblockplus/browser/StartPane.java

Issue 6296160390086656: Issue 2491 - Fix design elements in onboarding slides (Closed)
Left Patch Set: Created May 21, 2015, 1:38 p.m.
Right Patch Set: Renamed button background. Created May 22, 2015, 12:04 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « mobile/android/base/strings.xml.in ('k') | no next file » | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 /* 1 /*
2 * This file is part of Adblock Plus <https://adblockplus.org/>, 2 * This file is part of Adblock Plus <https://adblockplus.org/>,
3 * Copyright (C) 2006-2015 Eyeo GmbH 3 * Copyright (C) 2006-2015 Eyeo GmbH
4 * 4 *
5 * Adblock Plus is free software: you can redistribute it and/or modify 5 * Adblock Plus is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License version 3 as 6 * it under the terms of the GNU General Public License version 3 as
7 * published by the Free Software Foundation. 7 * published by the Free Software Foundation.
8 * 8 *
9 * Adblock Plus is distributed in the hope that it will be useful, 9 * Adblock Plus is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 16 matching lines...) Expand all
27 import java.util.Map; 27 import java.util.Map;
28 28
29 import org.mozilla.gecko.R; 29 import org.mozilla.gecko.R;
30 30
31 import android.content.Context; 31 import android.content.Context;
32 import android.content.DialogInterface; 32 import android.content.DialogInterface;
33 import android.content.DialogInterface.OnKeyListener; 33 import android.content.DialogInterface.OnKeyListener;
34 import android.graphics.Typeface; 34 import android.graphics.Typeface;
35 import android.os.Bundle; 35 import android.os.Bundle;
36 import android.support.v4.app.DialogFragment; 36 import android.support.v4.app.DialogFragment;
37 import android.text.Html;
38 import android.util.Log; 37 import android.util.Log;
39 import android.view.KeyEvent; 38 import android.view.KeyEvent;
40 import android.view.LayoutInflater; 39 import android.view.LayoutInflater;
41 import android.view.View; 40 import android.view.View;
42 import android.view.View.OnClickListener; 41 import android.view.View.OnClickListener;
43 import android.view.ViewGroup; 42 import android.view.ViewGroup;
44 import android.view.ViewGroup.LayoutParams; 43 import android.view.ViewGroup.LayoutParams;
45 import android.view.Window; 44 import android.view.Window;
46 import android.widget.Button; 45 import android.widget.Button;
47 import android.widget.LinearLayout; 46 import android.widget.LinearLayout;
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after
224 } 223 }
225 } 224 }
226 } 225 }
227 226
228 private void setButtonText(final View view, final int viewId, final int resId) 227 private void setButtonText(final View view, final int viewId, final int resId)
229 { 228 {
230 final Button button = (Button) view.findViewById(viewId); 229 final Button button = (Button) view.findViewById(viewId);
231 button.setText(this.getString(resId)); 230 button.setText(this.getString(resId));
232 } 231 }
233 } 232 }
LEFTRIGHT

Powered by Google App Engine
This is Rietveld