mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
294 lines
12 KiB
XML
294 lines
12 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
|
|
<resources>
|
|
|
|
<!-- Layout -->
|
|
<style name="Layout">
|
|
<item name="android:layout_width">fill_parent</item>
|
|
<item name="android:layout_height">fill_parent</item>
|
|
</style>
|
|
|
|
<style name="GeckoList" parent="android:style/Widget.ListView">
|
|
</style>
|
|
|
|
<style name="GeckoList.ListItem">
|
|
<item name="android:minHeight">?android:attr/listPreferredItemHeight</item>
|
|
<item name="android:textAppearance">?android:attr/textAppearanceLargeInverse</item>
|
|
<item name="android:gravity">center_vertical</item>
|
|
<item name="android:paddingLeft">12dip</item>
|
|
<item name="android:paddingRight">7dip</item>
|
|
<item name="android:checkMark">?android:attr/listChoiceIndicatorMultiple</item>
|
|
<item name="android:ellipsize">marquee</item>
|
|
</style>
|
|
|
|
<!-- Horizontal Layout -->
|
|
<style name="Layout.Horizontal">
|
|
<item name="android:orientation">horizontal</item>
|
|
</style>
|
|
|
|
<!-- Vertical Layout -->
|
|
<style name="Layout.Vertical">
|
|
<item name="android:orientation">vertical</item>
|
|
</style>
|
|
|
|
<!-- Screen -->
|
|
<style name="Screen" parent="Layout.Vertical">
|
|
<item name="android:background">#fff</item>
|
|
</style>
|
|
|
|
<!-- Transparent Screen -->
|
|
<style name="Screen.Transparent">
|
|
<item name="android:background">#00000000</item>
|
|
</style>
|
|
|
|
<!-- BrowserToolbar -->
|
|
<style name="BrowserToolbar">
|
|
<item name="android:layout_width">fill_parent</item>
|
|
<item name="android:layout_height">@dimen/browser_toolbar_height</item>
|
|
<item name="android:orientation">horizontal</item>
|
|
</style>
|
|
|
|
<!-- Address bar -->
|
|
<style name="AddressBar">
|
|
<item name="android:layout_width">fill_parent</item>
|
|
<item name="android:layout_height">fill_parent</item>
|
|
<item name="android:orientation">horizontal</item>
|
|
</style>
|
|
|
|
<!-- Address bar - Button -->
|
|
<style name="AddressBar.Button">
|
|
<item name="android:layout_height">fill_parent</item>
|
|
<item name="android:textSize">16sp</item>
|
|
<item name="android:background">@android:color/transparent</item>
|
|
</style>
|
|
|
|
<style name="AddressBar.Button.Container">
|
|
<item name="android:layout_marginLeft">4dp</item>
|
|
<item name="android:layout_marginRight">4dp</item>
|
|
<item name="android:layout_toLeftOf">@id/menu_items</item>
|
|
<item name="android:layout_alignParentLeft">true</item>
|
|
<item name="android:layout_alignParentBottom">true</item>
|
|
<item name="android:layout_centerVertical">true</item>
|
|
</style>
|
|
|
|
<!-- Address bar - Image Button -->
|
|
<style name="AddressBar.ImageButton" parent="AddressBar.Button">
|
|
<item name="android:scaleType">center</item>
|
|
<item name="android:layout_gravity">center_vertical</item>
|
|
<item name="android:background">@android:color/transparent</item>
|
|
</style>
|
|
|
|
<!-- Address bar - Image Button - Unused -->
|
|
<style name="AddressBar.ImageButton.Unused">
|
|
<item name="android:layout_width">0dip</item>
|
|
<item name="android:layout_height">0dip</item>
|
|
<item name="android:visibility">gone</item>
|
|
</style>
|
|
|
|
<style name="AddressBar.ImageButton.Forward" parent="AddressBar.ImageButton.Unused">
|
|
<item name="android:contentDescription">@string/forward</item>
|
|
</style>
|
|
|
|
<!-- Address bar - Image Button - Icon -->
|
|
<style name="AddressBar.ImageButton.Icon">
|
|
<item name="android:layout_width">@dimen/browser_toolbar_icon_width</item>
|
|
<item name="android:layout_height">@dimen/browser_toolbar_height</item>
|
|
<item name="android:layout_weight">0.0</item>
|
|
</style>
|
|
|
|
<!-- AwesomeBar -->
|
|
<style name="AwesomeBar">
|
|
<item name="android:layout_width">fill_parent</item>
|
|
<item name="android:layout_height">48dip</item>
|
|
<item name="android:orientation">horizontal</item>
|
|
</style>
|
|
|
|
<!-- Lists in AwesomeBar -->
|
|
<style name="AwesomeBarList" parent="android:style/Widget.ListView.White">
|
|
<item name="android:layout_width">fill_parent</item>
|
|
<item name="android:layout_height">fill_parent</item>
|
|
<item name="android:layout_weight">1</item>
|
|
<item name="android:background">#EEF1F5</item>
|
|
<item name="android:divider">#D1D5DA</item>
|
|
<item name="android:dividerHeight">1dp</item>
|
|
<item name="android:cacheColorHint">#EEF1F5</item>
|
|
<item name="android:listSelector">@drawable/action_bar_button</item>
|
|
</style>
|
|
|
|
<!-- AwesomeBar Tab Indicator Curve -->
|
|
<style name="AwesomeBarTabIndicatorCurve">
|
|
<item name="android:layout_width">wrap_content</item>
|
|
<item name="android:layout_height">fill_parent</item>
|
|
<item name="android:background">@drawable/awesomebar_tab_unselected</item>
|
|
</style>
|
|
|
|
<!-- AwesomeBar Tab Indicator Curve Left -->
|
|
<style name="AwesomeBarTabIndicatorCurve.Left">
|
|
<item name="android:layout_width">20dp</item>
|
|
</style>
|
|
|
|
<!-- AwesomeBar Tab Indicator Curve Right -->
|
|
<style name="AwesomeBarTabIndicatorCurve.Right">
|
|
<item name="android:layout_width">20dp</item>
|
|
</style>
|
|
|
|
<!-- TabsTray List -->
|
|
<style name="TabsListBase">
|
|
<item name="android:background">@android:color/transparent</item>
|
|
<item name="android:listSelector">@android:color/transparent</item>
|
|
</style>
|
|
|
|
<style name="TabsList" parent="TabsListBase">
|
|
<item name="android:orientation">vertical</item>
|
|
</style>
|
|
|
|
<!-- RemoteTabsList -->
|
|
<style name="RemoteTabsList" parent="android:style/Widget.ListView">
|
|
<item name="android:listSelector">@android:color/transparent</item>
|
|
<item name="android:cacheColorHint">@android:color/transparent</item>
|
|
<item name="android:divider">@android:color/transparent</item>
|
|
<item name="android:dividerHeight">1dip</item>
|
|
<item name="android:childDivider">@drawable/remote_tabs_child_divider</item>
|
|
<item name="android:groupIndicator">@android:color/transparent</item>
|
|
</style>
|
|
|
|
<!-- TabsTray Row -->
|
|
<style name="TabRowTextAppearance">
|
|
<item name="android:textColor">#FFFFFFFF</item>
|
|
<item name="android:singleLine">true</item>
|
|
<item name="android:ellipsize">middle</item>
|
|
</style>
|
|
|
|
<!-- TabsTray RemoteTabs Row Url -->
|
|
<style name="TabRowTextAppearance.Url">
|
|
<item name="android:textColor">#FFA4A7A9</item>
|
|
</style>
|
|
|
|
<!-- TabWidget -->
|
|
<style name="TabWidget">
|
|
<item name="android:layout_width">wrap_content</item>
|
|
<item name="android:layout_height">40dip</item>
|
|
<item name="android:layout_weight">1.0</item>
|
|
</style>
|
|
|
|
<!-- Find bar -->
|
|
<style name="FindBar">
|
|
<item name="android:background">#000000</item>
|
|
<item name="android:paddingLeft">3dip</item>
|
|
<item name="android:paddingRight">3dip</item>
|
|
<item name="android:paddingTop">6dip</item>
|
|
<item name="android:paddingBottom">6dip</item>
|
|
</style>
|
|
|
|
<!-- Find bar - Image Button -->
|
|
<style name="FindBar.ImageButton">
|
|
<item name="android:layout_width">wrap_content</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<item name="android:layout_marginLeft">5dip</item>
|
|
<item name="android:layout_marginRight">5dip</item>
|
|
<item name="android:scaleType">fitCenter</item>
|
|
<item name="android:layout_centerVertical">true</item>
|
|
<item name="android:background">@android:color/transparent</item>
|
|
</style>
|
|
|
|
<style name="WebView">
|
|
</style>
|
|
|
|
<style name="WebView.Titlebar">
|
|
<item name="android:background">@drawable/webapp_titlebar_bg</item>
|
|
<item name="android:padding">2dp</item>
|
|
</style>
|
|
|
|
<style name="WebView.Titlebar.Title">
|
|
<item name="android:textColor">#ff222222</item>
|
|
</style>
|
|
|
|
<style name="AboutHome">
|
|
</style>
|
|
|
|
<style name="AboutHome.Thumbnail">
|
|
<item name="android:layout_width">fill_parent</item>
|
|
<item name="android:layout_height">fill_parent</item>
|
|
<item name="android:paddingTop">5dip</item>
|
|
<item name="android:paddingBottom">5dip</item>
|
|
<item name="android:paddingLeft">5dip</item>
|
|
<item name="android:paddingRight">5dip</item>
|
|
</style>
|
|
|
|
<style name="AboutHome.Thumbnail.Grid">
|
|
<item name="android:layout_width">fill_parent</item>
|
|
<item name="android:layout_height">wrap_content</item>
|
|
<!-- Use padding instead of grid spacing to split up items so that
|
|
tap highlight will extend outside the thumbnail -->
|
|
<item name="android:verticalSpacing">0dip</item>
|
|
<item name="android:horizontalSpacing">0dip</item>
|
|
<item name="android:isScrollContainer">false</item>
|
|
<item name="android:gravity">center</item>
|
|
<item name="android:listSelector">@drawable/action_bar_button</item>
|
|
<item name="android:paddingTop">0dip</item>
|
|
<item name="android:paddingBottom">0dip</item>
|
|
<item name="android:paddingLeft">0dip</item>
|
|
<item name="android:paddingRight">0dip</item>
|
|
</style>
|
|
|
|
<style name="AboutHome.Thumbnail.Pinned">
|
|
<item name="android:layout_width">@dimen/abouthome_topsite_pinsize</item>
|
|
<item name="android:layout_height">@dimen/abouthome_topsite_pinsize</item>
|
|
<item name="android:layout_alignTop">@id/thumbnail</item>
|
|
<item name="android:layout_alignRight">@id/thumbnail</item>
|
|
<item name="android:minWidth">30dip</item>
|
|
<item name="android:minHeight">30dip</item>
|
|
</style>
|
|
|
|
<style name="AboutHome.Thumbnail.Image">
|
|
<item name="android:layout_width">fill_parent</item>
|
|
<item name="android:layout_height">fill_parent</item>
|
|
<item name="android:layout_centerHorizontal">true</item>
|
|
<item name="android:layout_alignParentTop">true</item>
|
|
<item name="android:src">@drawable/abouthome_thumbnail_bg</item>
|
|
<item name="android:background">@color/abouthome_thumbnail_bg</item>
|
|
<item name="android:paddingTop">0dip</item>
|
|
<item name="android:paddingBottom">@dimen/abouthome_icon_radius</item>
|
|
<item name="android:paddingLeft">0dip</item>
|
|
<item name="android:paddingRight">0dip</item>
|
|
<item name="android:scaleType">fitCenter</item>
|
|
</style>
|
|
|
|
<style name="AboutHome.Thumbnail.Label">
|
|
<item name="android:layout_width">fill_parent</item>
|
|
<item name="android:layout_height">18dip</item>
|
|
<item name="android:layout_alignBottom">@id/thumbnail</item>
|
|
<item name="android:background">#EFFF</item>
|
|
<item name="android:singleLine">true</item>
|
|
<item name="android:textColor">#222</item>
|
|
<item name="android:paddingTop">0dip</item>
|
|
<item name="android:paddingBottom">1dip</item>
|
|
<item name="android:paddingLeft">5dip</item>
|
|
<item name="android:paddingRight">5dip</item>
|
|
<item name="android:textSize">10sp</item>
|
|
<item name="android:gravity">center|left</item>
|
|
</style>
|
|
|
|
<style name="AboutHome.TextAppearance" />
|
|
|
|
<style name="AboutHome.TextAppearance.Title">
|
|
<item name="android:textSize">15sp</item>
|
|
<item name="android:textColor">@color/abouthome_section_title</item>
|
|
</style>
|
|
|
|
<style name="AboutHome.TextAppearance.SubTitle">
|
|
<item name="android:textSize">12sp</item>
|
|
<item name="android:textColor">@color/abouthome_section_subtitle</item>
|
|
</style>
|
|
|
|
<style name="GeckoDialogTitle">
|
|
<item name="android:textAppearance">@android:style/TextAppearance.DialogWindowTitle</item>
|
|
</style>
|
|
|
|
<style name="GeckoDialogTitle.SubTitle" />
|
|
|
|
</resources>
|