Skip to content

Commit

Permalink
improve the commit
Browse files Browse the repository at this point in the history
  • Loading branch information
medyo committed Oct 23, 2016
1 parent 8649ae6 commit e30c6f7
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -688,12 +688,12 @@ public void setGhost(boolean ghost) {
}

/**
* Setting the button use system font
* If enabled, the button title will ignore its custom font and use the default system font
*
* @param use
* @param status : true || false
*/
public void setUsingSystemFont(boolean use) {
this.mUseSystemFont = use;
public void setUsingSystemFont(boolean status) {
this.mUseSystemFont = status;
}

/**
Expand Down
4 changes: 2 additions & 2 deletions fancybuttons_library/src/main/res/values/attrs.xml
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
<attr name="fb_radius" format="dimension" />
<attr name="fb_textAllCaps" format="boolean" />

<attr name="fb_ghost" format="boolean"></attr>
<attr name="fb_useSystemFont" format="boolean"></attr>
<attr name="fb_ghost" format="boolean"/>
<attr name="fb_useSystemFont" format="boolean"/>
</declare-styleable>

</resources>
3 changes: 1 addition & 2 deletions samples/src/main/res/layout/activity_xml_buttons.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:fancy="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:context="mehdi.sakout.fancybuttons.MainActivity$PlaceholderFragment" >
android:layout_height="wrap_content">

<LinearLayout
android:id="@+id/section1"
Expand Down

0 comments on commit e30c6f7

Please sign in to comment.