You need to give complete path of your class that extends View,
<com.blah.blah.GraphicsView
android:id="@+id/view"
android:layout_width="fill_parent"
android:layout_height="wrap_content"/>
More Related Contents:
- ConstraintLayout views in top left corner
- Can not find a View with findViewById()
- How to lay out Views in RelativeLayout programmatically?
- ConstraintLayout: change constraints programmatically
- Usage of forceLayout(), requestLayout() and invalidate()
- What does the LayoutInflater attachToRoot parameter mean?
- Inflate a view / layout into another layout?
- Android custom view group delegate addView
- How to Measure TextView Height Based on Device Width and Font Size?
- java.lang.StackOverFlow error. Suspected too many views?
- How to make a view with rounded corners?
- filling a circle gradually from bottom to top android
- Why does calling getWidth() on a View in onResume() return 0?
- How to programmatically round corners and set random background colors
- Why isn’t there a getContentView() method for Activity?
- Android : Draw Circle With Text Inside
- Give Scroll view to only edittext in android
- Standard Android Button with a different color
- Focusable EditText inside ListView
- Outlined Edit Text from Material Design
- RecyclerView expand/collapse items
- How to access Fragment’s child views inside fragment’s parent Activity?
- Disable default animation from Portrait to Landscape
- Android: Detect Orientation Changed
- How to use isInEditMode() to see layout with custom View in the editor
- Is it possible to put a ConstraintLayout inside a ScrollView?
- Android: why setVisibility(View.GONE); or setVisibility(View.INVISIBLE); do not work
- Draw Circle on touch
- Navigation Drawer: set as always opened on tablets
- Android – Use of view.setX() and setY in api 8