标签:android http 使用 io for art cti ar
<!-- rounded edit text -->
<com.beardedhen.androidbootstrap.BootstrapEditText
android:id="@+id/txtOne"
android:layout_width="150dp"
android:layout_height="wrap_content"
android:layout_margin="10dp"
android:hint="rounded"
bootstrapbutton:be_roundedCorners="true"
android:gravity="center"
bootstrapbutton:be_state="success"
/>
The above code inserts a rounded bootstrap edit text with the state set to be succesfull. The following attributes can be added:
bootstrapbutton:be_state="success"
The state of the Bootstrap Edit Text e.g. warning, danger, success. Leave blank for default state.
bootstrapbutton:be_roundedCorners="true"
Whether the Bootstrap Edit Text should have rounded corners
txtItem.setEnabled(false);
change whether the edit text is enabled or disabled!
txtItem.setState("default");
change the state of the Bootstrap Edit Text from warning, danger, success, or default.
txtItem.setSuccess();
change the state of the Bootstrap Edit Text to success
txtItem.setWarning();
change the state of the Bootstrap Edit Text to warning
txtItem.setDanger();
change the state of the Bootstrap Edit Text to danger
txtItem.setDefault();
change the state of the Bootstrap Edit Text to default
Bootstrap Edit 使用方法,布布扣,bubuko.com
标签:android http 使用 io for art cti ar
原文地址:http://www.cnblogs.com/boundary/p/3880760.html