In this video it shows how to limit the number of decimal points of a float or decimal while printing it on a textView widget of Android App. It basically uses below line of code to limit the decimal places. I hope you like this video. For any questions, suggestions…
Tag: float
How to plot arrays (X and Y coordinates) on axes in your Android App without using dependencies or libraries?
In this video it shows how to plot any graph with x and y coordinates in a view in your Android App. It uses Surface view and Image view to plot the coordinates on the plane, 2-dimensional plane. It takes a simple array of 5 numbers or points as x…
How to insert floating pop-up window layout on top of the main layout in your Android App?
In this video it shows the steps to create a pop-up window floating on top of the main layout of the App. It uses the layout inflater to inflate the pop-up window layout and then uses the popupwindow API to create the pop-up window. In this example it shows a…