<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/widget_app_holder"
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:padding="@dimen/medium_margin">

    <com.simplemobiletools.commons.views.MySquareImageView
        android:id="@+id/widget_app_icon"
        android:layout_width="@dimen/launcher_icon_size"
        android:layout_height="@dimen/launcher_icon_size"
        android:layout_gravity="center_horizontal|bottom"
        android:padding="@dimen/small_margin"
        tools:src="@mipmap/ic_launcher" />

    <TextView
        android:id="@+id/widget_app_title"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:layout_alignTop="@+id/widget_app_icon"
        android:layout_alignBottom="@+id/widget_app_icon"
        android:layout_toEndOf="@+id/widget_app_icon"
        android:ellipsize="end"
        android:gravity="center_vertical"
        android:maxLines="1"
        android:paddingStart="@dimen/medium_margin"
        android:paddingTop="@dimen/normal_margin"
        android:paddingBottom="@dimen/normal_margin"
        android:textSize="@dimen/bigger_text_size"
        tools:text="@string/app_name" />

</RelativeLayout>
