# UISegmentedControl **Repository Path**: eachann_lee/UISegmentedControl ## Basic Information - **Project Name**: UISegmentedControl - **Description**: 自定义分段控件 - **Primary Language**: Android - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2019-12-17 - **Last Updated**: 2021-11-02 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 分段控件 >继承RadioGroup自定义组件,默认方向为横向布局,每个子view 等分 Step 1. Add the JitPack repository to your build file ```gradle allprojects { repositories { ... maven { url 'https://jitpack.io' } } } ``` Step 2. Add the dependency ```gradle dependencies { implementation 'com.gitee.eachann_lee:UISegmentedControl:1.0.1' } ``` **效果图** ![](tmp45e7f0c9.png) **代码片段** ```xml ``` ```xml ``` ```xml ``` ```xml ```