зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1164307 - Add @color/toolbar_divider_grey to the color palette & replace @color/divider_light. r=mcomella
This commit is contained in:
Родитель
d31d945907
Коммит
478ad666bf
|
@ -52,7 +52,7 @@ public class SearchEngineBar extends RecyclerView
|
|||
super(context, attrs);
|
||||
|
||||
mDividerPaint = new Paint();
|
||||
mDividerPaint.setColor(ColorUtils.getColor(context, R.color.divider_light));
|
||||
mDividerPaint.setColor(ColorUtils.getColor(context, R.color.toolbar_divider_grey));
|
||||
mDividerPaint.setStyle(Paint.Style.FILL_AND_STROKE);
|
||||
|
||||
final DisplayMetrics displayMetrics = getResources().getDisplayMetrics();
|
||||
|
|
|
@ -92,7 +92,7 @@ public abstract class DoorHanger extends LinearLayout {
|
|||
mPositiveButton = (Button) findViewById(R.id.doorhanger_button_positive);
|
||||
mOnButtonClickListener = config.getButtonClickListener();
|
||||
|
||||
mDividerColor = ColorUtils.getColor(context, R.color.divider_light);
|
||||
mDividerColor = ColorUtils.getColor(context, R.color.toolbar_divider_grey);
|
||||
|
||||
final ViewStub contentStub = (ViewStub) findViewById(R.id.content);
|
||||
contentStub.setLayoutResource(getContentResource());
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<solid android:color="@color/divider_light"/>
|
||||
<solid android:color="@color/toolbar_divider_grey"/>
|
||||
<size android:height="1dp" />
|
||||
|
||||
</shape>
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<solid android:color="@color/divider_light"/>
|
||||
<solid android:color="@color/toolbar_divider_grey"/>
|
||||
<size android:width="1dp" />
|
||||
|
||||
</shape>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
<item>
|
||||
<shape android:shape="rectangle" >
|
||||
<stroke android:width="1dp"
|
||||
android:color="@color/divider_light" />
|
||||
android:color="@color/toolbar_divider_grey" />
|
||||
<padding android:top="1dp" />
|
||||
</shape>
|
||||
</item>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
<View
|
||||
android:layout_width="1dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/divider_light"/>
|
||||
android:background="@color/toolbar_divider_grey"/>
|
||||
|
||||
<ViewStub android:id="@id/home_empty_view_stub"
|
||||
android:layout="@layout/home_empty_panel"
|
||||
|
|
|
@ -70,7 +70,7 @@
|
|||
<View android:id="@+id/divider_doorhanger"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/divider_light"
|
||||
android:background="@color/toolbar_divider_grey"
|
||||
android:visibility="gone"/>
|
||||
|
||||
</merge>
|
||||
|
|
|
@ -24,7 +24,7 @@
|
|||
gecko:strip="@drawable/home_tab_menu_strip"
|
||||
gecko:titlebarFill="true"
|
||||
gecko:activeTextColor="@android:color/white"
|
||||
gecko:inactiveTextColor="@color/divider_light" />
|
||||
gecko:inactiveTextColor="@color/toolbar_divider_grey" />
|
||||
|
||||
</org.mozilla.gecko.firstrun.FirstrunPager>
|
||||
</org.mozilla.gecko.firstrun.FirstrunAnimationContainer>
|
||||
|
|
|
@ -95,7 +95,7 @@
|
|||
<View android:id="@+id/divider_doorhanger"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dp"
|
||||
android:background="@color/divider_light"
|
||||
android:background="@color/toolbar_divider_grey"
|
||||
android:visibility="gone"/>
|
||||
|
||||
</LinearLayout>
|
||||
|
|
|
@ -60,7 +60,7 @@
|
|||
<!-- DropDown List View -->
|
||||
<style name="DropDownListView" parent="@android:style/Widget.Holo.ListView.DropDown">
|
||||
<item name="android:listSelector">@drawable/action_bar_button</item>
|
||||
<item name="android:divider">@color/divider_light</item>
|
||||
<item name="android:divider">@color/toolbar_divider_grey</item>
|
||||
<item name="android:dividerHeight">1dp</item>
|
||||
</style>
|
||||
|
||||
|
|
|
@ -98,7 +98,7 @@
|
|||
<color name="text_color_link">#22629E</color>
|
||||
|
||||
<!-- Divider colors -->
|
||||
<color name="divider_light">#FFD7D9DB</color>
|
||||
<color name="toolbar_divider_grey">#D7D9DB</color>
|
||||
|
||||
<color name="doorhanger_link">#FF2AA1FE</color>
|
||||
|
||||
|
|
|
@ -45,7 +45,7 @@
|
|||
</style>
|
||||
|
||||
<style name="Widget.ListView" parent="Widget.BaseListView">
|
||||
<item name="android:divider">@color/divider_light</item>
|
||||
<item name="android:divider">@color/toolbar_divider_grey</item>
|
||||
<item name="android:dividerHeight">1dp</item>
|
||||
<item name="android:cacheColorHint">@android:color/transparent</item>
|
||||
<item name="android:listSelector">@drawable/action_bar_button</item>
|
||||
|
@ -82,7 +82,7 @@
|
|||
|
||||
<style name="Widget.GeckoMenuListView" parent="Widget.ListView">
|
||||
<item name="android:listSelector">@drawable/menu_item_action_bar_bg</item>
|
||||
<item name="android:divider">@color/divider_light</item>
|
||||
<item name="android:divider">@color/toolbar_divider_grey</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.MenuItemActionBar">
|
||||
|
@ -236,7 +236,7 @@
|
|||
</style>
|
||||
|
||||
<style name="Widget.HomeListView" parent="Widget.ListView">
|
||||
<item name="android:divider">@color/divider_light</item>
|
||||
<item name="android:divider">@color/toolbar_divider_grey</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.TopSitesListView" parent="Widget.BookmarksListView"/>
|
||||
|
@ -556,12 +556,12 @@
|
|||
</style>
|
||||
|
||||
<style name="Widget.RemoteTabsListView" parent="Widget.HomeListView">
|
||||
<item name="android:childDivider">@color/divider_light</item>
|
||||
<item name="android:childDivider">@color/toolbar_divider_grey</item>
|
||||
<item name="android:drawSelectorOnTop">true</item>
|
||||
</style>
|
||||
|
||||
<style name="Widget.HistoryListView" parent="Widget.HomeListView">
|
||||
<item name="android:childDivider">@color/divider_light</item>
|
||||
<item name="android:childDivider">@color/toolbar_divider_grey</item>
|
||||
<item name="android:drawSelectorOnTop">true</item>
|
||||
</style>
|
||||
|
||||
|
@ -662,7 +662,7 @@
|
|||
</style>
|
||||
|
||||
<style name="ToastDividerBase">
|
||||
<item name="android:background">@color/divider_light</item>
|
||||
<item name="android:background">@color/toolbar_divider_grey</item>
|
||||
<item name="android:layout_width">1dp</item>
|
||||
<item name="android:layout_height">match_parent</item>
|
||||
</style>
|
||||
|
|
Загрузка…
Ссылка в новой задаче