2

I'm using Android Studio 3.2.1 version. The loading .xml layout.attached screenshot.

Android Studio .xml screenshot:

android studio .xml

Android Studio waiting screenshot:

android studio waiting

kit
  • 1,166
  • 5
  • 16
  • 23
  • 2
    Pick the Text tab instead of Design tab. – Onik Nov 17 '18 at 01:50
  • I'm using i3 processor lenovo laptop with 4GB Ram. – Lasitha Nipun Dilshan Nov 17 '18 at 01:51
  • 1
    @LasithaNipunDilshan on such a low-end machine, you possibly should not run Eclipse IDE at the same time - because IntelliJ IDE is quite a memory hog. have got a quicker Core i7 notebook with 8GB RAM and it does not run that optimal either. so what does the build output say, does it get stuck somewhere? – Martin Zeitler Nov 17 '18 at 02:01

3 Answers3

1

I think it would be better if you could look into the issue which is causing this problem from the list identified below :

1.) Is it a rendering problem

Check if the screen being rendered into the Android Studio Design mode. If that is not the case look for android version in the above menu and from the drop down chose another version of Android API Level. If there are no other version present you should go to SDK Manager and Download a complete version.

2.) You see a Custom View in the outline on the right hand side

To solve this problem I recommend you to go to the Code View and replace the Custom View with LinearLayout.

Now you can try to drag and drop the Widgets .

Masum
  • 1,037
  • 15
  • 32
1

I faced the same problem few months back though after updating my Android Studio I didn't get any problem like this. So the best way I Used to solve this problem.

Go to the root directory go to "res" > "values" > "styles.xml" and there add the "Base." in front of "Theme.AppCompat.Light.DarkActionBar" inside paretn

<style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">

I hope this will solve your problem. :)

0

this type of problem is reoccurring with android studio, plenty of answers given to plenty of people who just asked, not trying to do their own research, anyways the easiest solution but may not be the best would be to change the theme style. In the root directory go to "res" > "values" > "styles.xml" and there change the theme line to be this:

<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">

let us know if it solved your problem otherwise we can suggest other solutions

Eyal Israel
  • 257
  • 4
  • 9