The android design guidelines feature a range of list items which are encouraged to be used when designing android applications. The line items are featured in the building blocks section here. To me it is unclear however if there is a xml file or class which should be used to use these the line item with a button or if for this a custom xml should be created. Is this a build in functionality in the Android library or should it be build using custom xml files, i.e. how should the two line list items with a button be created?

See http://developer.android.com/reference/android/R.layout.html for layout references API exposes publicly. Also see TwoLineListItem. You have to design your own custom XML layout for your list item, there isn’t one you can get from API.