зеркало из https://github.com/mozilla/gecko-dev.git
Bug 838735: Remove transparency from inactive tabs. [r=mfinkle]
This commit is contained in:
Родитель
da2bfd2552
Коммит
212c2b682f
|
@ -1036,7 +1036,6 @@ RES_DRAWABLE_XLARGE_XHDPI_V11 = \
|
|||
RES_COLOR = \
|
||||
res/color/menu_item_title.xml \
|
||||
res/color/select_item_multichoice.xml \
|
||||
res/color/tab_title.xml \
|
||||
$(NULL)
|
||||
|
||||
RES_MENU = \
|
||||
|
|
|
@ -241,11 +241,6 @@ public class TabsTray extends ListView
|
|||
else
|
||||
row.thumbnail.setImageResource(R.drawable.tab_thumbnail_default);
|
||||
|
||||
if (Tabs.getInstance().isSelectedTab(tab))
|
||||
row.thumbnail.setAlpha(255);
|
||||
else
|
||||
row.thumbnail.setAlpha(179);
|
||||
|
||||
row.title.setText(tab.getDisplayTitle());
|
||||
}
|
||||
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
<?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/. -->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:state_checked="true"
|
||||
android:color="#FFFFFFFF"/>
|
||||
|
||||
<item android:state_checked="false"
|
||||
android:color="#FFCBCBCB"/>
|
||||
|
||||
</selector>
|
|
@ -34,7 +34,7 @@
|
|||
android:paddingLeft="8dip"
|
||||
android:paddingRight="4dip"
|
||||
style="@style/TabRowTextAppearance"
|
||||
android:textColor="@color/tab_title"
|
||||
android:textColor="#FFFFFFFF"
|
||||
android:textSize="14sp"
|
||||
android:singleLine="false"
|
||||
android:maxLines="4"
|
||||
|
|
Загрузка…
Ссылка в новой задаче