title: RatingBar is unclickable
body: <p>I am trying to add a rating bar in my app so that one could rate a Question Object.</p>
  
  <p>Here's my XML version of the rating bar:</p>
  
  <pre><code>&lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
            android:orientation="vertical"
            android:layout_width="match_parent"
            android:layout_height="match_parent"&gt;
  
      &lt;LinearLayout
          android:orientation="horizontal"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"&gt;
  
          &lt;TextView
              android:layout_width="wrap_content"
              android:layout_height="match_parent"
              android:text="Question: "
              android:textSize="20sp"
              android:gravity="center"/&gt;
  
          &lt;EditText
              android:id="@+id/fragment_question_string"
              android:layout_width="0sp"
              android:layout_height="match_parent"
              android:layout_weight="1"
              android:hint="New question"/&gt;
  
      &lt;/LinearLayout&gt;
  
      &lt;RatingBar
          android:id="@+id/fragment_question_rating_bar"
          style="@style/Base.Widget.AppCompat.RatingBar.Small"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:clickable="true"/&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>
  
  <p>And here's the part of my code where I am using the RatingBar in the onCreateView(LayoutInflater, View, Bundle) method of a fragment</p>
  
  <pre><code>RatingBar mRatingBar = (RatingBar) v.findViewById(R.id.fragment_question_rating_bar);
  mRatingBar.setOnRatingBarChangeListener(new RatingBar.OnRatingBarChangeListener() {
          @Override
          public void onRatingChanged(RatingBar ratingBar, float rating, boolean fromUser) {
              int r = (int) rating;
  
              try {
                  mQuestion.rateQuestion(r);
              } catch (IllegalRatingValue illegalRatingValue) {
                  illegalRatingValue.printStackTrace();
              }
          }
      });
  </code></pre>
  
  <p>The issue is that the rating bar is just unclickable. It doesn't change the number of stars when I try rating the question. It appears just like an image as it doesn't respond to touch. How do I fix this?</p>