Getting error “file name must end with .xml” while using the “android:fontFamily” of Android O?
问题 Android O introduces a new feature, Fonts in XML, which lets you use fonts as resources. And I am creating the font folder in resource file as it provided by Android developer, but the problem is that I am getting error that file name must end with .xml while using the font folder which is provided in Android O release. Please check the below layout for it. <TextView android:id="@+id/txtMsgCount" android:layout_width="wrap_content" android:layout_height="16dp" android:background="@drawable