0
현재 게이지보기로 구성된 응용 프로그램을 개발 중입니다. 여기에서 코드를 찾았습니다 https://github.com/CodeAndMagic/GaugeView 'org.codeandmagic.android.gauge.demo에 리소스 식별자가 없습니다 forattribute'showOuterShadow'가 발견되었습니다.오류 : 패키지의 속성 'showOuterShadow'에 대한 자원 식별자가 없습니다.
이<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:gauge="http://schemas.android.com/apk/res/org.codeandmagic.android.gauge.demo"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:gravity="center"
android:background="@drawable/background"
android:padding="20dp" >
<org.codeandmagic.android.gauge.GaugeView
android:id="@+id/gauge_view1"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" />
<org.codeandmagic.android.gauge.GaugeView <!--Error occurring here-->
android:id="@+id/gauge_view2"
android:layout_width="150dp"
android:layout_height="150dp"
android:layout_marginTop="10dp"
gauge:showOuterShadow="true"
gauge:showOuterRim="false"
gauge:showNeedle="false"
gauge:showRanges="false"
gauge:showText="true"
gauge:textUnit="%" />
</LinearLayout>
Properties-> Android-> Add libs에서 프로젝트에 라이브러리를 추가 했습니까? –
답장을 보내 주셔서 감사합니다. 그걸 확인하지 않았습니다. 나중에 내가 문제를 해결했는지 확인했습니다. – Sundeep