Eclipse version of the Master/Detail application done in Android Studio