File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 33 package =" com.matpag.sample" >
44
55 <application
6+ android : name =" .AppApplication"
67 android : allowBackup =" true"
78 android : icon =" @mipmap/ic_launcher"
8- android : label =" @string/app_name"
99 android : supportsRtl =" true"
10+ android : label =" @string/app_name"
1011 android : theme =" @style/AppTheme" >
1112
1213 <activity
Original file line number Diff line number Diff line change 1+ package com .matpag .sample ;
2+
3+ import android .app .Application ;
4+
5+ import com .matpag .clickdrawabletextview .CsDrawableSettings ;
6+
7+ /**
8+ * Custom {@link Application} class
9+ *
10+ * Created by Mattia Pagini on 17/05/2017.
11+ */
12+ public class AppApplication extends Application {
13+
14+ @ Override
15+ public void onCreate () {
16+ super .onCreate ();
17+
18+ //Init the library
19+ CsDrawableSettings .init (this , BuildConfig .APPLICATION_ID );
20+ }
21+ }
You can’t perform that action at this time.
0 commit comments