tags:

views:

18

answers:

1

how to get font from the previous activity on current activity on canvas

A: 

You can pass information from one activity to the next using the extras in the intent used to start the 2nd activity.

Intent intent = new Intent(...)
intent.putExtra("font", myFont);

Then in onCreate for the 2nd activity

Font myFont = getIntent().getSerializableExtra("font");
Mayra
Thanks mayra...
shripal
No problem. If this works for you, you can mark it as the answer by hitting the checkbox on the left.
Mayra