2 Replies - 361 Views - Last Post: 25 June 2017 - 08:19 AM

#1 mr.nacho  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 208
  • Joined: 28-December 12

Android Studio XML Layout and Java File

Posted 24 June 2017 - 08:40 PM

How can I be able to create an XML Layout file and at the same time creating its java file? I remember it was like that a year ago. Can I still do it? Thanks in advance.
Is This A Good Question/Topic? 0
  • +

Replies To: Android Studio XML Layout and Java File

#2 wseng92  Icon User is online

  • D.I.C Regular

Reputation: 9
  • View blog
  • Posts: 282
  • Joined: 23-September 15

Re: Android Studio XML Layout and Java File

Posted 25 June 2017 - 06:45 AM

You can't combine XML and java files... They are separate things..
Was This Post Helpful? 0
  • +
  • -

#3 mr.nacho  Icon User is offline

  • D.I.C Head

Reputation: 0
  • View blog
  • Posts: 208
  • Joined: 28-December 12

Re: Android Studio XML Layout and Java File

Posted 25 June 2017 - 08:19 AM

View Postwseng92, on 25 June 2017 - 06:45 AM, said:

You can't combine XML and java files... They are separate things..


No. What I mean is, the last time I used Android Studio, whenever I create my layout, it automatically makes the java file just like the activity_main.xml and MainActivity.java.
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1