How to change layout preview default devices on Android Studio
Asked Answered
A

1

13

When I create a new layout, the default device is Nexus 4. How can I change default device that when next time I create a new layout, the device will be Nexus 5, but NOT nexus 4.

Adynamia answered 12/4, 2014 at 6:41 Comment(0)
I
-1

At least Android Studio 2.1.3 appears to honor the setting once you have changed it. As a test I created a new project in AS, opened the layout and changed the selection in the corresponding drop down list from Nexus 4 to Nexus 5. Closed the tab and reopened the layout: Nexus 5. Created a new layout (right click on the project node res/layout, New, Layout file): Nexus 5. Closed and reopened AS: same test as before: Nexus 5. With which AS version are you experienceing the issue?

Illaudable answered 5/9, 2016 at 10:55 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.