Created
January 21, 2019 19:00
-
-
Save haxzie-xx/fc32669bd352317c64837098d3acf680 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { | |
super.onCreateView(inflater, container, savedInstanceState); | |
View view = inflater.inflate(R.layout.layout_full_screen_dialog, container, false); | |
Toolbar toolbar = view.findViewById(R.id.toolbar); | |
toolbar.setNavigationIcon(R.drawable.ic_close_white_24dp); | |
toolbar.setNavigationOnClickListener(view1 -> cancelUpload()); | |
toolbar.setTitle("My Dialog"); | |
return view; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment