From 6389260c14b932e82993bfc087c2b86439fa4bef Mon Sep 17 00:00:00 2001 From: Javier Santos Date: Wed, 10 Jun 2015 19:28:46 +0200 Subject: [PATCH] Fixed app icon when using a custom icon pack --- app/src/main/res/layout/activity_app.xml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/src/main/res/layout/activity_app.xml b/app/src/main/res/layout/activity_app.xml index 4df8532..ec7bcce 100644 --- a/app/src/main/res/layout/activity_app.xml +++ b/app/src/main/res/layout/activity_app.xml @@ -21,6 +21,9 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:src="@mipmap/ic_launcher" + android:adjustViewBounds="true" + android:maxWidth="50dp" + android:maxHeight="50dp" android:layout_alignParentTop="true" android:layout_centerHorizontal="true" />