I have an activity in which I associate data with another activity. With this data, I will also associate a custom color that I would like to have on the bottom line of the EditText shown in step 2.
Action 1:
Bundle bundle = new Bundle();
bundle.putExtra("Color", color);
Action 2:
int value = getIntent().getExtras().getInt(Color)
Now, can I change the color of the EditText programmatically when I receive the package from activity 1? If you can help me, I would be very grateful.
source
share