Add Space to stopwatch side buttons layout
This commit is contained in:
parent
40c6349c14
commit
8ce4018d40
@ -41,12 +41,15 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="@dimen/fab_total_height"
|
android:layout_height="@dimen/fab_total_height"
|
||||||
android:layout_alignParentBottom="true"
|
android:layout_alignParentBottom="true"
|
||||||
app:columnCount="2">
|
app:columnCount="3">
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/new_lap"
|
android:id="@+id/new_lap"
|
||||||
style="@style/AddLapButton"/>
|
style="@style/AddLapButton"/>
|
||||||
|
|
||||||
|
<Space app:layout_columnWeight="1"
|
||||||
|
app:layout_gravity="center"/> <!--Necessary to get correct spacing-->
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/stop"
|
android:id="@+id/stop"
|
||||||
style="@style/StopButton"/>
|
style="@style/StopButton"/>
|
||||||
|
|||||||
@ -34,12 +34,15 @@
|
|||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="@dimen/fab_total_height"
|
android:layout_height="@dimen/fab_total_height"
|
||||||
android:layout_gravity="bottom"
|
android:layout_gravity="bottom"
|
||||||
app:columnCount="2">
|
app:columnCount="3">
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/new_lap"
|
android:id="@+id/new_lap"
|
||||||
style="@style/AddLapButton"/>
|
style="@style/AddLapButton"/>
|
||||||
|
|
||||||
|
<Space app:layout_columnWeight="1"
|
||||||
|
app:layout_gravity="center"/> <!--Necessary to get correct spacing-->
|
||||||
|
|
||||||
<ImageButton
|
<ImageButton
|
||||||
android:id="@+id/stop"
|
android:id="@+id/stop"
|
||||||
style="@style/StopButton"/>
|
style="@style/StopButton"/>
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user