android - setting my main project default to linear instead of relative -


everytime follow tutorial book or tube video, have used cheat in eclipse. programming comes out errors. here 1 example why tutorials main activity comes out showing linear layout , projects default relative layout. how change default linear when creating new project.

i know can open new layout xml tutorials opens new project in linear. massive fan of android , want make apps, tutorials never seem correspond results , make easy.

  • go youre layout.xml
  • make sure in graphical layout (check bottom bar)
  • top-right in 'outline' right-click on relative layout
  • choose 'change layout'
  • choose youre desired layout, (linearlayout(vertical) in ur case)

Comments

Popular posts from this blog

python - How to create a legend for 3D bar in matplotlib? -

java - Multi-Label Document Classification -

php - Dynamic url re-writing using htaccess -