Fixed icon ignoring tint.

This commit is contained in:
GaidamakUA 2016-03-30 11:22:17 +03:00
parent 7202f69bd9
commit 7c4161cf1b
5 changed files with 16 additions and 15 deletions

View file

@ -10,7 +10,7 @@
android:paddingLeft="16dp"
android:paddingRight="16dp">
<ImageView
<android.support.v7.widget.AppCompatImageView
android:id="@+id/icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"

View file

@ -8,7 +8,7 @@
android:paddingLeft="16dp"
android:paddingRight="16dp">
<ImageView
<android.support.v7.widget.AppCompatImageView
android:id="@+id/icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"

View file

@ -25,7 +25,7 @@
android:layout_height="0dp"
android:layout_weight="1">
<ImageView
<android.support.v7.widget.AppCompatImageView
android:id="@+id/icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"

View file

@ -12,7 +12,7 @@
android:paddingLeft="16dp"
android:paddingRight="16dp">
<ImageView
<android.support.v7.widget.AppCompatImageView
android:id="@+id/icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"

View file

@ -14,15 +14,16 @@
limitations under the License.
-->
<android.support.v7.widget.AppCompatImageView xmlns:android="http://schemas.android.com/apk/res/android"
<android.support.v7.widget.AppCompatImageView
android:id="@+id/icon"
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginBottom="8dip"
android:layout_marginLeft="8dip"
android:layout_marginRight="-8dip"
android:layout_marginTop="8dip"
android:layout_marginBottom="8dip"
android:scaleType="centerInside"
android:duplicateParentState="true"/>
android:duplicateParentState="true"
android:scaleType="centerInside"/>