Revision control

Copy as Markdown

<resources>
<declare-styleable name="AppTheme">
<attr name="dialogButtonStyle" format="reference" />
<attr name="honeycombButtonStyle" format="reference" />
<attr name="navigationBarStyle" format="reference" />
<attr name="uiButtonStyle" format="reference" />
<attr name="navigationBarButtonStyle" format="reference" />
<attr name="fullScreenButtonStyle" format="reference" />
<attr name="fullScreenFirstButtonStyle" format="reference" />
<attr name="fullScreenLastButtonStyle" format="reference" />
<attr name="mediaControlsButtonStyle" format="reference" />
<attr name="navigationBarTextButtonStyle" format="reference" />
<attr name="selectionActionButtonStyle" format="reference" />
<attr name="navigationBarButtonTint" format="reference" />
<attr name="separatorStyle" format="reference" />
<attr name="urlProtocolColor" format="color" />
<attr name="urlWebsiteColor" format="color" />
<attr name="scrollbarStyle" format="color" />
</declare-styleable>
<style name="ShadowTextViewStyle" parent="android:Widget.TextView">
<item name="android:shadowColor">@color/text_shadow</item>
<item name="android:shadowDx">2</item>
<item name="android:shadowDy">2</item>
<item name="android:shadowRadius">7</item>
</style>
<style name="radioButtonTheme">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:background">@android:color/transparent</item>
<item name="android:button">@drawable/radio</item>
<item name="android:checked">true</item>
<item name="android:paddingStart">10dp</item>
<item name="android:paddingEnd">10dp</item>
<item name="android:inputType">textCapSentences</item>
<item name="android:textSize">@dimen/text_medium_size</item>
<item name="android:textColor">@color/fog</item>
</style>
<style name="navigationBarTheme">
<item name="android:background">@null</item>
<item name="android:padding">0dp</item>
</style>
<style name="separatorTheme">
<item name="android:background">@drawable/separator_background</item>
<item name="android:layout_height">1.5dp</item>
</style>
<style name="uiButtonTheme">
<item name="android:padding">@dimen/tray_icon_padding_max</item>
<item name="android:layout_gravity">center_vertical</item>
<item name="android:layout_width">40dp</item>
<item name="android:layout_height">40dp</item>
<item name="android:scaleType">fitCenter</item>
<item name="tintColorList">@drawable/main_button_icon_color</item>
<item name="privateModeTintColorList">@drawable/main_button_icon_color_private</item>
<item name="activeModeTintColorList">@drawable/main_button_icon_color_active</item>
<item name="notificationModeTintColorList">@drawable/main_button_icon_color_notification</item>
<item name="privateNotificationModeTintColorList">@drawable/main_button_icon_color_notification_private</item>
<item name="clipColor">@color/azure</item>
</style>
<style name="navigationBarButtonTheme" parent="uiButtonTheme">
<item name="android:background">@drawable/main_button</item>
<item name="privateModeBackground">@drawable/main_button_private</item>
</style>
<style name="fullScreenButtonTheme" parent="uiButtonTheme">
<item name="android:background">@drawable/fullscreen_button</item>
<item name="privateModeBackground">@drawable/fullscreen_button_private</item>
</style>
<style name="fullScreenFirstButtonTheme" parent="uiButtonTheme">
<item name="android:background">@drawable/fullscreen_button_first</item>
<item name="privateModeBackground">@drawable/fullscreen_button_private_first</item>
</style>
<style name="fullScreenLastButtonTheme" parent="uiButtonTheme">
<item name="android:background">@drawable/fullscreen_button_last</item>
<item name="privateModeBackground">@drawable/fullscreen_button_private_last</item>
</style>
<style name="mediaControlsButtonTheme" parent="uiButtonTheme">
<item name="android:background">@drawable/media_button</item>
<item name="android:layout_width">44dp</item>
<item name="android:layout_height">44dp</item>
<item name="privateModeBackground">@drawable/main_button_private</item>
</style>
<style name="trayButtonStartTheme" parent="uiButtonTheme">
<item name="android:background">@drawable/tray_background_unchecked_start</item>
<item name="privateModeBackground">@drawable/tray_background_start_private</item>
<item name="activeModeBackground">@drawable/tray_background_checked_start</item>
</style>
<style name="trayButtonMiddleTheme" parent="uiButtonTheme">
<item name="android:background">@drawable/tray_background_unchecked_middle</item>
<item name="privateModeBackground">@drawable/tray_background_middle_private</item>
<item name="activeModeBackground">@drawable/tray_background_checked_middle</item>
</style>
<style name="trayButtonEndTheme" parent="uiButtonTheme">
<item name="android:background">@drawable/tray_background_unckecked_end</item>
<item name="privateModeBackground">@drawable/tray_background_end_private</item>
<item name="activeModeBackground">@drawable/tray_background_ckecked_end</item>
</style>
<style name="libraryButtonTheme">
<item name="android:padding">@dimen/library_button_padding</item>
<item name="android:layout_gravity">center_vertical</item>
<item name="android:layout_width">70dp</item>
<item name="android:layout_height">70dp</item>
<item name="android:scaleType">fitCenter</item>
<item name="tintColorList">@drawable/library_button_icon_color</item>
<item name="activeModeTintColorList">@drawable/library_button_icon_color_active</item>
</style>
<style name="libraryButtonStartTheme" parent="libraryButtonTheme">
<item name="android:background">@drawable/library_button_background_start</item>
<item name="activeModeBackground">@drawable/library_button_active_background_start</item>
</style>
<style name="libraryButtonMiddleTheme" parent="libraryButtonTheme">
<item name="android:background">@drawable/library_button_background</item>
<item name="activeModeBackground">@drawable/library_button_active_background</item>
</style>
<style name="honeycombButtonTheme">
<item name="android:orientation">vertical</item>
<item name="android:layout_width">136dp</item>
<item name="android:layout_height">136dp</item>
<item name="android:layout_marginEnd">-10dp</item>
<item name="android:background">@drawable/settings_honeycomb_background</item>
<item name="android:scaleType">fitCenter</item>
<item name="android:gravity">center</item>
<item name="android:icon">@drawable/ic_settings_privacypolicy</item>
<item name="android:text"></item>
</style>
<style name="navigationBarTextButtonTheme">
<item name="android:background">@drawable/main_button</item>
<item name="android:padding">10dp</item>
<item name="android:layout_gravity">center_vertical</item>
<item name="android:gravity">center</item>
<item name="android:layout_width">40dp</item>
<item name="android:layout_height">40dp</item>
<item name="android:textAlignment">center</item>
<item name="tintColorList">@drawable/main_button_icon_color</item>
<item name="privateModeTintColorList">@drawable/main_button_icon_color_private</item>
</style>
<style name="selectionActionButtonTheme">
<item name="android:padding">15dp</item>
<item name="android:textColor">@color/fog</item>
<item name="android:layout_gravity">center_vertical</item>
<item name="android:gravity">center</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:textAlignment">center</item>
<item name="android:textSize">26sp</item>
<item name="android:singleLine">true</item>
<item name="android:maxWidth">150dp</item>
</style>
<style name="textButtonTheme">
<item name="android:background">@drawable/text_button_private</item>
<item name="android:padding">10dp</item>
<item name="android:paddingStart">20dp</item>
<item name="android:paddingEnd">20dp</item>
<item name="android:layout_gravity">center</item>
<item name="android:gravity">center</item>
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">40dp</item>
<item name="android:textAlignment">center</item>
<item name="tintColorList">@drawable/main_button_icon_color</item>
<item name="privateModeTintColorList">@drawable/main_button_icon_color_private</item>
<item name="privateModeBackground">@drawable/text_button</item>
</style>
<style name="navigationBarTextButtonStartTheme" parent="navigationBarTextButtonTheme">
<item name="android:background">@drawable/fullscreen_button_first</item>
<item name="privateModeBackground">@drawable/fullscreen_button_private_first</item>
</style>
<style name="navigationBarTextButtonMiddleTheme" parent="navigationBarTextButtonTheme">
<item name="android:background">@drawable/fullscreen_button</item>
<item name="privateModeBackground">@drawable/fullscreen_button_private</item>
</style>
<style name="navigationBarTextButtonEndTheme" parent="navigationBarTextButtonTheme">
<item name="android:background">@drawable/fullscreen_button_last</item>
<item name="privateModeBackground">@drawable/fullscreen_button_private_last</item>
</style>
<style name="urlBarIconTheme">
<item name="regularModeBackground">@drawable/url_button</item>
<item name="android:layout_width">@dimen/url_bar_item_width</item>
<item name="android:layout_height">match_parent</item>
<item name="android:scaleType">centerInside</item>
<item name="android:gravity">center</item>
<item name="privateModeBackground">@drawable/url_button_private</item>
<item name="tintColorList">@drawable/main_button_icon_color</item>
<item name="privateModeTintColorList">@drawable/main_button_icon_color_private</item>
<item name="activeModeTintColorList">@drawable/main_button_icon_color_active</item>
<item name="notificationModeTintColorList">@drawable/main_button_icon_color_notification</item>
<item name="privateNotificationModeTintColorList">@drawable/main_button_icon_color_notification_private</item>
</style>
<style name="urlBarIconThemeStart">
<item name="regularModeBackground">@drawable/url_button_start</item>
<item name="android:layout_width">@dimen/url_bar_first_item_width</item>
<item name="android:layout_height">match_parent</item>
<item name="android:scaleType">centerInside</item>
<item name="android:gravity">center</item>
<item name="privateModeBackground">@drawable/url_button_start_private</item>
<item name="tintColorList">@drawable/main_button_icon_color</item>
<item name="privateModeTintColorList">@drawable/main_button_icon_color_private</item>
<item name="activeModeTintColorList">@drawable/main_button_icon_color_active</item>
<item name="notificationModeTintColorList">@drawable/main_button_icon_color_notification</item>
<item name="privateNotificationModeTintColorList">@drawable/main_button_icon_color_notification_private</item>
</style>
<style name="urlBarIconThemeEnd">
<item name="regularModeBackground">@drawable/url_button_end</item>
<item name="android:layout_width">@dimen/url_bar_last_item_width</item>
<item name="android:layout_height">match_parent</item>
<item name="android:scaleType">centerInside</item>
<item name="android:gravity">center</item>
<item name="privateModeBackground">@drawable/url_button_end_private</item>
<item name="tintColorList">@drawable/main_button_icon_color</item>
<item name="privateModeTintColorList">@drawable/main_button_icon_color_private</item>
<item name="activeModeTintColorList">@drawable/main_button_icon_color_active</item>
<item name="notificationModeTintColorList">@drawable/main_button_icon_color_notification</item>
<item name="privateNotificationModeTintColorList">@drawable/main_button_icon_color_notification_private</item>
</style>
<style name="scrollbar">
<item name="android:scrollbarAlwaysDrawVerticalTrack">true</item>
<item name="android:scrollbarStyle">outsideOverlay</item>
<item name="android:scrollbars">vertical</item>
<item name="android:fadeScrollbars">false</item>
<item name="android:scrollbarThumbVertical">@drawable/scrollbar_thumb</item>
<item name="android:fastScrollEnabled">true</item>
<item name="android:fastScrollAlwaysVisible">true</item>
<item name="android:fadingEdgeLength">60dp</item>
<item name="android:requiresFadingEdge">vertical</item>
</style>
<style name="customScrollViewStyle">
<item name="android:fastScrollAlwaysVisible">true</item>
<item name="android:scrollbarSize">@dimen/scrollbarWidth</item>
<item name="android:fastScrollThumbDrawable">@drawable/scrollbar_thumb</item>
<item name="dynamicHeight">true</item>
</style>
<style name="customRecyclerViewStyle">
<item name="android:fastScrollAlwaysVisible">true</item>
<item name="customFastScrollEnabled">true</item>
<item name="fastScrollEnabled">false</item>
<item name="fastScrollHorizontalThumbDrawable">@drawable/empty_drawable</item>
<item name="fastScrollHorizontalTrackDrawable">@drawable/empty_drawable</item>
<item name="fastScrollVerticalThumbDrawable">@drawable/scrollbar_thumb</item>
<item name="fastScrollVerticalTrackDrawable">@drawable/empty_drawable</item>
<item name="android:smoothScrollbar">true</item>
</style>
<style name="settingsEdit">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:textSize">@dimen/text_medium_size</item>
<item name="android:background">@drawable/edittext_background</item>
<item name="android:textColor">@drawable/edittext_textcolor</item>
<item name="android:textColorHighlight">@color/rhino</item>
<item name="android:padding">5dp</item>
<item name="android:textStyle">bold</item>
<item name="android:imeActionId">1</item>
<item name="android:imeOptions">actionDone</item>
<item name="android:focusable">true</item>
<item name="android:focusableInTouchMode">true</item>
<item name="android:singleLine">true</item>
<item name="android:layout_marginEnd">5dp</item>
<item name="android:gravity">center_vertical</item>
<item name="android:textCursorDrawable">@drawable/settings_edit_cursor</item>
<item name="android:selectAllOnFocus">true</item>
</style>
<style name="settingsButton">
<item name="android:layout_width">@dimen/options_button_width</item>
<item name="android:layout_height">@dimen/options_button_height</item>
<item name="android:layout_gravity">center</item>
<item name="android:gravity">center</item>
<item name="android:text">@string/developer_options_edit</item>
<item name="android:textColor">@drawable/main_button_text_color</item>
<item name="android:textSize">14sp</item>
<item name="android:typeface">sans</item>
<item name="android:textStyle">bold</item>
<item name="android:background">@drawable/rectangle_button_background</item>
<item name="android:clickable">true</item>
</style>
<style name="tabsButton">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:minWidth">120dp</item>
<item name="android:layout_marginLeft">5dp</item>
<item name="android:layout_gravity">center_vertical</item>
<item name="android:textAlignment">center</item>
<item name="android:textColor">@drawable/main_button_icon_color</item>
<item name="android:textSize">12sp</item>
<item name="android:typeface">sans</item>
<item name="android:textStyle">bold</item>
<item name="android:paddingStart">12dp</item>
<item name="android:paddingEnd">12dp</item>
<item name="android:paddingBottom">4dp</item>
<item name="android:paddingTop">4dp</item>
<item name="android:background">@drawable/rectangle_button_background</item>
<item name="android:clickable">true</item>
<item name="android:focusable">true</item>
</style>
<style name="settingsSwitch">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:switchMinWidth">0dp</item>
<item name="android:textOff">""</item>
<item name="android:textOn">""</item>
<item name="android:thumb">@drawable/switch_thumb</item>
<item name="android:track">@drawable/switch_track</item>
</style>
<style name="checkbox">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">match_parent</item>
<item name="android:button">@drawable/checkbox</item>
<item name="android:layout_gravity">center_horizontal</item>
<item name="android:textSize">@dimen/text_medium_size</item>
<item name="android:paddingStart">5dp</item>
</style>
<style name="settingsHelpButton">
<item name="android:layout_width">20dp</item>
<item name="android:layout_height">20dp</item>
<item name="android:src">@drawable/ic_icon_tray_help_v2</item>
<item name="android:background">@drawable/setting_help_button_background</item>
<item name="tintColorList">@drawable/main_button_icon_color</item>
<item name="android:padding">3dp</item>
<item name="android:layout_marginStart">5dp</item>
<item name="android:layout_marginEnd">5dp</item>
</style>
<style name="settingsHeaderText">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:gravity">center</item>
<item name="android:textColor">@color/fog</item>
<item name="android:textSize">@dimen/settings_header_text_size</item>
<item name="android:fontFamily">sans-serif</item>
</style>
<style name="settingsDescriptionText">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:gravity">center</item>
<item name="android:textColor">@color/rhino</item>
<item name="android:textSize">@dimen/settings_description_text_size</item>
<item name="android:fontFamily">sans-serif</item>
</style>
<style name="settingsText">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:gravity">center</item>
<item name="android:textColor">@color/fog</item>
<item name="android:textSize">@dimen/settings_text_size</item>
<item name="android:fontFamily">sans-serif</item>
</style>
<style name="settingsSwitchText">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:gravity">center</item>
<item name="android:textColor">@color/fog</item>
<item name="android:textSize">@dimen/text_medium_size</item>
<item name="android:fontFamily">sans-serif</item>
</style>
<style name="settingsButtonDescriptionText">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:gravity">center</item>
<item name="android:textColor">@color/fog</item>
<item name="android:textSize">@dimen/text_medium_size</item>
<item name="android:fontFamily">sans-serif</item>
</style>
<style name="settingsValue">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:gravity">center</item>
<item name="android:textColor">@color/rhino</item>
<item name="android:textSize">@dimen/text_medium_size</item>
<item name="android:textStyle">bold</item>
<item name="android:layout_marginEnd">5dp</item>
</style>
<style name="settingsDescription">
<item name="android:layout_width">wrap_content</item>
<item name="android:layout_height">wrap_content</item>
<item name="android:textColor">@color/fog</item>
<item name="android:textSize">@dimen/text_medium_size</item>
<item name="android:linksClickable">true</item>
</style>
<style name="FxR.Dark" parent="@android:style/Theme.Black.NoTitleBar.Fullscreen">
<item name="android:windowNoTitle">true</item>
<item name="android:windowActionBar">false</item>
<item name="android:windowFullscreen">true</item>
<item name="android:windowContentOverlay">@null</item>
<item name="android:soundEffectsEnabled">false</item>
<item name="android:defaultFocusHighlightEnabled">false</item>
<item name="honeycombButtonStyle">@style/honeycombButtonTheme</item>
<item name="navigationBarStyle">@style/navigationBarTheme</item>
<item name="navigationBarButtonStyle">@style/navigationBarButtonTheme</item>
<item name="fullScreenButtonStyle">@style/fullScreenButtonTheme</item>
<item name="fullScreenFirstButtonStyle">@style/fullScreenFirstButtonTheme</item>
<item name="fullScreenLastButtonStyle">@style/fullScreenLastButtonTheme</item>
<item name="mediaControlsButtonStyle">@style/mediaControlsButtonTheme</item>
<item name="separatorStyle">@style/separatorTheme</item>
<item name="uiButtonStyle">@style/uiButtonTheme</item>
<item name="navigationBarTextButtonStyle">@style/navigationBarTextButtonTheme</item>
<item name="selectionActionButtonStyle">@style/selectionActionButtonTheme</item>
<item name="urlProtocolColor">@color/fog_url_protocol</item>
<item name="urlWebsiteColor">@color/fog</item>
<item name="scrollbarStyle">@style/scrollbar</item>
<item name="radioButtonStyle">@style/radioButtonTheme</item>
<item name="android:textCursorDrawable">@drawable/cursor_drawable</item>
<!-- Draggable scrollbar -->
<item name="android:fastScrollEnabled">true</item>
<item name="android:fastScrollAlwaysVisible">true</item>
<item name="android:scrollbarSize">@dimen/scrollbarWidth</item>
<item name="android:fastScrollThumbDrawable">@drawable/fast_scroll_thumb</item>
<item name="android:fastScrollStyle">@style/Widget.FastScroll</item>
<item name="android:fastScrollOverlayPosition">atThumb</item>
<item name="android:smoothScrollbar">true</item>
<item name="android:overScrollMode">ifContentScrolls</item>
<!-- TextView Style -->
<item name="android:textViewStyle">@style/ShadowTextViewStyle</item>
</style>
<style name="Widget.FastScroll" parent="android:Widget.Material.FastScroll"/>
</resources>