Skip to content

Latest commit

 

History

History
49 lines (36 loc) · 1.84 KB

README.md

File metadata and controls

49 lines (36 loc) · 1.84 KB

1. Audio Knob View for controlling Volume, Adjustment Knob Widget, Meter View

Canvas/app/src/main/java/com/dotrinh/canvas/draw_arc/draw_knob/DrawKnobActivity.java

Ez to use
    MyKnob myKnob = findViewById(R.id.knob_1);
    myKnob.relative_size = (int) convertDpToPx(70);
    myKnob.current_content = MyKnob.CONTENT_TYPE.TEXT_ONLY;

    MyKnob myKnob2 = findViewById(R.id.knob_2);
    myKnob2.relative_size = (int) convertDpToPx(70);
    myKnob2.center_bitmap = BitmapFactory.decodeResource(getResources(), R.drawable.verified);
    myKnob2.current_content = MyKnob.CONTENT_TYPE.IMG_ONLY;

    MyKnob myKnob3 = findViewById(R.id.knob_3);
    myKnob3.relative_size = (int) convertDpToPx(70);
    myKnob3.left_bmp = BitmapFactory.decodeResource(getResources(), R.drawable.editampnote);
    myKnob3.current_content = MyKnob.CONTENT_TYPE.IMG_AND_TEXT;

2. Circular progress

Canvas/app/src/main/java/com/dotrinh/canvas/circle_progress/CPActivity.java

3. Draw Lines (Wave)

Canvas/app/src/main/java/com/dotrinh/canvas/draw_lines/MyDrawLine.java

4. Draw Texts (Vertical - Horizontal)

Canvas/app/src/main/java/com/dotrinh/canvas/draw_text/DrawTextActivity.java
Japanese Texts

License

free

@dotrinh