зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1195614 - Polish search suggestion opt-in tip.r=mcomella
This commit is contained in:
Родитель
9b4b5c21a8
Коммит
6ca6172d07
|
@ -0,0 +1,11 @@
|
|||
<?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/. -->
|
||||
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
<solid android:color="@color/toolbar_menu_dark_grey" />
|
||||
<corners
|
||||
android:radius="4dp" />
|
||||
</shape>
|
|
@ -0,0 +1,11 @@
|
|||
<?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/. -->
|
||||
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle" >
|
||||
<solid android:color="@color/link_blue_pressed" />
|
||||
<corners
|
||||
android:radius="4dp" />
|
||||
</shape>
|
|
@ -1,40 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:state_pressed="true">
|
||||
<shape>
|
||||
<gradient android:angle="90"
|
||||
android:startColor="@color/action_orange"
|
||||
android:endColor="@color/fennec_ui_orange"
|
||||
android:type="linear"/>
|
||||
|
||||
<corners android:radius="4dp"/>
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
<item android:state_focused="true"
|
||||
android:state_enabled="true">
|
||||
<shape>
|
||||
<gradient android:angle="90"
|
||||
android:startColor="#D2DAE2"
|
||||
android:endColor="#E3E8ED"
|
||||
android:type="linear"/>
|
||||
|
||||
<stroke android:width="2dp"
|
||||
android:color="@color/action_orange" />
|
||||
|
||||
<corners android:radius="4dp"/>
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
<item android:state_enabled="true">
|
||||
<shape>
|
||||
<gradient android:angle="90"
|
||||
android:startColor="#D2DAE2"
|
||||
android:endColor="#E3E8ED"
|
||||
android:type="linear"/>
|
||||
|
||||
<corners android:radius="4dp"/>
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
|
@ -11,45 +11,45 @@
|
|||
<LinearLayout android:id="@+id/prompt"
|
||||
android:focusable="true"
|
||||
android:layout_width="match_parent"
|
||||
android:minHeight="48dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:minHeight="@dimen/search_row_height"
|
||||
android:gravity="center_vertical"
|
||||
android:padding="10dip">
|
||||
android:paddingLeft="15dp"
|
||||
android:paddingRight="15dp"
|
||||
android:textSize="12sp">
|
||||
|
||||
<TextView android:id="@+id/suggestions_prompt_title"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="0dp"
|
||||
android:layout_marginLeft="6dip"
|
||||
android:layout_weight="1"
|
||||
android:textAppearance="@style/TextAppearance.Widget.SuggestionsPrompt"/>
|
||||
|
||||
<TextView android:id="@+id/suggestions_prompt_yes"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_marginLeft="15dip"
|
||||
android:textAppearance="@style/TextAppearance.Widget.SuggestionsPrompt"
|
||||
android:background="@drawable/suggestion_selector"
|
||||
android:paddingLeft="15dp"
|
||||
android:paddingRight="15dp"
|
||||
android:paddingTop="7dp"
|
||||
android:paddingBottom="7dp"
|
||||
android:focusable="true"
|
||||
android:text="@string/button_yes" />
|
||||
android:fontFamily="sans-serif"
|
||||
android:textColor="@color/text_and_tabs_tray_grey"
|
||||
android:layout_marginRight="10dp"/>
|
||||
|
||||
<TextView android:id="@+id/suggestions_prompt_no"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_height="32dp"
|
||||
android:minWidth="72dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_marginLeft="6dip"
|
||||
android:textAppearance="@style/TextAppearance.Widget.SuggestionsPrompt"
|
||||
android:background="@drawable/suggestion_selector"
|
||||
android:nextFocusRight="@+id/suggestions_prompt_no"
|
||||
android:paddingLeft="15dp"
|
||||
android:paddingRight="15dp"
|
||||
android:paddingTop="7dp"
|
||||
android:paddingBottom="7dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:textColor="@color/text_and_tabs_tray_grey"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/search_suggestion_prompt_no"
|
||||
android:nextFocusRight="@+id/suggestions_prompt_yes"
|
||||
android:focusable="true"
|
||||
android:text="@string/button_no" />
|
||||
android:text="@string/button_no"/>
|
||||
|
||||
<TextView android:id="@+id/suggestions_prompt_yes"
|
||||
android:layout_height="32dp"
|
||||
android:minWidth="72dp"
|
||||
android:layout_width="wrap_content"
|
||||
android:gravity="center"
|
||||
android:textColor="@color/swipe_refresh_white"
|
||||
android:background="@drawable/search_suggestion_prompt_yes"
|
||||
android:focusable="true"
|
||||
android:text="@string/button_yes"/>
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
|
|
@ -399,10 +399,6 @@
|
|||
<item name="android:textSize">14sp</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Widget.SuggestionsPrompt" parent="TextAppearance.Small">
|
||||
<item name="android:textColor">@color/url_bar_title</item>
|
||||
</style>
|
||||
|
||||
<style name="TextAppearance.Widget.Home" />
|
||||
|
||||
<style name="TextAppearance.Widget.Home.Header" parent="TextAppearance.Small">
|
||||
|
|
Загрузка…
Ссылка в новой задаче