BiuEditText
biu?biu??????EditText
????????? activate-power-mode???????????????????????????????BiuEditText?????activate-power-mode????????????????????????
????????????pr???????
?????
and
Usage
Step 1
Install with gradle
dependencies {
compile 'com.xujinyang.BiuEditText:library:1.4.1'
}
Step 2
<me.james.biuedittext.BiuEditText
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:hint="biu,biu,??1?"
android:textColor="@android:color/white"
app:biu_duration="800"
app:biu_text_color="@android:color/white"
app:biu_text_scale="1.5"
app:biu_type="flydown"
app:biu_text_start_size="12sp" />
####attrs:
?? | ?? | ?? |
---|---|---|
biu_duration | int | ???? |
biu_text_color | color | ????????? |
biu_text_start_size | dimension | ?????? |
biu_text_scale | float | ?????? |
biu_type | String | ?????flyDown?flyup |
Step 3
public class MainActivity extends AppCompatActivity {
private BiuEditText editText;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_main);
editText = (BiuEditText) findViewById(R.id.biucontainer);
}
}
License
BiuEditText is opensource, contribution and feedback are welcomed
Copyright 2015 Supercharge Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.