diff --git a/AndroidBootstrap/src/main/java/com/beardedhen/androidbootstrap/api/view/ProgressView.java b/AndroidBootstrap/src/main/java/com/beardedhen/androidbootstrap/api/view/ProgressView.java
index 8c0b53e..c01e540 100644
--- a/AndroidBootstrap/src/main/java/com/beardedhen/androidbootstrap/api/view/ProgressView.java
+++ b/AndroidBootstrap/src/main/java/com/beardedhen/androidbootstrap/api/view/ProgressView.java
@@ -1,7 +1,5 @@
package com.beardedhen.androidbootstrap.api.view;
-import android.support.annotation.IntRange;
-
/**
* Views which implement this interface visually display ongoing progress to users
*/
@@ -57,7 +55,8 @@ public interface ProgressView {
/**
- * Used for settings the maxprogress. Also check if Cumulative progress is smaller than the max before asigning, see {@link #checkCumulativeSmallerThanMax}.
+ * Used for settings the maxprogress. Also check if Cumulative progress is smaller than the
+ * max before asigning.
* @param maxProgress the maxProgress value
*/
void setMaxProgress(int maxProgress);
diff --git a/AndroidBootstrap/src/main/java/com/beardedhen/androidbootstrap/font/MaterialIcons.java b/AndroidBootstrap/src/main/java/com/beardedhen/androidbootstrap/font/MaterialIcons.java
index dd4d88a..3c0fbdb 100644
--- a/AndroidBootstrap/src/main/java/com/beardedhen/androidbootstrap/font/MaterialIcons.java
+++ b/AndroidBootstrap/src/main/java/com/beardedhen/androidbootstrap/font/MaterialIcons.java
@@ -10,8 +10,6 @@
* See the link for icons
* . Please note that icon codes use underscores rather than hyphens in this
* library. All icons are prefixed with md_ EG: md_build.
- *
- * Most of this class is auto genarated by the project here.
*/
public class MaterialIcons implements IconSet {
diff --git a/build.gradle b/build.gradle
index d2f88c2..235868d 100644
--- a/build.gradle
+++ b/build.gradle
@@ -4,7 +4,7 @@ buildscript {
mavenCentral()
}
dependencies {
- classpath 'com.android.tools.build:gradle:2.1.0'
+ classpath 'com.android.tools.build:gradle:2.1.2'
}
}
diff --git a/gradle.properties b/gradle.properties
index 3800061..3d0e407 100644
--- a/gradle.properties
+++ b/gradle.properties
@@ -1,5 +1,5 @@
-VERSION_NAME=2.2.0
-VERSION_CODE=220
+VERSION_NAME=2.3.0
+VERSION_CODE=230
GROUP=com.beardedhen
POM_DESCRIPTION=Bootstrap style widgets for Android, with Glyph Icons
diff --git a/sample/build.gradle b/sample/build.gradle
index 552f5c5..74b53bf 100644
--- a/sample/build.gradle
+++ b/sample/build.gradle
@@ -29,6 +29,6 @@ dependencies {
compile project (':AndroidBootstrap') // replace with Maven dependency in your app
compile 'com.jakewharton:butterknife:7.0.1'
- compile 'com.android.support:appcompat-v7:23.3.0'
- compile 'com.android.support:support-annotations:23.3.0'
+ compile 'com.android.support:appcompat-v7:23.4.0'
+ compile 'com.android.support:support-annotations:23.4.0'
}
diff --git a/sample/src/main/java/com/fractalwrench/androidbootstrap/sample/HomeActivity.java b/sample/src/main/java/com/fractalwrench/androidbootstrap/sample/HomeActivity.java
index 5e7dfd9..b0fce5d 100644
--- a/sample/src/main/java/com/fractalwrench/androidbootstrap/sample/HomeActivity.java
+++ b/sample/src/main/java/com/fractalwrench/androidbootstrap/sample/HomeActivity.java
@@ -1,11 +1,10 @@
package com.fractalwrench.androidbootstrap.sample;
import android.content.Intent;
+import android.net.Uri;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
-import com.beardedhen.androidbootstrap.BootstrapProgressBarGroup;
-
import butterknife.ButterKnife;
import butterknife.OnClick;
@@ -17,6 +16,12 @@ public class HomeActivity extends AppCompatActivity {
ButterKnife.bind(this);
}
+ @OnClick(R.id.github_btn) void onGithubClicked() {
+ Intent intent = new Intent(Intent.ACTION_VIEW); startActivity(intent);
+ intent.setData(Uri.parse("https://github.com/Bearded-Hen/Android-Bootstrap"));
+ startActivity(intent);
+ }
+
@OnClick(R.id.example_bootstrap_button) void onBootstrapButtonExampleClicked() {
startActivity(new Intent(this, BootstrapButtonExample.class));
}
diff --git a/sample/src/main/res/layout/activity_main.xml b/sample/src/main/res/layout/activity_main.xml
index 5225429..3ecd1ea 100644
--- a/sample/src/main/res/layout/activity_main.xml
+++ b/sample/src/main/res/layout/activity_main.xml
@@ -2,6 +2,7 @@
@@ -9,81 +10,100 @@
-
+
+
+
+
-
-
-
+
+
-
-
-
-
-
-
-
-
+
+
-
-
+
+
+ android:text="BootstrapDropdown"
+ />
-
+ android:text="BootstrapAlert"
+ />
-
+ android:text="BootstrapBadge"
+ />
\ No newline at end of file
diff --git a/sample/src/main/res/values/styles.xml b/sample/src/main/res/values/styles.xml
index 409fa97..b83cb62 100644
--- a/sample/src/main/res/values/styles.xml
+++ b/sample/src/main/res/values/styles.xml
@@ -58,6 +58,11 @@