diff options
author | jrizzoli <joey@cyanogenmoditalia.it> | 2015-05-06 20:59:59 +0200 |
---|---|---|
committer | Joey Rizzoli <joey@cyanogenmoditalia.it> | 2015-11-07 14:08:54 -0800 |
commit | 4c496c806380653642f17eb8950ba9efd7d43299 (patch) | |
tree | 607a011952213ef22f9308267535cf4b2d5e156b /src/com/android/browser/preferences | |
parent | a77b9f7993ec874eadde2104f8b0f73f2f6186d2 (diff) | |
download | packages_apps_Browser-4c496c806380653642f17eb8950ba9efd7d43299.zip packages_apps_Browser-4c496c806380653642f17eb8950ba9efd7d43299.tar.gz packages_apps_Browser-4c496c806380653642f17eb8950ba9efd7d43299.tar.bz2 |
Browser: update UI
* Res
- Rename (#themersgottahate)
- Vectors
- Card-Tabs
- CleanUp
* Interface
- Longpress fab to open incognito tab
- New icon
- Better urlbar
- Fix tab animations
- Remap PieControl
* Features
- Immersive mode (replace jb fullscreen)
Change-Id: I2fde4242f477359dc8af18d1b7752750058cd6e9
Signed-off-by: jrizzoli <joey@cyanogenmoditalia.it>
Diffstat (limited to 'src/com/android/browser/preferences')
-rw-r--r-- | src/com/android/browser/preferences/GeneralPreferencesFragment.java | 2 | ||||
-rw-r--r-- | src/com/android/browser/preferences/InterfacePreferencesFragment.java (renamed from src/com/android/browser/preferences/LabPreferencesFragment.java) | 6 | ||||
-rw-r--r-- | src/com/android/browser/preferences/WebsiteSettingsFragment.java | 4 |
3 files changed, 7 insertions, 5 deletions
diff --git a/src/com/android/browser/preferences/GeneralPreferencesFragment.java b/src/com/android/browser/preferences/GeneralPreferencesFragment.java index 26fb05f..2e1fdb4 100644 --- a/src/com/android/browser/preferences/GeneralPreferencesFragment.java +++ b/src/com/android/browser/preferences/GeneralPreferencesFragment.java @@ -17,6 +17,8 @@ package com.android.browser.preferences; import android.app.AlertDialog; +import android.app.Dialog; +import android.app.DialogFragment; import android.content.DialogInterface; import android.content.DialogInterface.OnClickListener; import android.content.res.Resources; diff --git a/src/com/android/browser/preferences/LabPreferencesFragment.java b/src/com/android/browser/preferences/InterfacePreferencesFragment.java index 222b5fa..474f03a 100644 --- a/src/com/android/browser/preferences/LabPreferencesFragment.java +++ b/src/com/android/browser/preferences/InterfacePreferencesFragment.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010 The Android Open Source Project + * Copyright (C) 2015 The CyanogenMod Project * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -25,12 +25,12 @@ import com.android.browser.PreferenceKeys; import com.android.browser.R; import com.android.browser.search.SearchEngine; -public class LabPreferencesFragment extends PreferenceFragment { +public class InterfacePreferencesFragment extends PreferenceFragment { @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // Load the XML preferences file - addPreferencesFromResource(R.xml.lab_preferences); + addPreferencesFromResource(R.xml.interface_preferences); } } diff --git a/src/com/android/browser/preferences/WebsiteSettingsFragment.java b/src/com/android/browser/preferences/WebsiteSettingsFragment.java index be38f3e..d1a3cc8 100644 --- a/src/com/android/browser/preferences/WebsiteSettingsFragment.java +++ b/src/com/android/browser/preferences/WebsiteSettingsFragment.java @@ -219,9 +219,9 @@ public class WebsiteSettingsFragment extends ListFragment implements OnClickList mUsageHighIcon = BitmapFactory.decodeResource(getResources(), R.drawable.ic_list_data_large); mLocationAllowedIcon = BitmapFactory.decodeResource(getResources(), - R.drawable.ic_gps_on_dark); + R.drawable.ic_gps_on); mLocationDisallowedIcon = BitmapFactory.decodeResource(getResources(), - R.drawable.ic_gps_denied_dark); + R.drawable.ic_gps_denied); mCurrentSite = site; if (mCurrentSite == null) { askForOrigins(); |