Android-Bootstrap
Android-Bootstrap copied to clipboard
edittext with icon not working in v2.0
I was using bootstrapedittext and bootstrapbutton with left aligned icons using bootstrap:bb_icon_left
but this doesn't work anymore. What is the equivalent of this in v2.0? couldn't find it in sample code.
try in this syntax
app:bootstrapText="{fa_play} Weight 2 {fa_group}"
@hyorkim11 It doesn't work for edittext but works for buttons.
This is a bug/oversight in BootstrapButton/EditText, it should be possible to provide left/right-aligned icons via Spans that aligns the text. EditText doesn't currently support icons, this might change when InputGroups are implemented. In the meantime you can try & emulate this by using a LinearLayout & AwesomeTextView.