Skip to content

Coustom Font For TextView & EditText & Button & CheckBox & readioButton

Notifications You must be signed in to change notification settings

MohsenNa/CustomFont

 
 

Repository files navigation

بدون استفاده از کتابخانه بدین شکل میباشد :

alt text

<font.custom.khanbeiki.moslem.customfont.TextViewCustomFont
   android:id="@+id/textView"
   android:layout_width="match_parent"
   android:layout_height="wrap_content"
   android:layout_marginBottom="8dp"
   android:text="@string/text"
   app:fontName="IRANSansMobile_Bold" />

<font.custom.khanbeiki.moslem.customfont.EditTextCustomFont
   android:id="@+id/editText2"
   android:layout_width="match_parent"
   app:fontName="IRANSansMobile_UltraLight"
   android:layout_height="wrap_content"
   android:layout_marginBottom="8dp"
   android:ems="10"
   android:hint="@string/text"
   android:inputType="textPersonName" />

<font.custom.khanbeiki.moslem.customfont.RadioButtonCustomFont
   android:id="@+id/radioButton3"
   android:layout_width="match_parent"
   android:layout_height="wrap_content"
   app:fontName="IRANSansMobile_Light"
   android:layout_marginBottom="8dp"
   android:layoutDirection="rtl"
   android:text="@string/text" />

<font.custom.khanbeiki.moslem.customfont.CheckBoxCustomFont
   android:id="@+id/checkBox3"
   android:layout_width="match_parent"
   android:layout_height="wrap_content"
   app:fontName="IRANSansMobile_Light"
   android:layout_marginBottom="8dp"
   android:layoutDirection="rtl"
   android:text="@string/text" />

<font.custom.khanbeiki.moslem.customfont.ButtonCustomFont
   android:id="@+id/button2"
   android:layout_width="match_parent"
   android:layout_height="wrap_content"
   android:layout_marginBottom="8dp"
   app:fontName="IRANSansMobile_Medium"
   android:text="@string/text" />

استفاده از کتابخانه :

alt text alt text

About

Coustom Font For TextView & EditText & Button & CheckBox & readioButton

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%