Created
January 31, 2014 19:16
-
-
Save arianimartins/8741027 to your computer and use it in GitHub Desktop.
Criação de Button em XML e Estilo
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
<!-- No layout onde voce deseja inserir o botão, o mesmo deve ser chamado no atributo "Style" --> | |
<Button | |
android:id="@+id/btn_entrar" | |
style= "@style/nomeEstiloBotao" | |
android:layout_width="wrap_content" | |
android:layout_height="wrap_content" | |
android:layout_centerHorizontal="true" | |
android:layout_centerVertical="true" | |
android:text="@string/texto" | |
android:textSize="40sp" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment