PDA

View Full Version : Can we use HTML in Android Studio?



pooja escorts
07-13-2020, 07:40 PM
Can we use HTML in Android Studio?

ishan_shah
03-11-2021, 12:33 AM
It may be either yea or no currently Android does not support all the HTML tags but it supports all major tags.
and in android we use two main file one is main java file and second is xml files the xml file is properly work on design for android layout in html we use tag for design and in android we use xml file for creating design for layout of android webpage i have one example of xml file for android
<Button
android:id="@+id/buton1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Button"/>

<TextView
android:id="@+id/textView1"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="sample Text"
android:layout_marginTop="15dp"
android:textSize="30dp"/>

yuva12
03-12-2021, 09:28 AM
HTML Tutorial In Android Studio Using TextView & Parsing Example. ... HTML that processes HTML strings into displayable styled text and then we can set the text in our TextView. We can also use WebView for displaying HTML content. Currently Android does not support all the HTML tags but it supports all major tags.