Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

I want to delete a constraint on a view in Android Studio?

I used to delete a constraint on a view by clicking on the blue circle as shown in the image. But it is not working.

I think Android Studio team changed something in the UI of Android Studio?

Details of my system

O.S. -> Windows 10

Bit -> 64 bit

Android Studio -> 3.6.1

Screenshot

like image 200
henora Avatar asked Oct 30 '25 09:10

henora


1 Answers

You can delete a constraint by doing any of the following:

  • Click on a constraint to select it, and then press Delete.
  • Press and hold Control (Command on macOS), and then click on a constraint anchor. Note that the constraint turns red to indicate that you can click to delete it
  • In the Layout section of the Attributes window, click on a constraint anchor.

Source

Add or remove a constraint

like image 109
Aman Avatar answered Nov 01 '25 00:11

Aman