Guest User

Untitled

a guest
Feb 17th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.20 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
  3. xmlns:app="http://schemas.android.com/apk/res-auto"
  4. xmlns:tools="http://schemas.android.com/tools"
  5. android:layout_width="match_parent"
  6. android:layout_height="wrap_content">
  7.  
  8. <TextView
  9. android:id="@+id/restaurant_dish_option_viewholder_optionNameTextView"
  10. android:layout_width="0dp"
  11. android:layout_height="19dp"
  12. android:layout_marginEnd="20dp"
  13. android:layout_marginStart="20dp"
  14. android:layout_marginTop="10dp"
  15. android:fontFamily="@font/lato_regular"
  16. android:text="Name"
  17. android:textColor="@color/text_darkGray"
  18. android:textSize="14sp"
  19. app:layout_constraintEnd_toStartOf="@+id/restaurant_dish_option_viewholder_checkmark"
  20. app:layout_constraintStart_toStartOf="parent"
  21. app:layout_constraintTop_toTopOf="parent"
  22. tools:ignore="HardcodedText" />
  23.  
  24. recyclerView.setLayoutManager(new LinearLayoutManager(this));
  25. RestaurantDish_RecyclerView_Adapter adapter = new RestaurantDish_RecyclerView_Adapter(structuredOptionsExtras);
  26. recyclerView.setAdapter(adapter);
Add Comment
Please, Sign In to add comment