Skip to content

Commit 7954e15

Browse files
committed
Add horizontal rule format button to advanced and basic toolbar layouts
1 parent 15f18e1 commit 7954e15

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

aztec/src/main/res/layout/aztec_format_bar_advanced.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,15 @@
120120
style="@style/FormatBarButton" >
121121
</org.wordpress.aztec.toolbar.RippleToggleButton>
122122

123+
<org.wordpress.aztec.toolbar.RippleToggleButton
124+
android:id="@+id/format_bar_button_horizontal_rule"
125+
android:background="@drawable/format_bar_button_horizontal_rule_selector"
126+
android:contentDescription="@string/format_bar_description_horizontal_rule"
127+
android:layout_height="fill_parent"
128+
android:layout_width="wrap_content"
129+
style="@style/FormatBarButton" >
130+
</org.wordpress.aztec.toolbar.RippleToggleButton>
131+
123132
<org.wordpress.aztec.toolbar.RippleToggleButton
124133
android:id="@+id/format_bar_button_more"
125134
android:background="@drawable/format_bar_button_more_selector"

aztec/src/main/res/layout/aztec_format_bar_basic.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,15 @@
123123
style="@style/FormatBarButton" >
124124
</org.wordpress.aztec.toolbar.RippleToggleButton>
125125

126+
<org.wordpress.aztec.toolbar.RippleToggleButton
127+
android:id="@+id/format_bar_button_horizontal_rule"
128+
android:background="@drawable/format_bar_button_horizontal_rule_selector"
129+
android:contentDescription="@string/format_bar_description_horizontal_rule"
130+
android:layout_height="fill_parent"
131+
android:layout_width="wrap_content"
132+
style="@style/FormatBarButton" >
133+
</org.wordpress.aztec.toolbar.RippleToggleButton>
134+
126135
<org.wordpress.aztec.toolbar.RippleToggleButton
127136
android:id="@+id/format_bar_button_more"
128137
android:background="@drawable/format_bar_button_more_selector"

0 commit comments

Comments
 (0)