Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android Graphical Layout Editor in eclipse can't see my custom class

Tags:

android

I have created a new class that extends the RelativeLayout and when viewing this using the Grahical Layout editor, I always see this error:

The following classes could not be found: - eg.package.StripedBackgroundLayout

Has anyone experience this before and how to resolve it please?

I'm using ADT 12.0.0

like image 545
DennisA Avatar asked Dec 30 '25 07:12

DennisA


1 Answers

Yes, you currently cannot resolve this. The Graphical Layout Editor is not equipped to handle custom classes at the moment. It can be achieved with some hefty modification, but it isn't worth the time. It will be included in later Graphical Layout editor updates.

like image 75
Zaid Daghestani Avatar answered Jan 01 '26 20:01

Zaid Daghestani



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!