Skip to content

Commit

Permalink
larger buttons and margin to bottom larger
Browse files Browse the repository at this point in the history
  • Loading branch information
oers committed Aug 3, 2019
1 parent 1f73581 commit 9e97abd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,6 @@ public class DroidZebra extends AppCompatActivity implements MoveStringConsumer,
public void resetStateAndStatusView() {
getState().reset();
((TextView)findViewById(R.id.status_opening)).setText("");
//((TextView)findViewById(R.id.status_moves)).setText("");
}

public boolean evalsDisplayEnabled() {
Expand Down
14 changes: 7 additions & 7 deletions project/src/main/res/layout/status.xml
Original file line number Diff line number Diff line change
Expand Up @@ -92,11 +92,11 @@
tools:ignore="HardcodedText" />



<ImageButton
android:id="@+id/status_first_move"
android:layout_width="0dp"
android:layout_height="wrap_content"

android:layout_height="48dp"


android:background="@color/board_color"
Expand All @@ -108,13 +108,12 @@
app:layout_constraintHorizontal_chainStyle="spread_inside"

app:layout_constraintLeft_toLeftOf="@id/group_navigation"
app:layout_constraintRight_toLeftOf="@id/status_undo"
/>
app:layout_constraintRight_toLeftOf="@id/status_undo" />

<ImageButton
android:id="@+id/status_undo"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_height="48dp"
android:background="@color/board_color"
android:contentDescription="@string/menu_item_undo"
android:onClick="undo"
Expand All @@ -129,7 +128,7 @@
<ImageButton
android:id="@+id/status_redo"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_height="48dp"
android:background="@color/board_color"
android:contentDescription="@string/menu_item_redo"
android:onClick="redo"
Expand All @@ -142,7 +141,7 @@
<ImageButton
android:id="@+id/status_rotate"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_height="48dp"
android:background="@color/board_color"

android:contentDescription="@string/gameover_choices_rotate"
Expand All @@ -158,6 +157,7 @@
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="15dp"
app:constraint_referenced_ids="status_first_move,status_undo,status_redo,status_rotate"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toTopOf="parent"
Expand Down

0 comments on commit 9e97abd

Please sign in to comment.