android.support.v7.internal.app.WindowsDecorActionBar Rendering Problems
ActionBar is deprecated in the latest android api... If you need to use it make sure your theme read as follow:
<style name="AppTheme" parent="Base.Theme.AppCompat.Light.DarkActionBar">
you can find this in:
res > values > styles.xml
How to fix 'The following classes could not be found: - android.support.v7.widget.Toolbar' error in Java
Try to use the toolbar from the androidx
dependencies
<androidx.appcompat.widget.Toolbar
android:id="@+id/toolBarTop"
android:layout_width="match_parent"
android:layout_height="60dp"
android:background="@color/colorPrimary"/>
// YOUR INNER CONTENT
</androidx.appcompat.widget.Toolbar>
WindowDecorActionBar error in latest Android Studio
in style.xml change
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
to
<style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
The following classes could not be found: android.support.constraint.RelativeLayout
RelativeLayout is not inside that package, you should use :
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:paddingLeft="16dp"
android:paddingRight="16dp" >
Or if you are importing inside your class:
import android.widget.RelativeLayout;
Related Topics
Collapsingtoolbarlayout Subtitle
Get Context in Non-Activity Class
Confusion on Yuv Nv21 Conversion to Rgb
Dagger 2.10 Android Subcomponents and Builders
How to Disable/Enable Dialog Negative Positive Buttons
Android: How to Get a Custom View's Height and Width
How to Dynamically Create Menu Items
Hw Accelerated Activity - How to Get Opengl Texture Size Limit
Android Imageview: Setting Drag and Pinch Zoom Parameters
How to Add Image in Expandable List in Parent in Android
Firebase Cloud Messaging Notification Not Received by Device
How to Get Selected Items from Multi Select List View
Horizontalscrollview Inside Swiperefreshlayout
How to Create an Android Application in Android Studio That Uses the Google Maps API V2