<com.igorini.kotlin.android.app.view.views.SquareFrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:gravity="center_horizontal"
  android:orientation="horizontal"
  android:padding="@dimen/element_padding">

  <ImageView
    android:id="@+id/imageView"
    android:layout_width="match_parent"
    android:layout_height="match_parent" />

  <TextView
    android:id="@+id/textView"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:gravity="top"
    android:paddingLeft="10dp"
    android:paddingRight="10dp"
    android:shadowColor="#111"
    android:shadowDx="5"
    android:shadowDy="5"
    android:shadowRadius="0.01"
    android:textColor="@android:color/black"
    android:textSize="@dimen/text_size"
    tools:text="British Semi-longhair" />
</com.igorini.kotlin.android.app.view.views.SquareFrameLayout>
<com.igorini.kotlin.android.app.view.views.SquareFrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
  xmlns:tools="http://schemas.android.com/tools"
  android:layout_width="match_parent"
  android:layout_height="wrap_content"
  android:gravity="center_horizontal"
  android:orientation="horizontal"
  android:padding="@dimen/element_padding">

  <ImageView
    android:id="@+id/imageView"
    android:layout_width="match_parent"
    android:layout_height="match_parent" />

  <TextView
    android:id="@+id/textView"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:gravity="top"
    android:paddingLeft="@dimen/element_padding"
    android:paddingRight="@dimen/element_padding"
    android:shadowColor="#111"
    android:shadowDx="5"
    android:shadowDy="5"
    android:shadowRadius="0.01"
    android:textColor="@android:color/black"
    android:textSize="@dimen/text_size"
    tools:text="British Semi-longhair" />
</com.igorini.kotlin.android.app.view.views.SquareFrameLayout>
Replace hardcoded dimensions with references to dimens.xml
Replace hardcoded dimensions with references to dimens.xml
