i using absolutelayout activity , have defined in xml file.
i added line of code because trying add list of buttons dynamically , following warning.
private absolutelayout layout = (absolutelayout) findviewbyid(r.id.viewsaved); type absolutelayout deprecated the code still appears work properly, curious see if knows why warning appears?
thanks help!
in computer software or authoring programs standards , documentation, term deprecation applied software features superseded , should avoided. although deprecated features remain in current version, use may raise warning messages recommending alternative practices, , deprecation may indicate feature removed in future. features deprecated—rather being removed—in order provide backward compatibility , give programmers have used feature time bring code compliance new standard.
in short, function work removed in future versions. you'll want find replace with.
absolutelayout suggests use framelayout, relativelayout or custom layout instead.
Comments
Post a Comment