Skip to content

Commit

Permalink
cosmetics
Browse files Browse the repository at this point in the history
Signed-off-by: Stefan Nussbaumer <st9fan@gmail.com>
  • Loading branch information
nuss committed Aug 6, 2019
1 parent a18dab9 commit 0c5abe8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
9 changes: 4 additions & 5 deletions app/src/main/res/layout/cancel_ok_buttons.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,22 @@
android:descendantFocusability="blocksDescendants"
android:orientation="horizontal">

<ImageButton xmlns:android="http://schemas.android.com/apk/res/android"
<ImageButton
android:id="@+id/cancel"
style="?android:attr/buttonBarButtonStyle"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_margin="5dp"
android:layout_marginEnd="8dp"
android:layout_marginRight="8dp"
android:background="@drawable/cancel_button_shape"
android:contentDescription="@string/cancel"
android:src="@drawable/cancel"/>

<ImageButton xmlns:android="http://schemas.android.com/apk/res/android"
<ImageButton
android:id="@+id/ok"
style="?android:attr/buttonBarButtonStyle"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_margin="5dp"
android:layout_marginBottom="10dp"
android:background="@drawable/ok_button_shape"
android:contentDescription="@string/OK"
android:src="@drawable/ok"/>
Expand Down
4 changes: 2 additions & 2 deletions app/src/main/res/layout/multislider_buttons.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
android:id="@+id/cancel"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginEnd="4dp"
android:layout_marginRight="4dp"
android:layout_marginEnd="8dp"
android:layout_marginRight="8dp"
android:src="@drawable/cancel"
android:background="@drawable/cancel_button_shape"
android:focusable="true"
Expand Down
12 changes: 6 additions & 6 deletions app/src/main/res/layout/pixel_editor_toolbox.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@
android:id="@+id/delete_edits"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginEnd="4dp"
android:layout_marginRight="4dp"
android:layout_marginEnd="8dp"
android:layout_marginRight="8dp"
android:src="@drawable/delete"
android:background="@drawable/pixel_editor_delete_selector"
android:focusable="true"
Expand All @@ -24,8 +24,8 @@
android:id="@+id/quick_edit_pixels"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginEnd="4dp"
android:layout_marginRight="4dp"
android:layout_marginEnd="8dp"
android:layout_marginRight="8dp"
android:src="@drawable/pixel_quick_edit"
android:background="@drawable/editor_button_shape"
android:focusable="true"
Expand All @@ -35,8 +35,8 @@
android:id="@+id/edit_pixels"
android:layout_width="40dp"
android:layout_height="40dp"
android:layout_marginEnd="4dp"
android:layout_marginRight="4dp"
android:layout_marginEnd="8dp"
android:layout_marginRight="8dp"
android:src="@drawable/pixel_edit"
android:background="@drawable/editor_button_shape"
android:focusable="true"
Expand Down

0 comments on commit 0c5abe8

Please sign in to comment.