Skip to content

Commit b573ef9

Browse files
author
shrikanth7698
committed
Final Commit 2 for v0.0.1
1 parent aa9a17e commit b573ef9

File tree

4 files changed

+9
-1
lines changed

4 files changed

+9
-1
lines changed

.idea/caches/build_file_checksums.ser

0 Bytes
Binary file not shown.

build.gradle

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ buildscript {
88
}
99
dependencies {
1010
classpath 'com.android.tools.build:gradle:3.1.0'
11-
11+
classpath 'com.github.dcendents:android-maven-gradle-plugin:2.0'
1212

1313
// NOTE: Do not place your application dependencies here; they belong
1414
// in the individual module build.gradle files

customnavigationdrawer2/build.gradle

+2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,6 @@
11
apply plugin: 'com.android.library'
2+
apply plugin: 'com.github.dcendents.android-maven'
3+
group = 'com.github.shrikanth7698'
24

35
android {
46
compileSdkVersion 27

customnavigationdrawer2/src/main/java/com/shrikanthravi/customnavigationdrawer2/widget/SNavigationDrawer.java

+6
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
import android.content.Context;
44
import android.content.res.TypedArray;
5+
import android.graphics.Typeface;
56
import android.os.Handler;
67
import android.support.annotation.IntDef;
78
import android.support.v7.widget.CardView;
@@ -503,4 +504,9 @@ public void setSecondaryMenuItemTextSize(float secondaryMenuItemTextSize) {
503504
this.secondaryMenuItemTextSize = secondaryMenuItemTextSize;
504505
invalidate();
505506
}
507+
508+
//to change the typeface of appbar title
509+
public void setAppbarTitleTypeface(Typeface titleTypeface){
510+
appbarTitleTV.setTypeface(titleTypeface);
511+
}
506512
}

0 commit comments

Comments
 (0)