Skip to content

Commit

Permalink
Moved the format bar's left margin inside the scrollview
Browse files Browse the repository at this point in the history
- This makes scrolling reach the left edge of the screen
- Also suppressed the RtlHardcoded lint check for the format bar
  • Loading branch information
aforcier committed Apr 24, 2015
1 parent 0d2a713 commit 50524b9
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions WordPressEditor/src/main/res/layout/fragment_editor.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
android:layout_width="fill_parent"
android:layout_height="@dimen/format_bar_height"
android:layout_gravity="bottom"
android:layout_marginLeft="@dimen/format_bar_left_margin"
android:layout_marginRight="@dimen/format_bar_right_margin"
android:orientation="horizontal">
android:orientation="horizontal"
tools:ignore="RtlHardcoded">

<HorizontalScrollView
android:layout_width="0dp"
Expand All @@ -40,7 +40,9 @@
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
android:layout_marginLeft="@dimen/format_bar_left_margin"
android:orientation="horizontal"
tools:ignore="RtlHardcoded">

<ToggleButton
android:id="@+id/format_bar_button_media"
Expand Down

0 comments on commit 50524b9

Please sign in to comment.