зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1210862
- Rename button_corner_radius -> standard_corner_radius & update value. r=ally
--HG-- extra : commitid : HTFsMz3UgrC extra : rebase_source : b952cf67bb70dc88a0b3a8707e125c16a70e919a
This commit is contained in:
Родитель
192690c713
Коммит
69e98b7eb0
|
@ -271,7 +271,7 @@ public class ZoomedView extends FrameLayout implements LayerView.DynamicToolbarL
|
|||
|
||||
toolbarHeight = getResources().getDimensionPixelSize(R.dimen.zoomed_view_toolbar_height);
|
||||
containterSize = getResources().getDimensionPixelSize(R.dimen.drawable_dropshadow_size);
|
||||
cornerRadius = getResources().getDimensionPixelSize(R.dimen.button_corner_radius);
|
||||
cornerRadius = getResources().getDimensionPixelSize(R.dimen.standard_corner_radius);
|
||||
|
||||
moveToolbar(true);
|
||||
}
|
||||
|
|
|
@ -7,5 +7,5 @@
|
|||
android:shape="rectangle" >
|
||||
<solid android:color="@color/link_blue_pressed" />
|
||||
<corners
|
||||
android:radius="@dimen/button_corner_radius" />
|
||||
android:radius="@dimen/standard_corner_radius" />
|
||||
</shape>
|
||||
|
|
|
@ -7,5 +7,5 @@
|
|||
android:shape="rectangle" >
|
||||
<solid android:color="@color/action_orange" />
|
||||
<corners
|
||||
android:radius="@dimen/button_corner_radius" />
|
||||
android:radius="@dimen/standard_corner_radius" />
|
||||
</shape>
|
||||
|
|
|
@ -7,5 +7,5 @@
|
|||
android:shape="rectangle" >
|
||||
<solid android:color="@color/link_blue" />
|
||||
<corners
|
||||
android:radius="@dimen/button_corner_radius" />
|
||||
android:radius="@dimen/standard_corner_radius" />
|
||||
</shape>
|
||||
|
|
|
@ -7,5 +7,5 @@
|
|||
android:shape="rectangle" >
|
||||
<solid android:color="@color/action_orange_pressed" />
|
||||
<corners
|
||||
android:radius="@dimen/button_corner_radius" />
|
||||
android:radius="@dimen/standard_corner_radius" />
|
||||
</shape>
|
||||
|
|
|
@ -13,16 +13,16 @@
|
|||
<item android:state_pressed="true">
|
||||
<shape>
|
||||
<solid android:color="@color/toolbar_grey_pressed"/>
|
||||
<corners android:topLeftRadius="@dimen/button_corner_radius"
|
||||
android:topRightRadius="@dimen/button_corner_radius"/>
|
||||
<corners android:topLeftRadius="@dimen/standard_corner_radius"
|
||||
android:topRightRadius="@dimen/standard_corner_radius"/>
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<shape>
|
||||
<solid android:color="@color/toolbar_grey"/>
|
||||
<corners android:topLeftRadius="@dimen/button_corner_radius"
|
||||
android:topRightRadius="@dimen/button_corner_radius"/>
|
||||
<corners android:topLeftRadius="@dimen/standard_corner_radius"
|
||||
android:topRightRadius="@dimen/standard_corner_radius"/>
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
|
|
|
@ -7,14 +7,14 @@
|
|||
<item android:state_pressed="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/remote_tabs_setup_button_background_hit"/>
|
||||
<corners android:radius="@dimen/button_corner_radius"/>
|
||||
<corners android:radius="@dimen/standard_corner_radius"/>
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/action_orange"/>
|
||||
<corners android:radius="@dimen/button_corner_radius"/>
|
||||
<corners android:radius="@dimen/standard_corner_radius"/>
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
|
|
|
@ -5,6 +5,6 @@
|
|||
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/toolbar_grey"/>
|
||||
<corners android:radius="@dimen/button_corner_radius"/>
|
||||
<corners android:radius="@dimen/standard_corner_radius"/>
|
||||
</shape>
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
|
||||
<resources>
|
||||
|
||||
<dimen name="button_corner_radius">3dp</dimen>
|
||||
<dimen name="standard_corner_radius">4dp</dimen>
|
||||
|
||||
<dimen name="autocomplete_min_width">200dp</dimen>
|
||||
<dimen name="autocomplete_row_height">32dp</dimen>
|
||||
|
|
Загрузка…
Ссылка в новой задаче