Develop

App configuration for Look and Pinch

Updated: Sep 4, 2026
Look and Pinch changes two things about your AndroidManifest.xml: the eye tracking permissions you must leave out, and the window sizes you must declare. This page covers both.

Eye tracking permissions

Your app must not request eye tracking permissions, because the system handles gaze processing on your behalf and never shares raw gaze data. An app that requests them does not pass the Look and Pinch launch requirements review. For the permission names to remove, and for the exception that applies to hybrid apps with an immersive mode, see Eye tracking permissions and Look and Pinch.

Adapt to window size changes

The system scales your app window so that 48dp corresponds to approximately 3 angular degrees. This ensures touch targets meet the minimum angular size for comfortable gaze selection. However, scaling the window up can make it too large to fit within the device’s field of view.
To compensate, the system resizes the app window to fit, rather than scaling it further. Your app must handle this resize by adapting its layout to the new window dimensions.

Requirements

  • Support a range of window sizes, ideally from 360dp to 1280dp wide.
  • Stay usable at any window size within your declared range. “Usable” means content is legible, properly spaced, and not clipped or cut off.

Declare supported window sizes

Use the <layout>⁠ tag in your AndroidManifest.xml to declare the range of sizes each Activity supports:
<!-- YourApp/AndroidManifest.xml -->
<manifest package="com.example.yourapp">
  <application>
    <activity android:name="com.example.yourapp.MainActivity">
      <layout
        android:defaultHeight="640dp"
        android:defaultWidth="1024dp"
        android:minHeight="225dp"
        android:minWidth="360dp"
      />
    </activity>
  </application>
</manifest>
AttributeDescription
android:defaultWidth
The initial width of the app window. Set this to your preferred width.
android:defaultHeight
The initial height of the app window. Set this to your preferred height.
android:minWidth
The minimum width your app supports. Set this to 360dp or lower to support the widest range of gaze-scaled window sizes.
android:minHeight
The minimum height your app supports. Set this based on how your app’s content reflows at smaller sizes.

Test window size adaptation

To verify your app handles window resizing correctly:
  1. Enable free resize in your device’s developer settings and manually resize your app’s panel to various sizes within your declared range.
  2. Verify that your app remains usable at each size. Check that text is legible, buttons are reachable, and content is not clipped.
  3. Pay particular attention to sizes near the minimum declared width (360dp), since the system can resize your window to sizes close to this minimum.