All Projects → mochixuan → RegulatorView

mochixuan / RegulatorView

Licence: other
Intelligent furniture remote control

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to RegulatorView

RMGradientView
A Custom Gradient View Control for iOS with inspectable properties.
Stars: ✭ 24 (+20%)
Mutual labels:  control, view
Irext
Universal IR Remote Control Solution
Stars: ✭ 1,240 (+6100%)
Mutual labels:  control, remote-control
Androidscreenshare
android
Stars: ✭ 883 (+4315%)
Mutual labels:  control, remote-control
Spotcommander
The most intuitive and feature-rich remote control for Spotify for Linux
Stars: ✭ 152 (+660%)
Mutual labels:  control, remote-control
Vanillarat
VanillaRat is an advanced remote administration tool completely coded in C# for Windows.
Stars: ✭ 192 (+860%)
Mutual labels:  control, remote-control
Ws Scrcpy
Web client prototype for scrcpy.
Stars: ✭ 164 (+720%)
Mutual labels:  control, remote-control
Rat Hodin V2.9
Remote Administration Tool for Linux
Stars: ✭ 97 (+385%)
Mutual labels:  control, remote-control
DcRat
A simple remote tool in C#.
Stars: ✭ 709 (+3445%)
Mutual labels:  control, remote-control
rtsp-samsung-tv
Display RTSP streams from IP Cameras on Samsung Smart TV (Tizen TV)
Stars: ✭ 40 (+100%)
Mutual labels:  control, remote-control
FastBanner
🔥快速轮播图,支持自定义布局和使用自有图片显示组件
Stars: ✭ 27 (+35%)
Mutual labels:  view
TeleShellBot
A simple Telegram Bot to run shell commands remotely
Stars: ✭ 70 (+250%)
Mutual labels:  remote-control
recycler-adapter
RecyclerView-driven declarative UIs
Stars: ✭ 124 (+520%)
Mutual labels:  view
RoundProgressBar
一个自定义的圆形可颜色渐变的ProgressBar
Stars: ✭ 32 (+60%)
Mutual labels:  view
TouchOSC
A collection of examples and modules for TouchOSC MK2
Stars: ✭ 30 (+50%)
Mutual labels:  remote-control
perfekt
Release, changelog and version your packages with perfe(k)t 👌 ease!
Stars: ✭ 15 (-25%)
Mutual labels:  control
VirtualCapsuleEndoscopy
VR-Caps: A Virtual Environment for Active Capsule Endoscopy
Stars: ✭ 59 (+195%)
Mutual labels:  control
QuadrotorFly
This is a dynamic simulation for quadrotor UAV
Stars: ✭ 61 (+205%)
Mutual labels:  control
broadlink-dotnet
.Net standard library for Broadlink devices
Stars: ✭ 13 (-35%)
Mutual labels:  remote-control
iCtrl
UofT Engineering Lab Remote
Stars: ✭ 91 (+355%)
Mutual labels:  remote-control
ColorPicker
Customizable Color Picker control for WPF
Stars: ✭ 57 (+185%)
Mutual labels:  control

RegulatorView

image image image

1. 主要功能

  • 背光灯渐变
  • 背光灯调色
  • 控制环的颜色
  • 控制环形的度数
  • 平滑实现调节
  • 里面所以参数都可以微调

2. 用途

  • 空调遥控器
  • 各种挡位调节器
  • 热水器调节器

3. 使用

主要接受一下圆命名大家就知道什么意思了从中心开始一共三个圆分别是 第一个圆 实心圆:firstCircle 第二个圆环: secondCircle 第三个圆:环形彩色圆弧: threeCircle

attrs
      <attr name="three_circle_radius" format="dimension"/>
        
        <attr name="first_circle_color" format="color"/>
        <attr name="second_circle_color" format="color"/>
        <attr name="secondcircle_shadow_color" format="color"/>
        <attr name="three_circle_color" format="color"/>
        
        <attr name="second_circle_width" format="dimension"/>
        <attr name="secondcircle_shadow_width" format="dimension"/>
        <attr name="three_circle_width" format="dimension"/>
        <attr name="gap1_width" format="dimension"/>
        
        <attr name="three_ring_angle" format="integer"/>
        <attr name="second_scale" format="float"/>
        
        <attr name="pointer_color" format="color"/>
        <attr name="pointer_scale" format="float"/>
        <attr name="pointer_width" format="dimension"/>

        <attr name="symbol" format="string"/>
        <attr name="center_title" format="string"/>
        <attr name="bottom_title" format="string"/>

        <attr name="symbol_color" format="color"/>
        <attr name="center_title_color" format="color"/>
        <attr name="bottom_title_color" format="color"/>

        <attr name="symbol_size" format="dimension"/>
        <attr name="center_title_size" format="dimension"/>
        <attr name="bottom_title_size" format="dimension"/>

        <attr name="bottomcenter_gap" format="dimension"/>
        <attr name="symbolcenter_gap" format="dimension"/>
        <attr name="symbolmovetop_gap" format="dimension"/>

        <attr name="backlight_durtion" format="integer"/>
        <attr name="isopen_backlightanim" format="boolean"/>
        <attr name="is_forbid_slide" format="boolean"/>
xml
<!--其他参数自己看名字就知道,可以实现微调每一个参数-->
<com.wx.regulatorview.RegulatorView
    android:id="@+id/regulator_view"
    android:layout_width="match_parent"
    android:layout_height="360dp"
    app:symbol="°"
    app:center_title="10"
    app:bottom_title="Auto" />
java
mRegulatorView = findViewById(R.id.regulator_view);
 mColors = new int[]{0xff2ab62d,0xff2ab62d, 0xff56f318, 0xff8ff318, 0xffd2f318, 0xfff3b318, 0xfff36a18, 0xffe73046, 0xffff0000,0xffff0000};
mRegulatorView.setThreeCircleColors(mColors);
mRegulatorView.setProgressChangeListener(new OnProgressChangeListener() {
     @Override
     public void onProgress(float progress) {
                
     }
});

4.其他

这里没有将代码上传到jcenter,如果你项目需要引用应该也要小范围修改,而且代码其实就一个核心类,项目引用直接粘贴更合适。

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].