How To Copy / Paste Clipboard Data In Android

This article will show you how to copy data to android system clipboard and how to paste android system clipboard data to target text view. 1. Copy Data To System Clipboard Steps. Get system android.content.ClipboardManager object. final android.content.ClipboardManager clipboardManager = (ClipboardManager)getSystemService(CLIPBOARD_SERVICE); Create a android.content.ClipData object and set source data in it ClipData clipData = ClipData.newPlainText(“Source Text”,

How To Copy / Paste Clipboard Data In Android Read More »

Android Display Data In Table Layout Statically And Programmatically Example

If you want to display data in table format just like the Html table in the android application, you can use TableLayout and TableRow. TableLayout behaves like an Html tag table and TableRow behaves like tag tr. Each TableRow can contain multiple android UI components, each UI component is displayed in a table row column.

Android Display Data In Table Layout Statically And Programmatically Example Read More »

Android Hide Floating Action Button While RecyclerView Scroll Example

This example will show you how to make an android floating action button hide and show when the user scrolls a recycler view. android.support.design.widget.FloatingActionButton class is used to implement the floating action button. It is supported by the android material design support library, so before starting, make sure you have added the below dependence library

Android Hide Floating Action Button While RecyclerView Scroll Example Read More »