Android Tutorial

How To Display Html Text In TextView And WebView

This example will tell you how to display html text in android android.widget.TextView and android.webkit.WebView object. 1. Display Html Data In Android TextView And WebView Example. There are three buttons in the screen. When click the first button, it will read a html source text and display the source code in the first textview. When …

How To Display Html Text In TextView And WebView Read More »

Android Absolute Layout Example

Android AbsoluteLayout is used to layout ui components with absolute x, y axis coordinate value. For example if you put a button widget in AbsoluteLayout, you can set the button’s layout_x, and layout_y property value to place the button in specific location. This example will show you how to use it.

Android Studio Rebuild DexArchiveMergerException Unable To Merge Dex

When you build an android project in android studio, you may encounter DexArchiveMergerException unable to merge dex exception. The detail error message is as below. Error:Execution failed for task ‘:app:transformDexArchiveWithExternalLibsDexMergerForDebug’. > java.lang.RuntimeException: com.android.builder.dexing.DexArchiveMergerException: Unable to merge dex If you still can not fix this error after struggle for taking some actions such as clean the …

Android Studio Rebuild DexArchiveMergerException Unable To Merge Dex Read More »