Last active
December 20, 2015 14:49
-
-
Save tatuas/6150022 to your computer and use it in GitHub Desktop.
Android SDKのAdapterView.SetOnItemClickListenerから
ActivityのViewパーツをさわる
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override | |
public void onItemClick(AdapterView<?> parent, View view, int position, | |
long id) { | |
Button button1 = (Button) parent.getRootView().findViewById(R.id.button1); | |
button1.setTextColor(android.graphics.Color.RED); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment