Spotted a bug? Have a great idea? Help us improve developer profiles! Submit feedback Google Developer Profile Send feedback Return to pathway Which method on an Activity inflates the app's layout and makes its views available as objects? setClickListener() super.onCreate() setContentView() onCreate() Which view attribute do you use to set the width of a view so that it adjusts to fit the content? android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_width="wrap_content" android:layout_width="wrap" Submit answers error_outline An error occurred when grading the quiz. Please try again.