@@ -414,27 +414,6 @@ const BiteSelection = (props) => {
414
414
const fullPageView = useCallback ( ( ) => {
415
415
return (
416
416
< >
417
- { /**
418
- * In addition to selecting their desired food item, the user has two
419
- * other options on this page:
420
- * - If their desired food item is not visible on the plate, they can
421
- * decide to teleoperate the robot until it is visible.
422
- * - Instead of selecting their next bite, the user can indicate that
423
- * they are done eating.
424
- */ }
425
- < View
426
- style = { {
427
- flex : 2 ,
428
- flexDirection : 'row' ,
429
- justifyContent : 'center' ,
430
- alignItems : 'center' ,
431
- width : '100%'
432
- } }
433
- >
434
- < Button className = 'doneButton' style = { { fontSize : textFontSize , marginTop : '0' , marginBottom : '0' } } onClick = { doneEatingClicked } >
435
- ✅ Done Eating
436
- </ Button >
437
- </ View >
438
417
{ /**
439
418
* Below the buttons, one half of the screen will present the video feed.
440
419
* The other half will present the action status text, the food buttons
@@ -443,15 +422,15 @@ const BiteSelection = (props) => {
443
422
*/ }
444
423
< View
445
424
style = { {
446
- flex : 17 ,
425
+ flex : 20 ,
447
426
flexDirection : dimension ,
448
427
alignItems : 'center' ,
449
428
width : '100%'
450
429
} }
451
430
>
452
431
< View
453
432
style = { {
454
- flex : 1 ,
433
+ flex : 3 ,
455
434
flexDirection : 'column' ,
456
435
alignItems : 'center' ,
457
436
justifyContent : 'center' ,
@@ -472,7 +451,7 @@ const BiteSelection = (props) => {
472
451
</ View >
473
452
< View
474
453
style = { {
475
- flex : 9 ,
454
+ flex : 13 ,
476
455
alignItems : 'center' ,
477
456
justifyContent : 'center' ,
478
457
width : '100%' ,
@@ -484,7 +463,7 @@ const BiteSelection = (props) => {
484
463
</ View >
485
464
< View
486
465
style = { {
487
- flex : 1 ,
466
+ flex : 2 ,
488
467
flexDirection : 'column' ,
489
468
justifyContent : 'center' ,
490
469
alignItems : 'center' ,
@@ -505,7 +484,7 @@ const BiteSelection = (props) => {
505
484
</ View >
506
485
< View
507
486
style = { {
508
- flex : 9 ,
487
+ flex : 12 ,
509
488
alignItems : 'center' ,
510
489
justifyContent : 'center' ,
511
490
width : '100%' ,
@@ -526,14 +505,62 @@ const BiteSelection = (props) => {
526
505
</ View >
527
506
< View
528
507
style = { {
529
- flex : 4 ,
508
+ flex : 3 ,
509
+ flexDirection : 'row' ,
530
510
alignItems : 'center' ,
531
511
justifyContent : 'center' ,
532
512
width : '100%' ,
533
513
height : '100%'
534
514
} }
535
515
>
536
- { skipAcquisisitionButton ( ) }
516
+ < View
517
+ style = { {
518
+ flex : 2 ,
519
+ alignItems : 'center' ,
520
+ justifyContent : 'center' ,
521
+ width : '100%' ,
522
+ height : '100%'
523
+ } }
524
+ >
525
+ { skipAcquisisitionButton ( ) }
526
+ </ View >
527
+ < View
528
+ style = { {
529
+ flex : 2 ,
530
+ alignItems : 'center' ,
531
+ justifyContent : 'center' ,
532
+ width : '100%' ,
533
+ height : '100%'
534
+ } }
535
+ >
536
+ < View
537
+ style = { {
538
+ flex : 1 ,
539
+ alignItems : 'center' ,
540
+ justifyContent : 'center' ,
541
+ width : '100%' ,
542
+ height : '100%'
543
+ } }
544
+ > </ View >
545
+ < View
546
+ style = { {
547
+ flex : 4 ,
548
+ alignItems : 'center' ,
549
+ justifyContent : 'center' ,
550
+ width : '100%' ,
551
+ height : '100%'
552
+ } }
553
+ >
554
+ < Button
555
+ className = 'doneButton mx-2 btn-huge'
556
+ size = 'lg'
557
+ style = { { fontSize : textFontSize , marginTop : '0' , marginBottom : '0' , height : '90%' } }
558
+ onClick = { doneEatingClicked }
559
+ >
560
+ ✅ Done Eating
561
+ </ Button >
562
+ </ View >
563
+ </ View >
537
564
</ View >
538
565
{ props . debug ? (
539
566
< View
0 commit comments