sahandsamaneh
چهارشنبه 29 مهر 1394, 08:06 صبح
من یک سری ویو دارم که به صورت کلاس توی پروژه ساخته شده و در لایوت ها از آنها استفاده کرده ام
package net.myPackage.Util;
public class ResizableImageView extends ImageView {
.
.
.
}
<[JAVA]<net.myPackage.Util.ResizableImageView
android:id="@+id/imgSearchImage"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:contentDescription="@string/Search"
android:src="@drawable/home_search_cars" />
وقتی ProGuard را فعال میکنم این ویو را پیدا نمیکند.
چطور باید در ProGuard مشخص کنیم که View های custom شده تغییر نکند؟؟ با اکلیپس کار میکنم
package net.myPackage.Util;
public class ResizableImageView extends ImageView {
.
.
.
}
<[JAVA]<net.myPackage.Util.ResizableImageView
android:id="@+id/imgSearchImage"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:contentDescription="@string/Search"
android:src="@drawable/home_search_cars" />
وقتی ProGuard را فعال میکنم این ویو را پیدا نمیکند.
چطور باید در ProGuard مشخص کنیم که View های custom شده تغییر نکند؟؟ با اکلیپس کار میکنم