안드로이드에서 다음 스크린 샷을 얻으려고합니다.안드로이드에서 다른 이미지 안에 이미지 삽입하기
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/marker"
android:orientation="horizontal" >
<com.ylg.RoundImageView
android:id="@+id/profilePhoto"
android:layout_width="80dp"
android:layout_height="80dp"
android:gravity="center_horizontal"
android:src="@drawable/profilepic" />
하지만 I :
https://github.com/vinc3m1/RoundedImageView
그래서 나는 다음과 같은 코드를 시도 :여기에서 라운드 이미지 라이브러리가 원형 이미지를 얻으려면 오류가 발생했습니다. : 나는 아래 한 :
여기에서 잘못 될 수
NOTE: This project contains Java compilation errors, which can cause rendering failures for custom views. Fix compilation problems first.
Exception raised during rendering: Index: 0, Size: 0
내 마커 이미지 9 패치가 필요합니다. 레이아웃 xml에서 abouve 스크린 샷을 얻으려면 어떻게해야합니까?
고마워요. 이것은 나를 위해 문제를 해결했다. 나는 그림을 적절하게 맞추기 위해 9 가지 경로 그림으로 몇 가지를 변경했다. 모든 것이 잘되어 가고 있습니다 .. – TheDevMan