Skip to content

7song/MinimalForm

 
 

Repository files navigation

MinimalForm

Simplistic, single input view form

ScreenShot

Image

Sample apk

Usage

  MinimalFormLayout mForm=(MinimalFormLayout)findViewById(R.id.form);
  mForm.build(List<String> titlelist);
  //mForm.build(List<String> titlelist,List<Integer> inputtype);
  //mForm.build(List<String> titlelist,List<Integer> inputtype,List<String> verify,List<String> errormsg);
  mForm.setOnSubmitListener(SubmitListener listener);
  mForm.setSuccessMsg("Thank you! We'll be in touch.");

###See the layout code

  • Add some view to minimalformlayout(TextView[1,2,3],EditText,ImageButton,ProgressBar)
  • Add the drawable for the progress bar like this
  • Add tag to a different TextView (title,validator,page)

and copy this into your libs directory.

License

Copyright 2014 litao.

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.

About

Simplistic, single input view form

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published