<?xml version="1.0" encoding="utf-8"?> <FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" android:id="@+id/layout_item" android:layout_width="match_parent" android:layout_height="wrap_content"> <FrameLayout android:id="@+id/logo" android:layout_width="wrap_content" android:layout_height="wrap_content" android:background="@color/colorLogo" android:paddingHorizontal="@dimen/padding20" android:paddingVertical="@dimen/padding15"> <ImageView android:layout_width="@dimen/logo_width" android:layout_height="wrap_content" android:adjustViewBounds="true" android:src="@mipmap/logo_2x" /> </FrameLayout> </FrameLayout>