Skip to content

dotrinh-DM/Canvas

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

66 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

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

About

Custom View of Android Framework πŸ₯°πŸ‡»πŸ‡³πŸ‡―πŸ‡΅

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages