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 /res/values | |
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 'res/values')
-rw-r--r-- | res/values/cm_colors.xml | 25 | ||||
-rw-r--r-- | res/values/cm_strings.xml | 12 | ||||
-rw-r--r-- | res/values/colors.xml | 6 | ||||
-rw-r--r-- | res/values/dimensions.xml | 2 | ||||
-rw-r--r-- | res/values/styles.xml | 6 |
5 files changed, 41 insertions, 10 deletions
diff --git a/res/values/cm_colors.xml b/res/values/cm_colors.xml new file mode 100644 index 0000000..c9dd6af --- /dev/null +++ b/res/values/cm_colors.xml @@ -0,0 +1,25 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + 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. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> +<resources> + <color name="white">#fafafa</color> + <color name="black">#212121</color> + <color name="primary">#4caf50</color> + <color name="primary_dark">#388e3c</color> + <color name="accent">#1b5e20</color> + <color name="floating_action_button_touch_tint">#388e3c</color> + <color name="trasparent">#00000000</color> +</resources> diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml index ebcc697..e5f22ac 100644 --- a/res/values/cm_strings.xml +++ b/res/values/cm_strings.xml @@ -27,4 +27,16 @@ <!-- User agent label --> <string name="pref_content_ua">User agent</string> + + <!-- Interface preferences --> + <string name="pref_interface_title">Interface</string> + + <!-- FullScreen --> + <string name="full_screen_title">Fullscreen</string> + <string name="full_screen_summary">Enable immersive navigation</string> + + <!-- OneHand --> + <string name="onehand_title">OneHand Navigation</string> + <string name="onehand_summary">Easier web navigation with swipes and quick actions</string> + </resources> diff --git a/res/values/colors.xml b/res/values/colors.xml index 3b362aa..706180d 100644 --- a/res/values/colors.xml +++ b/res/values/colors.xml @@ -20,12 +20,6 @@ <!-- FIXME: Change the name of this file! It is now being used generically for the browser --> <resources> - <color name="white">#fafafa</color> - <color name="black">#212121</color> - <color name="primary">#4caf50</color> - <color name="primary_dark">#388e3c</color> - <color name="accent">#1b5e20</color> - <color name="floating_action_button_touch_tint">#388e3c</color> <color name="bookmarkWidgetHeader">#383847</color> <color name="bookmarkWidgetDivider">#383847</color> <color name="bookmarkWidgetItemBackground">#2b2b3c</color> diff --git a/res/values/dimensions.xml b/res/values/dimensions.xml index b285344..59e235e 100644 --- a/res/values/dimensions.xml +++ b/res/values/dimensions.xml @@ -69,7 +69,7 @@ <dimen name="tab_thumbnail_height">160dip</dimen> <dimen name="nav_tab_width">240dip</dimen> <dimen name="nav_tab_height">160dip</dimen> - <dimen name="nav_tab_titleheight">32dip</dimen> + <dimen name="nav_tab_titleheight">24dip</dimen> <dimen name="nav_tab_text_normal">18sp</dimen> <dimen name="nav_tab_text_small">14sp</dimen> <dimen name="suggest_item_padding">8dp</dimen> diff --git a/res/values/styles.xml b/res/values/styles.xml index 0ad7ffe..6541904 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -62,7 +62,7 @@ <item name="android:textColorHint">?android:attr/textColorHintInverse</item> </style> <style name="Widget.UrlInputView" parent="BrowserTheme"> - <item name="android:colorAccent">@color/accent</item> + <!--item name="android:colorAccent">@color/accent</item--> </style> <style name="SuggestionLineMedium" parent="@android:style/TextAppearance.Material.Medium"> @@ -84,8 +84,8 @@ <style name="HoloIcon"> <item name="android:layout_marginLeft">16dip</item> </style> - <style name="HoloButton"> - <item name="android:background">?android:attr/selectableItemBackground</item> + <style name="BrowserButton"> + <item name="android:background">?android:attr/selectableItemBackgroundBorderless</item> <item name="android:paddingLeft">8dip</item> <item name="android:paddingRight">8dip</item> </style> |