Index: adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/UrlInputOpenerPreference.java |
=================================================================== |
--- a/adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/UrlInputOpenerPreference.java |
+++ b/adblockplussbrowser/src/org/adblockplus/sbrowser/contentblocker/UrlInputOpenerPreference.java |
@@ -31,12 +31,14 @@ |
import android.util.AttributeSet; |
import android.util.Patterns; |
import android.view.KeyEvent; |
+import android.view.View; |
import android.view.inputmethod.EditorInfo; |
import android.widget.EditText; |
import android.widget.TextView; |
import android.widget.Toast; |
import org.adblockplus.adblockplussbrowser.R; |
+import org.adblockplus.sbrowser.contentblocker.util.PreferenceUtils; |
public class UrlInputOpenerPreference extends EditTextPreference implements TextWatcher, |
TextView.OnEditorActionListener |
@@ -122,6 +124,13 @@ |
return false; |
} |
+ @Override |
+ protected void onBindView(View view) |
+ { |
+ super.onBindView(view); |
+ PreferenceUtils.setMultilineTitle(view); |
+ } |
+ |
public void setIcon(@DrawableRes int iconResId) |
{ |
final Drawable drawable = ContextCompat.getDrawable(getContext(), iconResId); |