Tôi đã đọc về vấn đề này trên stackoverflow nhưng tiếc là đã không tìm thấy câu trả lời đúng.Path.isConvex không được hỗ trợ. Android Studio - Nút chuyển đổi
tôi sử dụng một ToggleButton và nó cho thấy tôi những lỗi sau trong cửa sổ render:
The graphics preview in the layout editor may not be accurate:
- Different corner sizes are not supported in Path.addRoundRect. (Ignore for this session)
- Path.isConvex is not supported. (Ignore for this session)
Các thiết bị đầu cuối hiển thị thông báo lỗi sau:
E/dalvikvm: Could not find class 'android.widget.ThemedSpinnerAdapter', referenced from method android.support.v7.widget.AppCompatSpinner$DropDownAdapter.<init>
Khi tôi thiết lập mức độ api trong hiển thị cửa sổ đến 19 thay vì 23 cửa sổ "Hiển thị sự cố" sẽ không xuất hiện nhưng lỗi vẫn xảy ra trong ứng dụng khi chạy trên thiết bị chạy Android 4.4.2.
Đây là ToggleButton đơn giản của tôi:
<ToggleButton
android:id="@+id/editToggleKunde6"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textOn="@string/kunde_bearbeiten_txt1"
android:textOff="@string/kunde_bearbeiten_txt2"
android:checked="true"
/>
Thanks cho bất kỳ ý tưởng!
Bạn đang hỏi tại sao 'ToggleButton' không hoạt động trong Xem trước? Nếu vậy, vui lòng cập nhật câu hỏi. – miensol
Không, tôi không biết. Tôi đang yêu cầu giải pháp tại sao lỗi "E/dalvikvm: Không thể tìm thấy lớp 'android.widget.ThemedSpinnerAdapter', được tham chiếu từ phương thức android.support.v7.widget.AppCompatSpinner $ DropDownAdapter." xảy ra. –
Bản sao có thể có của [http://stackoverflow.com/questions/33416691/could-not-find-class-android-widget-themedspinneradapter](http://stackoverflow.com/questions/33416691/could-not-find- class-android-widget-themedspinneradapter) – miensol