Skip to content

Latest commit

 

History

7 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About Android

About Android is a simple app built using Android. This project explores the basics of Android, such as creating text views, image views, and basic layout such as LinearLayout and ScrollView. The following is the MainActivity class loads the content from the string resources and format the HTML content within the TextView.

class MainActivity : AppCompatActivity() {

   private lateinit var binding: ActivityMainBinding
   override fun onCreate(savedInstanceState: Bundle?) {
       super.onCreate(savedInstanceState)
       binding = DataBindingUtil.setContentView(this, R.layout.activity_main)
       binding.bioText.text = HtmlCompat.fromHtml(applicationContext.getString(R.string.bio), HtmlCompat.FROM_HTML_MODE_LEGACY)
   }
}

The app looks like the following on a real device.

screenshot

About

About Android is a simple app built using Android. This project explores the basics of Android, such as creating text views, image views, and basic layout such as LinearLayout and ScrollView.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages