Menu
  • HOME
  • TAGS

Properly acessing custom attributes of custom LinearLayout

android,android-layout,android-context,android-custom-attributes

Okay, I got it working There are two issues in my code. Murphy's Ninth Law: Nature always sides with the hidden flaw: This is just wrong return mUpsideDown ? super.getChildAt(index) : super.getChildAt(super.getChildCount() - index + 1); I was trying to access two positions after the end of the children list....

How to create hexagonal view menu in android

android,android-layout,android-imageview,android-custom-view,android-custom-attributes

i have tried to create the layout that u required, using ImageViews, LinearLayout and applying the negative margin. I am not sure if it is the ideal way to use, but i guess you can give it try if don't want go for canvas. Please go through the below example......

Error with custom text-view attribute

android,android-xml,android-custom-view,android-custom-attributes

If you only get the error in the xml graphics view, add this to youre code if(!isInEditMode()) //use fonts The editor will display only default fonts....