Thursday, January 29, 2015

Creating TextView and ToggleButton list on Android

There are lots of tutorials out there on creating lists with multiple elements, but none seem to work out of the box, with listeners and all.
So this is my way of implementing a list where each row consists of a TextView and a ToggleButton.

The code was tested on Android Studio and is intended for SDK 4.4+ (because everything that is below 4.4 should disappear, in my opinion).



Sunday, January 25, 2015

Installing Android Studio on Ubuntu 14.04 LTS, Trusty Tahr 64 bit

Installing Android Studio on Ubuntu 14.04 64 bit can be quite tricky. Here's a list of issues I encountered while trying to get it up and running.

First get Android Studio from the official location here, and install it using the guidelines for your specific OS.