diff --git a/CHANGELOG.md b/CHANGELOG.md index 72ea138..e9c8221 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,8 @@ # Change Log +## Version 2.1.1 (2015-11-13) +* Added the possibility to initialize TextViewFormItems or its descendants with a string resource Id + ## Version 2.1.0 (2015-11-13) * Added gravity to the form items * Now using Drawable tinting instead of a color filter to color the icons diff --git a/README.md b/README.md index bd63b8b..f24cf2e 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ To include this in your project, you can add it with Gradle by using [JitPack](h } dependencies { - compile 'com.github.jguerinet:form-generator:2.1.0' + compile 'com.github.jguerinet:form-generator:2.1.1' } To use this in your project, you can either build an instance of the `FormGenerator` with its custom `Builder`, customizing diff --git a/demo/src/main/java/com/guerinet/formgenerator/demo/MainActivity.java b/demo/src/main/java/com/guerinet/formgenerator/demo/MainActivity.java index dde831f..67cdef8 100644 --- a/demo/src/main/java/com/guerinet/formgenerator/demo/MainActivity.java +++ b/demo/src/main/java/com/guerinet/formgenerator/demo/MainActivity.java @@ -29,7 +29,7 @@ /** * MainActivity. Demonstrates the default behavior of the FormGenerator * @author Julien Guerinet - * @version 2.1.0 + * @version 2.1.1 * @since 1.0.0 */ public class MainActivity extends AppCompatActivity { diff --git a/library/build.gradle b/library/build.gradle index 52fcf0b..6830332 100644 --- a/library/build.gradle +++ b/library/build.gradle @@ -18,7 +18,7 @@ apply plugin: 'com.android.library' apply plugin: 'com.github.dcendents.android-maven' archivesBaseName="form-generator" -version = "2.1.0" +version = "2.1.1" android{ compileSdkVersion 23 @@ -27,7 +27,7 @@ android{ defaultConfig{ minSdkVersion 8 targetSdkVersion 23 - versionCode 8 + versionCode 9 versionName version } buildTypes{ diff --git a/library/library.iml b/library/library.iml index b88c791..3826d5f 100644 --- a/library/library.iml +++ b/library/library.iml @@ -1,5 +1,5 @@ - + diff --git a/library/src/main/java/com/guerinet/formgenerator/ButtonFormItem.java b/library/src/main/java/com/guerinet/formgenerator/ButtonFormItem.java index b3e4fb7..7df0cb1 100644 --- a/library/src/main/java/com/guerinet/formgenerator/ButtonFormItem.java +++ b/library/src/main/java/com/guerinet/formgenerator/ButtonFormItem.java @@ -29,7 +29,7 @@ /** * Builder for a {@link Button} form item * @author Julien Guerinet - * @version 2.1.0 + * @version 2.1.1 * @since 2.0.0 */ public class ButtonFormItem extends TextViewFormItem { diff --git a/library/src/main/java/com/guerinet/formgenerator/EditTextFormItem.java b/library/src/main/java/com/guerinet/formgenerator/EditTextFormItem.java index ab03c22..200c71d 100644 --- a/library/src/main/java/com/guerinet/formgenerator/EditTextFormItem.java +++ b/library/src/main/java/com/guerinet/formgenerator/EditTextFormItem.java @@ -30,7 +30,7 @@ /** * Builder for an input form item * @author Julien Guerinet - * @version 2.1.0 + * @version 2.1.1 * @since 2.0.0 */ public class EditTextFormItem extends TextViewFormItem { diff --git a/library/src/main/java/com/guerinet/formgenerator/FormGenerator.java b/library/src/main/java/com/guerinet/formgenerator/FormGenerator.java index b2f6345..3d7655d 100644 --- a/library/src/main/java/com/guerinet/formgenerator/FormGenerator.java +++ b/library/src/main/java/com/guerinet/formgenerator/FormGenerator.java @@ -30,7 +30,7 @@ /** * Creates various form items and adds them to a given container * @author Julien Guerinet - * @version 2.1.0 + * @version 2.1.1 * @since 1.0.0 */ public class FormGenerator { diff --git a/library/src/main/java/com/guerinet/formgenerator/FormItem.java b/library/src/main/java/com/guerinet/formgenerator/FormItem.java index d5bef64..1d35343 100644 --- a/library/src/main/java/com/guerinet/formgenerator/FormItem.java +++ b/library/src/main/java/com/guerinet/formgenerator/FormItem.java @@ -21,7 +21,7 @@ /** * Base Builder for all of the form items (except for line and space) * @author Julien Guerinet - * @version 2.1.0 + * @version 2.1.1 * @since 2.0.0 */ abstract class FormItem extends LineItem{ diff --git a/library/src/main/java/com/guerinet/formgenerator/Item.java b/library/src/main/java/com/guerinet/formgenerator/Item.java index 9523824..57de81d 100644 --- a/library/src/main/java/com/guerinet/formgenerator/Item.java +++ b/library/src/main/java/com/guerinet/formgenerator/Item.java @@ -21,7 +21,7 @@ /** * The base class for all items that could be present on a form * @author Julien Guerinet - * @version 2.1.0 + * @version 2.1.1 * @since 2.0.0 */ abstract class Item { diff --git a/library/src/main/java/com/guerinet/formgenerator/LineItem.java b/library/src/main/java/com/guerinet/formgenerator/LineItem.java index cdedd23..018f4e3 100644 --- a/library/src/main/java/com/guerinet/formgenerator/LineItem.java +++ b/library/src/main/java/com/guerinet/formgenerator/LineItem.java @@ -24,7 +24,7 @@ /** * Builder for a line. Base class for all classes * @author Julien Guerinet - * @version 2.1.0 + * @version 2.1.1 * @since 2.0.0 */ public class LineItem extends Item { diff --git a/library/src/main/java/com/guerinet/formgenerator/SpaceItem.java b/library/src/main/java/com/guerinet/formgenerator/SpaceItem.java index 2f285d8..c9d1ae2 100644 --- a/library/src/main/java/com/guerinet/formgenerator/SpaceItem.java +++ b/library/src/main/java/com/guerinet/formgenerator/SpaceItem.java @@ -24,7 +24,7 @@ /** * Builder for a space. * @author Julien Guerinet - * @version 2.1.0 + * @version 2.1.1 * @since 2.0.0 */ public class SpaceItem extends Item { diff --git a/library/src/main/java/com/guerinet/formgenerator/SwitchFormItem.java b/library/src/main/java/com/guerinet/formgenerator/SwitchFormItem.java index c93acc8..e9ed20e 100644 --- a/library/src/main/java/com/guerinet/formgenerator/SwitchFormItem.java +++ b/library/src/main/java/com/guerinet/formgenerator/SwitchFormItem.java @@ -31,7 +31,7 @@ /** * Builder for a {@link SwitchCompat} form item * @author Julien Guerinet - * @version 2.1.0 + * @version 2.1.1 * @since 2.0.0 */ public class SwitchFormItem extends TextViewFormItem { diff --git a/library/src/main/java/com/guerinet/formgenerator/TextViewFormItem.java b/library/src/main/java/com/guerinet/formgenerator/TextViewFormItem.java index 3f4b1c9..7018188 100644 --- a/library/src/main/java/com/guerinet/formgenerator/TextViewFormItem.java +++ b/library/src/main/java/com/guerinet/formgenerator/TextViewFormItem.java @@ -33,7 +33,7 @@ /** * Builder for a {@link TextView} form item (buttons, texts, and inputs) * @author Julien Guerinet - * @version 2.1.0 + * @version 2.1.1 * @since 2.0.0 */ public class TextViewFormItem extends FormItem {