Created
August 17, 2015 21:19
-
-
Save yaronv/d8217c55a6103a2f983f to your computer and use it in GitHub Desktop.
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
FloatingActionButton FAB = (FloatingActionButton) v.findViewById(R.id.fab); | |
FAB.setOnClickListener(new View.OnClickListener() { | |
@Override | |
public void onClick(View v) { | |
Intent intent = new Intent(getActivity(), AddAlarmActivity.class); | |
getActivity().startActivityForResult(intent, Constants.ADD_ALARM_REQUEST); | |
} | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment