Skip to content

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.

Notifications You must be signed in to change notification settings

raveerocks/about-android

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages