title: Image Button not displaying, On click is working
body: <p>I am working on Android studio, with an xml that displays a comment like in Facebook. My issue is that one of the buttons, the comment_more_options button, is not showing up in my actual device run, on the emulator provided with Android Studio, but does show up in my xml preview. However, when I click where the button should be, in the app run, the menu that is attached to it displays properly. What am I doing wrong? </p>
  
  <pre><code>    &lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:orientation="vertical"&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_weight="0"
          android:orientation="horizontal"&gt;
  
          &lt;ImageView
              android:id="@+id/comment_profile_picture"
              android:layout_width="40sp"
              android:layout_height="40sp"
              android:layout_gravity="left|center_vertical"
              android:layout_margin="12dp"
              android:layout_weight="0.26"
              app:srcCompat="@mipmap/ic_launcher" /&gt;
  
          &lt;LinearLayout
              android:layout_width="wrap_content"
              android:layout_height="match_parent"
              android:layout_weight="1"
              android:orientation="vertical"&gt;
  
              &lt;TextView
                  android:id="@+id/comment_displayName"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_gravity="left|center_vertical"
                  android:layout_margin="4dp"
                  android:layout_weight="1"
                  android:gravity="bottom|left"
                  android:text="Display Name"
                  android:textAppearance="@android:style/TextAppearance.Material.Menu" /&gt;
  
              &lt;TextView
                  android:id="@+id/comment_handle"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_gravity="left|center_vertical"
                  android:layout_marginBottom="6dp"
                  android:layout_marginLeft="8dp"
                  android:layout_marginRight="6dp"
                  android:layout_marginTop="2dp"
                  android:layout_weight="1"
                  android:gravity="top|left"
                  android:text="Handle" /&gt;
  
          &lt;/LinearLayout&gt;
  
          &lt;ImageButton
              android:id="@+id/comment_more_options"
              android:layout_width="32dp"
              android:layout_height="32dp"
              android:layout_gravity="left"
              android:layout_margin="1dp"
              android:layout_weight="0.50"
              android:background="@android:color/transparent"
              android:visibility="visible"
              app:srcCompat="@drawable/ic_more_vert_black_24dp" /&gt;
  
      &lt;/LinearLayout&gt;
  
      &lt;TextView
          android:id="@+id/comment_content"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_weight="0"
          android:text="@string/enter_comment"
          android:textSize="18sp" /&gt;
  
  &lt;/LinearLayout&gt;
  </code></pre>