diff --git a/app/src/main/assets/fonts/WorkSans-Regular.ttf b/app/src/main/assets/fonts/WorkSans-Regular.ttf new file mode 100755 index 000000000..ba11a2de8 Binary files /dev/null and b/app/src/main/assets/fonts/WorkSans-Regular.ttf differ diff --git a/app/src/main/java/fr/gouv/etalab/mastodon/drawers/StatusListAdapter.java b/app/src/main/java/fr/gouv/etalab/mastodon/drawers/StatusListAdapter.java index 87107f267..654490042 100644 --- a/app/src/main/java/fr/gouv/etalab/mastodon/drawers/StatusListAdapter.java +++ b/app/src/main/java/fr/gouv/etalab/mastodon/drawers/StatusListAdapter.java @@ -15,6 +15,7 @@ package fr.gouv.etalab.mastodon.drawers; * see . */ import android.graphics.Bitmap; +import android.graphics.Typeface; import android.os.Handler; import android.support.design.widget.FloatingActionButton; import android.support.v7.app.AlertDialog; @@ -567,6 +568,10 @@ public class StatusListAdapter extends BaseAdapter implements OnPostActionInterf } } } + + Typeface tf = Typeface.createFromAsset(context.getAssets(), "fonts/WorkSans-Regular.ttf"); + holder.status_content.setTypeface(tf); + //Toot was translated and user asked to see it if( status.isTranslationShown()){ holder.status_content.setVisibility(View.GONE);