Skip to content

Commit

Permalink
Renamed format button highlighted underline dimens
Browse files Browse the repository at this point in the history
  • Loading branch information
aforcier committed Apr 17, 2015
1 parent 315bb50 commit 6e340ac
Show file tree
Hide file tree
Showing 10 changed files with 25 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
android:src="@drawable/format_bar_button_bold_highlighted"
android:gravity="center"/>
</item>
<item android:top="@dimen/format_bar_button_underline_top">
<item android:top="@dimen/format_bar_button_highlighted_underline_top">
<shape android:shape="line">
<stroke
android:width="@dimen/format_bar_button_underline_width"
android:width="@dimen/format_bar_button_highlighted_underline_width"
android:color="@color/format_bar_button_highlighted_color"/>
</shape>
</item>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<shape android:shape="line" xmlns:android="http://schemas.android.com/apk/res/android">
<stroke
android:width="@dimen/format_bar_button_highlighted_underline_width"
android:color="@color/format_bar_button_highlighted_color"/>
</shape>
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
android:src="@drawable/format_bar_button_html_highlighted"
android:gravity="center"/>
</item>
<item android:top="@dimen/format_bar_button_underline_top">
<item android:top="@dimen/format_bar_button_highlighted_underline_top">
<shape android:shape="line">
<stroke
android:width="@dimen/format_bar_button_underline_width"
android:width="@dimen/format_bar_button_highlighted_underline_width"
android:color="@color/format_bar_button_highlighted_color"/>
</shape>
</item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
android:src="@drawable/format_bar_button_italic_highlighted"
android:gravity="center"/>
</item>
<item android:top="@dimen/format_bar_button_underline_top">
<item android:top="@dimen/format_bar_button_highlighted_underline_top">
<shape android:shape="line">
<stroke
android:width="@dimen/format_bar_button_underline_width"
android:width="@dimen/format_bar_button_highlighted_underline_width"
android:color="@color/format_bar_button_highlighted_color"/>
</shape>
</item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
android:src="@drawable/format_bar_button_link_highlighted"
android:gravity="center"/>
</item>
<item android:top="@dimen/format_bar_button_underline_top">
<item android:top="@dimen/format_bar_button_highlighted_underline_top">
<shape android:shape="line">
<stroke
android:width="@dimen/format_bar_button_underline_width"
android:width="@dimen/format_bar_button_highlighted_underline_width"
android:color="@color/format_bar_button_highlighted_color"/>
</shape>
</item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
android:src="@drawable/format_bar_button_media_highlighted"
android:gravity="center"/>
</item>
<item android:top="@dimen/format_bar_button_underline_top">
<item android:top="@dimen/format_bar_button_highlighted_underline_top">
<shape android:shape="line">
<stroke
android:width="@dimen/format_bar_button_underline_width"
android:width="@dimen/format_bar_button_highlighted_underline_width"
android:color="@color/format_bar_button_highlighted_color"/>
</shape>
</item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
android:src="@drawable/format_bar_button_ol_highlighted"
android:gravity="center"/>
</item>
<item android:top="@dimen/format_bar_button_underline_top">
<item android:top="@dimen/format_bar_button_highlighted_underline_top">
<shape android:shape="line">
<stroke
android:width="@dimen/format_bar_button_underline_width"
android:width="@dimen/format_bar_button_highlighted_underline_width"
android:color="@color/format_bar_button_highlighted_color"/>
</shape>
</item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
android:src="@drawable/format_bar_button_quote_highlighted"
android:gravity="center"/>
</item>
<item android:top="@dimen/format_bar_button_underline_top">
<item android:top="@dimen/format_bar_button_highlighted_underline_top">
<shape android:shape="line">
<stroke
android:width="@dimen/format_bar_button_underline_width"
android:width="@dimen/format_bar_button_highlighted_underline_width"
android:color="@color/format_bar_button_highlighted_color"/>
</shape>
</item>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@
android:src="@drawable/format_bar_button_ul_highlighted"
android:gravity="center"/>
</item>
<item android:top="@dimen/format_bar_button_underline_top">
<item android:top="@dimen/format_bar_button_highlighted_underline_top">
<shape android:shape="line">
<stroke
android:width="@dimen/format_bar_button_underline_width"
android:width="@dimen/format_bar_button_highlighted_underline_width"
android:color="@color/format_bar_button_highlighted_color"/>
</shape>
</item>
Expand Down
6 changes: 3 additions & 3 deletions WordPressEditor/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="format_bar_height">40dp</dimen>
<dimen name="format_bar_button_underline_top">37dp</dimen>
<dimen name="format_bar_button_underline_width">2dp</dimen>
<dimen name="post_editor_content_side_margin">20dp</dimen>

<dimen name="format_bar_button_highlighted_underline_top">37dp</dimen>
<dimen name="format_bar_button_highlighted_underline_width">2dp</dimen>

<dimen name="post_editor_content_side_margin">20dp</dimen>
<dimen name="margin_extra_small">2dp</dimen>
<dimen name="margin_small">4dp</dimen>
<dimen name="margin_medium">8dp</dimen>
Expand Down

0 comments on commit 6e340ac

Please sign in to comment.