Created
March 15, 2019 01:06
-
-
Save dario61081/7ce116e5743e8ced16909fe7bbb2d30b to your computer and use it in GitHub Desktop.
Como agregar en programacion el drawable y establecer padding.
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
textView.setText(getItem(position)); | |
// textView.setPadding(15,0,0,0); | |
textView.setCompoundDrawablePadding(20); | |
textView.setCompoundDrawablesRelativeWithIntrinsicBounds(R.drawable.mapa, 0,0,0); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment