title: How to move ImageView and TextView in CardView?
body: <p>I have an <code>ImageView</code> and <code>TextView</code> inside a <code>CardView</code>. I can adjust the size of both the <code>ImageView</code> and <code>TextView</code> but when I try and move either of the 2 inside the XML design window, the top left corner of both doesn't move from the top left corner of the <code>CardView</code>, they're just stuck there. Any idea why this happens? I've included an image and my XML code below.</p>
  
  <p><a href="https://i.stack.imgur.com/tob54.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/tob54.png" alt="Here is the image showing the problem"></a></p>
  
  <pre class="lang-xml prettyprint-override"><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
                xmlns:card_view="http://schemas.android.com/apk/res-auto"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:id="@+id/newsView_container"
                android:orientation="vertical"
                android:layout_marginBottom="1dp"&gt;
  
      &lt;android.support.v7.widget.CardView
              android:id="@+id/news_cardView"
              android:layout_width="match_parent"
              android:layout_height="250dp"
              android:layout_gravity="center"
              android:layout_marginBottom="1dp"
              card_view:cardCornerRadius="8dp"
              card_view:cardElevation="1dp"
              card_view:cardUseCompatPadding="true"
              card_view:cardPreventCornerOverlap="false"&gt;
  
          &lt;RelativeLayout
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:background="#406490"&gt;
  
              &lt;ImageView
                      android:id="@+id/news_photo"
                      android:layout_width="177dp"
                      android:layout_height="221dp"
                      card_view:srcCompat="@drawable/cast_abc_scrubber_control_off_mtrl_alpha"/&gt;
  
              &lt;TextView
                      android:id="@+id/news_title"
                      android:layout_width="157dp"
                      android:layout_height="99dp"
                      android:background="#99141414"
                      android:fontFamily="sans-serif-condensed-light"
                      android:text="Internet of Things Reaches One Day Volume of $430.00 (XOT) - Modern Readers"
                      android:textColor="@color/colorPrimary"
                      android:textSize="22sp"
                      android:textStyle="bold"/&gt;
  
          &lt;/RelativeLayout&gt;
  
      &lt;/android.support.v7.widget.CardView&gt;
  &lt;/LinearLayout&gt;
  </code></pre>