Browse Source

Fix Typeface in MultiLinks Activity

Change gradle version
tags/release-v2.7
Schoumi 2 years ago
parent
commit
119e0db37d

+ 4
- 0
app/src/main/java/fr/mobdev/goblim/activity/MultiLinkActivity.java View File

@@ -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);

+ 1
- 1
build.gradle View File

@@ -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