# ProgressPieView **Repository Path**: HarmonyOS-tpc/ProgressPieView ## Basic Information - **Project Name**: ProgressPieView - **Description**: openharmony library for showing progress in a highly customizable pie. - **Primary Language**: Unknown - **License**: Apache-2.0 - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2021-04-15 - **Last Updated**: 2023-04-17 ## Categories & Tags **Categories**: harmonyos-progress **Tags**: None ## README ## ProgressPieView ## Introduction openharmony library for showing progress in a highly customizable pie. ![](images/progresspieview.png) we can choose various styles from the broad spectre of styleable elements: * `ppvStrokeWidth` - The width of stroke around the view. * `ppvStrokeColor` - The color of stroke around the view. * `ppvBackgroundColor` - The color of the views background. * `ppvProgressColor` - The color view of the views progress. * `ppvInverted` - Inverts the drawing of progress (fill radial only). * `ppvCounterclockwise` - Draws the progress counterclockwise (fill radial only). * `ppvProgressFillType` - Type for the progress fill (either fill radial at an angle or fill from center outwards). * `ppvImage` - image (can be hidden). * `ppvTypeface` - Font of the text. * `text` - text (can be hidden). * `text_size` - Size of the text. * `textColor` - Color of the text. ## Usage Instructions Add the ProgressPieView component to layout as below ```xml ``` You can find more examples from code styling or xml styling in the sample that is provided. ## Installation Instructions ``` Method 1: Generate har package from library and add it to lib folder. add following code to gradle of entry implementation fileTree(dir: 'libs', include: ['*.jar', '*.har']) Method 2: allprojects{ repositories{ mavenCentral() } } implementation 'io.openharmony.tpc.thirdlib:ProgressPieView:1.0.1' ``` ## License Copyright 2014 Filip Puđak Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.