아래는 scalable layout을 활용한 레이아웃 입니다.
gradle에
implementation 도 시킨 상태인데
해당 에러로 골치 썩고 있습니다.
구글링을 해도 마땅한 답변이 없어 질문합니다.
미리 감사 드립니다.
에러 내용 : (unexpected namespace prefix "app" found for tag ImageView)
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:background="@color/white">
<com.ssomai.android.scalablelayout.ScalableLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
app:scale_base_width="200"
app:scale_base_height="1080"
android:layout_marginTop="180dp">
<ImageView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:contentDescription="@string/StringValue"
app:scale_wigth="200"
app:scale_height="1080"
android:src="@drawable/icon"/>
</com.ssomai.android.scalablelayout.ScalableLayout>
</RelativeLayout>