I have used listview with entries attribute like below :
I'm afraid this is not possible out of the box, you can extend the RecyclerView and define your own custom attribute which accepts a string array, then you would populate your RecyclerView Adapter with these values.
Check this link: http://developer.android.com/training/custom-views/create-view.html#customattr