Bug 838735: Remove transparency from inactive tabs. [r=mfinkle]

This commit is contained in:
Sriram Ramasubramanian 2013-02-07 12:35:03 -08:00
parent 21eb7efa71
commit 7f3bacbcb4
4 changed files with 1 additions and 21 deletions

View File

@ -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 = \

View File

@ -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());
}

View File

@ -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>

View File

@ -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"