We all are familiar with Android Application, but few are good at developing such applications. So here are the basics of Android Development.
To write or use code smartly everyone needs a platform which is called Integrated Development Environment in short IDE. For Android, it is Android Studio which looks like the image shown below,
Before going to the coding sample you need to know XML (Xtensible Markup Language), which is developed in 1990s to overcome the drawback of HTML(HTML does not allow the definition of new text elements). In either means, XML is the language used for creating the layout or UI. Java is used to write dynamic code for an Application(Android).
Views: Can be images, text, buttons etc…
Here is the basic code format of Android,
Code starts here,
2 android:text=”Happy Birthday Sister”
5 android:layout_height=”75dp” />
- The numbers represents only lines which come with the platform
- Whenever writes a code incorrectly, In Android Studio it will be displayed in Red colour