Reputation: 164
Whenever, I take Time Picker and Date Picker in XML layout file in Android studio.
Android studio hangs out.
Which configuration changes i need to do? Please help me.
Upvotes: 1
Views: 514
Reputation: 75788
@Mayuri Joshi
Courtesy goes to @Wootowl's Answer .
I theorized that perhaps it was just the windows display that was frozen (the visual rendering of the Android Studio program itself) and guessed that perhaps this was using a DirectX device to do the rendering of the Android UI.
I happen to have another app running on my computer that uses a DirectX device for rendering (SimpleJungleTimer, an app I programmed with a DirectX overlay for League of Legends jungle timers). After I shut down this app Android Studio appears to be working properly (not freezing when working with the UI anymore)
Ultimately it sounds like this is a bug with Android Studio itself where they don't properly kill / reload the DirectX rendering device when it is in conflict with another app's active DirectX device (something that the android studio developers should probably fix) .
Avoid Drag and drop Facility
Use Stable Android Studio (Like Version 1.3) Avoid Beta Version .
File -> Invalidates Caches/Restart. (After Clean and rebuild your project)
Upvotes: 3