mardi 5 mai 2015

how to change EditText bottom line programmatically

I have the activity in which i bundle data to another activity. From these data i also bundle custom color that i would like to have bottom line of EditText shown in activity 2.

Activity 1:

Bundle bundle = new Bundle();
bundle.putExtra("Color", color);

Activity 2:

int value = getIntent().getExtras().getInt(Color)

Now, can i change the color of EditText in programmatically way when i get the bundle from activity 1. If you can help me with that i would be really grateful

Aucun commentaire:

Enregistrer un commentaire