Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Bootstrap style buttons with Font Awesome
Java
Branch: master

README.md

Android-Bootstrap

alt text

Getting Started

Maven Central

Gradle

Add the following to your build.gradle:

dependencies {
   compile 'com.beardedhen:androidbootstrap:+'
}

Library Project

Alternatively you can download the source and link to it as a library project in Eclipse, or import as a module in Android Studio.

Sample Code

Please checkout the sample project, as it contains example code for most usecases.

Usage

  1. Paste the following XML into a layout file to create a BootstrapButton:

    <!-- basic button -->
    <com.beardedhen.androidbootstrap.BootstrapButton
    android:layout_width="wrap_content"
    android:layout_height="wrap_content"
    android:layout_margin="10dp"
    android:text="Success"
    bootstrap:bb_icon_right="fa-android"
    bootstrap:bb_type="success"
    />
  2. Add the bootstrap namespace to the root view of your layout:

    xmlns:bootstrap="http://schemas.android.com/apk/res-auto"
  3. Build and run the app.

More Information

Feel free to inspect the library source or look at the [wiki] for further information(https://github.com/Bearded-Hen/Android-Bootstrap/wiki):

If you have any questions, issues, or just want to let us know where you're using Android Bootstrap tweet us at @BeardedHen, email support@beardedhen.com, or head over to our website to see more of our creations.

Apps Using Android-Bootstrap

Features

  • Uses min SDK 7 which is Android 2.1 (Tested on a device running Android 2.2)
  • Bootstrap buttons as per Bootstrap v3
  • Rounded buttons
  • Disabled buttons
  • Various sized buttons (large to extra small)
  • Just text buttons
  • Left, right, left and right, or just icon button
  • Font Awesome text as per Font Awesome v4.3
  • Animations to Font Awesome Text items
  • EditText backgrounds and states

Bootstrap Buttons

alt text

Rounded Bootstrap Button

alt text

Others

alt text

Sizes

alt text

Disabled

alt text

Font Awesome Text

alt text

EditText

alt text

Rounded Edit text alt text

Thumbnail Square alt text

Thumbnails Rounded alt text

Thumbnails Rounded alt text

Circle Thumbnails alt text

Circle Thumbnails Minimal alt text

Something went wrong with that request. Please try again.