Question: so I have a variable called multiplier that contains a certain value depending on what the user registered with. What I am trying to write here is

If multiplier is equal to "sedentary" then give it the value of `$sedmultiplier`

If multiplier is equal to "lightly" then give it the value of `$lightmultiplier`

Im stuck on this, can't seem to figure out how this would be written.

```
  switch ($multiplier==) {
      case "sedentary":
         $multiplier=$sedmultiplier;
         break;
     case "lightly":
         $multiplier=$lightmultiplier;
          break;
      case "moderately":
         $multiplier=$modmultiplier;
         break;
      case "very":
         $multiplier=$verymultiplier;
         break;
      case "extremely":
         $multiplier=$extrememultiplier;
         break;
      default:
          multiplier==0;
  }

```

Answer: 
The option to preview all screen sizes is not available in Android Studio 2.2 Beta 2. However, you can resize the preview screen to see how your layout would look on different screen sizes, as shown in the attached gif.

[![Android Studio 2.2 Beta 3 Preview Screen resize example ](https://i.stack.imgur.com/um1y0.gif)](https://i.stack.imgur.com/um1y0.gif)
While preview all screen sizes seems to be gone, it is possible in 2.3 to view more than one screen size at the same time.

Right-click on the activity\_main.xml (or whichever xml file) tab, and from the pop-up menu select split-vertically or split-horizontally. 

This will create a second xml tab that can use a different screen for design/text. This can be repeated for more tabs, and the tabs can be "torn off" to float separately.