R.styleable not resolved!

Issue #53 resolved
Ariana created an issue

Hi Daniel, I've been searching a lot for an Android graph, and here is my question:http://stackoverflow.com/questions/24314156/creating-incremental-statistic-bars-on-android

I finally got very interested in your library as it is very simple :) But when I'm trying to use the BarGraph, the included library file itself shows multiple errors:

        TypedArray a = getContext().obtainStyledAttributes(attrs, R.styleable.BarGraph);
        mOrientation = a.getInt(R.styleable.BarGraph_orientation, ORIENTATION_VERTICAL);
        mAxisColor = a.getColor(R.styleable.BarGraph_barAxisColor, Color.LTGRAY);
        mShowAxis = a.getBoolean(R.styleable.BarGraph_barShowAxis, true);
        mShowAxisLabel = a.getBoolean(R.styleable.BarGraph_barShowAxisLabel, true);
        mShowBarText = a.getBoolean(R.styleable.BarGraph_barShowText, true);
        mShowPopup = a.getBoolean(R.styleable.BarGraph_barShowPopup, true);

How should I fix it?

Comments (1)

  1. Ariana reporter

    Oh, I did not notice there are some files on /value and /drawable. Description of copying these two files were not written on your tutorial! :)

  2. Log in to comment