Fix Typeface in MultiLinks Activity
Change gradle version
This commit is contained in:
parent
024e05f5ce
commit
119e0db37d
2 changed files with 5 additions and 1 deletions
|
@ -22,6 +22,7 @@ import android.content.ClipboardManager;
|
|||
import android.content.DialogInterface;
|
||||
import android.content.Intent;
|
||||
import android.graphics.Bitmap;
|
||||
import android.graphics.Typeface;
|
||||
import android.support.v7.app.AlertDialog;
|
||||
import android.support.v7.app.AppCompatActivity;
|
||||
import android.os.Bundle;
|
||||
|
@ -73,6 +74,9 @@ public class MultiLinkActivity extends AppCompatActivity {
|
|||
tv.setText(generatedSharedLink);
|
||||
}
|
||||
};
|
||||
TextView link = (TextView) findViewById(R.id.link);
|
||||
Typeface typeface = Typeface.createFromAsset(getAssets(),"fonts/NotoSans-Regular.ttf");
|
||||
link.setTypeface(typeface);
|
||||
|
||||
//setup Adapter
|
||||
adapter = new MultiLinkAdapter(ids.length,selectionListener);
|
||||
|
|
|
@ -5,7 +5,7 @@ buildscript {
|
|||
jcenter()
|
||||
}
|
||||
dependencies {
|
||||
classpath 'com.android.tools.build:gradle:2.3.1'
|
||||
classpath 'com.android.tools.build:gradle:2.3.3'
|
||||
|
||||
// NOTE: Do not place your application dependencies here; they belong
|
||||
// in the individual module build.gradle files
|
||||
|
|
Loading…
Reference in a new issue