diff --git a/README.md b/README.md index f922337..2cb7a34 100644 --- a/README.md +++ b/README.md @@ -27,7 +27,7 @@ compile 'com.github.hadiidbouk:ChartProgressBar:1.0.1' 1. Add `ChartProgressBar` to your layout : -Don't forget to add the namespace on the root tag ```xmlns:app="http://schemas.android.com/apk/lib/com.hadiidbouk.charts"``` +Don't forget to add the namespace on the root tag ```xmlns:hd="http://schemas.android.com/apk/lib/com.hadiidbouk.charts"``` ```xml + hd:hdBarCanBeClick="true" + hd:hdBarHeight="170dp" + hd:hdBarWidth="16dp" + hd:hdBarRadius="10dp" + hd:hdMaxValue="10" + hd:hdEmptyColor="@color/empty" + hd:hdProgressColor="@color/progress" + hd:hdProgressClickColor="@color/progress_click" + hd:hdPinBackgroundColor="@color/pin_background" + hd:hdPinTextColor="@color/pin_text" + hd:hdPinPadding="3dp" + hd:hdBarTitleColor="@color/bar_title_color" + hd:hdBarTitleTxtSize="12sp" + hd:hdPinTxtSize="17sp" + hd:hdPinMarginTop="10dp"/> ``` 2. Add your Data to the chart :