Fix Typeface in MultiLinks Activity

Change gradle version
pull/1/head
Schoumi 5 years ago
parent 024e05f5ce
commit 119e0db37d
  1. 4
      app/src/main/java/fr/mobdev/goblim/activity/MultiLinkActivity.java
  2. 2
      build.gradle

@ -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…
Cancel
Save