зеркало из https://github.com/mozilla/gecko-dev.git
Bug 838748: Change pressed state of tabs-ui rows. [r=mfinkle]
This commit is contained in:
Родитель
212c2b682f
Коммит
b7bf4420a4
|
@ -1094,6 +1094,7 @@ MOZ_ANDROID_DRAWABLES += \
|
|||
mobile/android/base/resources/drawable/spinner.xml \
|
||||
mobile/android/base/resources/drawable/suggestion_selector.xml \
|
||||
mobile/android/base/resources/drawable/tab_new_level.xml \
|
||||
mobile/android/base/resources/drawable/tab_row.xml \
|
||||
mobile/android/base/resources/drawable/tab_thumbnail.xml \
|
||||
mobile/android/base/resources/drawable/tabs_button.xml \
|
||||
mobile/android/base/resources/drawable/tabs_level.xml \
|
||||
|
|
|
@ -0,0 +1,16 @@
|
|||
<?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_focused="true"
|
||||
android:drawable="@color/tab_row_pressed"/>
|
||||
|
||||
<item android:state_pressed="true"
|
||||
android:drawable="@color/tab_row_pressed"/>
|
||||
|
||||
<item android:drawable="@android:color/transparent"/>
|
||||
|
||||
</selector>
|
|
@ -9,7 +9,8 @@
|
|||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="6dip"
|
||||
android:gravity="center">
|
||||
android:gravity="center"
|
||||
android:background="@drawable/tab_row">
|
||||
|
||||
<RelativeLayout android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
|
@ -11,7 +11,8 @@
|
|||
android:paddingLeft="12dip"
|
||||
android:paddingRight="12dip"
|
||||
android:paddingTop="6dip"
|
||||
android:paddingBottom="6dip">
|
||||
android:paddingBottom="6dip"
|
||||
android:background="@drawable/tab_row">
|
||||
|
||||
<LinearLayout android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
|
|
|
@ -21,6 +21,7 @@
|
|||
<color name="abouthome_topsite_shadow">#1000</color>
|
||||
<color name="tab_indicator_unselected">@android:color/transparent</color>
|
||||
<color name="tab_indicator_unselected_focused">#34FF9500</color>
|
||||
<color name="tab_row_pressed">#4D000000</color>
|
||||
<color name="abouthome_topsite_pin">#55000000</color>
|
||||
<color name="dialogtitle_textcolor">#ffffff</color>
|
||||
</resources>
|
||||
|
|
Загрузка…
Ссылка в новой задаче