Encountered two errors

Error 1: could not initiate OnClickListener
Solution: Create in onCreateView, not onCreate
Error 2: duplicate fragment id
Solution: Fragment can only exist in one file for the parent
framelayout; cannot exist in any other xml