# Development tips

On this page, you can find helpful tips distilled from our years of application development for Glass Enterprise Edition 2. We cover the following points so that you can have
them in mind when you develop your own applications:

- [Avoid unresponsive elements](https://developers.google.com/glass-enterprise/guides/development-tips#unresponsive-elements)
- [Hide the status/action bar](https://developers.google.com/glass-enterprise/guides/development-tips#action-bar)
- [Make it full screen](https://developers.google.com/glass-enterprise/guides/development-tips#full-screen)
- [USB cable](https://developers.google.com/glass-enterprise/guides/development-tips#usb-cable)

## Avoid unresponsive UI elements

Don't use standard Android elements such as buttons, check boxes, and input text areas. These
elements are treated by Glass as being unresponsive. Focus on the "one action per page" principle
when you design the UI of your application.

If you need to use buttons, treat the entire page as a button.

If you need lists to show some content, use a standard `recyclerView`.

If you need to interact with elements of a list, [Implement swipe views](https://developer.android.com/training/implementing-navigation/lateral). Use the
[`viewPager`](https://developer.android.com/reference/android/support/v4/view/ViewPager)
class to achieve this.

## Hide the status and action bar

The status bar can show some helpful information, such as your connectivity status or the clock,
but if this kind of information isn't crucial for the task at hand, feel free to
[hide the status
and action bar](https://developer.android.com/training/system-ui/status#41). The user can always swipe down from the top edge of the screen to bring it
back momentarily.

## Make it full screen

To improve the user's experience, consider [making your application full screen](https://developer.android.com/training/system-ui/immersive). This allows users to navigate through your application
easier and increases the visible area that you can use to display content.

> [!NOTE]
> **Note:** When the application is full screen, the action bar on top of the display flashes when the
> user switches activities. In order to avoid this behavior, you can add the following line in the
> `onCreate` method of your new activity:
>
> `getSupportActionBar().hide();`

## USB cable

We recommend that you use the USB-C™ cable that came with your device since it's required for fast
charging. Other USB-C™ cables might work in a suboptimal way. If you do use a third party USB-C™
cable or power adapter, make sure it's enabled to transfer data and charge devices.

> [!NOTE]
> **Note:** You can [purchase a power adapter](https://store.google.com/product/usb_c_18w_power_adapter_2) from the Google store that you can be confident works correctly with Glass EE2 devices.