Bug 1019318 - Polish button toast appearance. r=nalexander

This commit is contained in:
Margaret Leibovic 2014-06-12 09:31:44 -07:00
Родитель 89047b08c6
Коммит e8c4e04967
5 изменённых файлов: 8 добавлений и 17 удалений

Просмотреть файл

@ -5,6 +5,6 @@
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<solid android:color="@color/toast_button_background" />
<solid android:color="@color/toast_background" />
<corners android:radius="@dimen/toast_button_corner_radius" />
</shape>

Просмотреть файл

@ -1,10 +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/. -->
<resources>
<!-- Button toast colors. -->
<color name="toast_button_background">#FF656565</color>
<color name="toast_button_pressed">#FFB1B1B1</color>
</resources>

Просмотреть файл

@ -14,8 +14,8 @@
<item name="android:background">@null</item>
<item name="android:paddingLeft">24dp</item>
<item name="android:paddingRight">24dp</item>
<item name="android:paddingTop">18dp</item>
<item name="android:paddingBottom">18dp</item>
<item name="android:paddingTop">11dp</item>
<item name="android:paddingBottom">11dp</item>
</style>
<style name="ToastDivider" parent="ToastDividerBase">

Просмотреть файл

@ -108,8 +108,9 @@
<color name="remote_tabs_setup_button_background_hit">#D95300</color>
<!-- Button toast colors. -->
<color name="toast_button_background">#FF2A2A2A</color>
<color name="toast_button_pressed">#FF3E6784</color>
<color name="toast_background">#DD363B40</color>
<color name="toast_button_background">#00000000</color>
<color name="toast_button_pressed">#DD2C3136</color>
<color name="toast_button_divider">#FFD1D5DA</color>
<color name="toast_button_text">#FFFFFFFF</color>
</resources>

Просмотреть файл

@ -611,8 +611,8 @@
<item name="android:background">@null</item>
<item name="android:paddingLeft">12dp</item>
<item name="android:paddingRight">12dp</item>
<item name="android:paddingTop">20dp</item>
<item name="android:paddingBottom">20dp</item>
<item name="android:paddingTop">11dp</item>
<item name="android:paddingBottom">11dp</item>
</style>
<style name="ToastDividerBase">