캘린더보기로 Android 앱을 개발 중입니다. 캘린더보기에 Caldroid 라이브러리를 사용하고 있으며 이제 내 일정에 어두운 테마를 적용하려고합니다. 나는 github caldroid 페이지에서 주어진 해결책을 시도했다. 하지만 주제를 적용하지 못했습니다.캘린더 캘린더에 맞춤 테마 적용
Multiple markers at this line - CaldroidDefaultDark cannot be resolved or is not a field - THEME_RESOURCE cannot be resolved or is not a field
사람이 도움이 될 수있는 경우 : 내가 그것을
Bundle args = new Bundle();
args.putInt(CaldroidFragment.THEME_RESOURCE, com.caldroid.R.style.CaldroidDefaultDark);
caldroidFragment.setArguments(args);
오류로 테마를 적용 할 때 내 활동에서 내 styles.xml
error: Error retrieving parent for item: No resource found that matches the given name 'CaldroidDefault'. error: Error: No resource found that matches the given name: attr 'styleCaldroidGridView'. error: Error: No resource found that matches the given name: attr 'styleCaldroidMonthName'. error: Error: No resource found that matches the given name: attr 'styleCaldroidNormalCell'.error: Error: No resource found that matches the given name: attr 'styleCaldroidSquareCell'. error: Error: No resource found that matches the given name: attr 'styleCaldroidViewLayout'. error: Error retrieving parent for item: No resource found that matches the given name 'CaldroidDefaultMonthName'. error: Error retrieving parent for item: No resource found that matches the given name 'CaldroidDefaultGridView'. error: Error retrieving parent for item: No resource found that matches the given name 'CaldroidDefaultCell'. error: Error retrieving parent for item: No resource found that matches the given name 'CaldroidDefault'. error: Error: No resource found that matches the given name: attr 'styleCaldroidGridView'. error: Error: No resource found that matches the given name: attr 'styleCaldroidMonthName'. error: Error: No resource found that matches the given name: attr 'styleCaldroidNormalCell'. error: Error: No resource found that matches the given name: attr 'styleCaldroidSquareCell'. Error: No resource found that matches the given name: attr 'styleCaldroidViewLayout'. Error retrieving parent for item: No resource found that matches the given name 'CaldroidDefaultMonthName'. error: Error retrieving parent for item: No resource found that matches the given name 'CaldroidDefaultGridView'. error: Error retrieving parent for item: No resource found that matches the given name 'CaldroidDefaultCell'.
에서 제기 오류 우는 또한 오류 아래 제기 나를 밖으로, 그것은 크게 감사하겠습니다.
답장을 보내 주셔서 감사 드리며 저는 앱에서 caldroid 캘린더를 사용하여 많은 개발 작업을 수행했습니다. 이 상황에서 다른 도서관으로 이전하는 것은 매우 어렵습니다. 앱 개발을 끝내기 위해 색상을 바꾸고 싶습니다. 그런 목적으로 도움을 줄 수 있다면 많은 도움이됩니다. –