Skip to content

Commit 50524b9

Browse files
committed
Moved the format bar's left margin inside the scrollview
- This makes scrolling reach the left edge of the screen - Also suppressed the RtlHardcoded lint check for the format bar
1 parent 0d2a713 commit 50524b9

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

WordPressEditor/src/main/res/layout/fragment_editor.xml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@
2828
android:layout_width="fill_parent"
2929
android:layout_height="@dimen/format_bar_height"
3030
android:layout_gravity="bottom"
31-
android:layout_marginLeft="@dimen/format_bar_left_margin"
3231
android:layout_marginRight="@dimen/format_bar_right_margin"
33-
android:orientation="horizontal">
32+
android:orientation="horizontal"
33+
tools:ignore="RtlHardcoded">
3434

3535
<HorizontalScrollView
3636
android:layout_width="0dp"
@@ -40,7 +40,9 @@
4040
<LinearLayout
4141
android:layout_width="wrap_content"
4242
android:layout_height="wrap_content"
43-
android:orientation="horizontal">
43+
android:layout_marginLeft="@dimen/format_bar_left_margin"
44+
android:orientation="horizontal"
45+
tools:ignore="RtlHardcoded">
4446

4547
<ToggleButton
4648
android:id="@+id/format_bar_button_media"

0 commit comments

Comments
 (0)