Previewing horizontal recyclerview in android studio

I found out how to preview a list item by using


but android studio is previewing the recyclerview as a vertical list. Is there a way to tell Android Studio I will attach a horizontal LinearLayoutManager so that it can preview an horizontal list?

  • Android Image upload/download with Base64 into JSON causes Out of memory error
  • Could not find INI file in $ANDROID_AVD_HOME nor in $HOME/.android/avd
  • Get and Parse CSV file in android
  • How to show one layout on top of the other programmatically in my case?
  • Using cookies with Android volley library
  • Android add MMS to database
  • Save/Create MMS in inbox Android
  • Burst of app crashes immediately after publishing to Google Play
  • Assigning 'wrap_content' or '-2' to dimension
  • Why is my ListView not showing anything?
  • Dynamic height viewpager
  • How to create a simple 2D game for Android?
  • One Solution collect form web for “Previewing horizontal recyclerview in android studio”

    Add layoutManager and set a horizontal orientation.

    Here an example:


    Android Babe is a Google Android Fan, All about Android Phones, Android Wear, Android Dev and Android Games Apps and so on.