Skip to content

simple customized radio button with RTL text and icon

Notifications You must be signed in to change notification settings

javadghane/RtlAndroidViews

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 

Repository files navigation

RtlRadioButton v0.0.1

simple customized radio button with RTL text and icon

RtlCheckBox v0.0.1

soon

usage:

just put that in your xml file.

<RtlRadioButton
android:layout_width="wrap_content"
android:layout_height="wrap_content"/> 

and initialize the class:

RtlRadioButton rd = (RtlRadioButton) findviewbyid(R.id.yourid);
rd.setColor(Color.BLACK);
rd.setText("یک متن فارسی");
rd.setCheck(true);
rd.setClick(new RtlRadioButton.onClick() {
            @Override
            public void click() {
              //Do somthing
            }
        });

About

simple customized radio button with RTL text and icon

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages