{"id":15031634,"url":"https://github.com/bearded-hen/android-bootstrap","last_synced_at":"2025-05-13T23:09:54.831Z","repository":{"id":11560269,"uuid":"14046563","full_name":"Bearded-Hen/Android-Bootstrap","owner":"Bearded-Hen","description":"Bootstrap style widgets for Android, with Glyph Icons","archived":false,"fork":false,"pushed_at":"2021-09-02T06:14:15.000Z","size":11507,"stargazers_count":7278,"open_issues_count":33,"forks_count":1420,"subscribers_count":385,"default_branch":"master","last_synced_at":"2025-04-10T16:43:36.277Z","etag":null,"topics":["android","android-animated-icons","android-bootstrap","android-library","android-ui","bootstrap-brands","glyph-icons","java","twitter-bootstrap-specification","widget"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Bearded-Hen.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-01T15:36:17.000Z","updated_at":"2025-03-24T20:53:45.000Z","dependencies_parsed_at":"2022-08-09T09:15:19.347Z","dependency_job_id":null,"html_url":"https://github.com/Bearded-Hen/Android-Bootstrap","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bearded-Hen%2FAndroid-Bootstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bearded-Hen%2FAndroid-Bootstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bearded-Hen%2FAndroid-Bootstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Bearded-Hen%2FAndroid-Bootstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Bearded-Hen","download_url":"https://codeload.github.com/Bearded-Hen/Android-Bootstrap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254042311,"owners_count":22004898,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["android","android-animated-icons","android-bootstrap","android-library","android-ui","bootstrap-brands","glyph-icons","java","twitter-bootstrap-specification","widget"],"created_at":"2024-09-24T20:16:13.660Z","updated_at":"2025-05-13T23:09:49.804Z","avatar_url":"https://github.com/Bearded-Hen.png","language":"Java","readme":"Android-Bootstrap\n=================\nAndroid Bootstrap is an Android library which provides custom views styled according to the\n [Twitter Bootstrap Specification](http://getbootstrap.com/). This allows you to spend more time\n  on development rather than trying to get a consistent theme across your app, especially if you are already familiar with the Bootstrap Framework.\n  \nQuick Start\n===========\n [![Maven Central](https://maven-badges.herokuapp.com/maven-central/com.beardedhen/androidbootstrap/badge.svg)](https://maven-badges.herokuapp.com/maven-central/com.beardedhen/androidbootstrap)\n [![CircleCI](https://circleci.com/gh/Bearded-Hen/Android-Bootstrap/tree/develop.svg?style=shield)](https://circleci.com/gh/Bearded-Hen/Android-Bootstrap/tree/develop)\n \u003ca href=\"http://www.methodscount.com/?lib=com.beardedhen%3Aandroidbootstrap%3A%2B\"\u003e\u003cimg src=\"https://img.shields.io/badge/Methods and size-core: 913 | deps: 10417 | 431 KB-e91e63.svg\"/\u003e\u003c/a\u003e\n \n Add the following dependency to your build.gradle, ensuring you replace 'X.X.X' with the latest version on the button above:\n \n ```java\n dependencies {\n    compile 'com.beardedhen:androidbootstrap:{X.X.X}'\n }\n ```\n \n You should also override your application class with the following:\n \n ```java\n public class SampleApplication extends Application {\n     @Override public void onCreate() {\n         super.onCreate();\n         TypefaceProvider.registerDefaultIconSets();\n     }\n }\n ```\n \n You should then checkout the library and investigate the sample code, which covers most of the features.\n The sample app is also available on [Google Play](https://play.google.com/store/apps/details?id=com.fractalwrench.androidbootstrap.sample).\n \nSupport\n==============\nIf you have a question about how to use the project, please ask a question on [StackOverflow](http://stackoverflow.com/questions/tagged/android-bootstrap-widgets), using the tag **android-bootstrap-widgets**.\n\nIf you think you have found a bug in the library, you should [create a new issue](https://github.com/Bearded-Hen/Android-Bootstrap/issues/new) instead.\n \nJavadoc\n============\nThe javadoc for the project is hosted on [Github](http://bearded-hen.github.io/Android-Bootstrap/).\n\nExamples\n============\n\n### BootstrapButton\nA button that supports Glyph icons, and is themeable using Bootstrap Brands.\n   ```xml\n\u003ccom.beardedhen.androidbootstrap.BootstrapButton\n    android:layout_width=\"wrap_content\"\n    android:layout_height=\"wrap_content\"\n    android:text=\"BootstrapButton\"\n    app:bootstrapBrand=\"success\"\n    app:bootstrapSize=\"lg\"\n    app:buttonMode=\"regular\"\n    app:showOutline=\"false\"\n    app:roundedCorners=\"true\"\n    /\u003e\n```\n\u003cimg src=\"https://raw.github.com/Bearded-Hen/Android-Bootstrap/master/images/bootstrap_button.png\" width=\"450\" alt=\"BootstrapButton\"\u003e\n\n###BootstrapButtonGroup\nAllows BootstrapButtons to be grouped together and their attributes controlled en masse.\n   ```xml\n\u003ccom.beardedhen.androidbootstrap.BootstrapButtonGroup\n    android:layout_width=\"wrap_content\"\n    android:layout_height=\"wrap_content\"\n    android:text=\"BootstrapButtonGroup\"\n    android:orientation=\"vertical\"\n    app:bootstrapBrand=\"success\"\n    app:bootstrapSize=\"lg\"\n    app:roundedCorners=\"true\"\n    \u003e\n    \u003ccom.beardedhen.androidbootstrap.BootstrapButton\n       android:layout_width=\"wrap_content\"\n       android:layout_height=\"wrap_content\"\n       android:text=\"BootstrapButton 1\"\n       /\u003e\n    \u003ccom.beardedhen.androidbootstrap.BootstrapButton\n       android:layout_width=\"wrap_content\"\n       android:layout_height=\"wrap_content\"\n       android:text=\"BootstrapButton 2\"\n       /\u003e\n\u003c/com.beardedhen.androidbootstrap.BootstrapButtonGroup\u003e\n```\n\u003cimg src=\"https://raw.github.com/Bearded-Hen/Android-Bootstrap/master/images/bootstrap_button_group.png\" width=\"450\" alt=\"BootstrapButtonGroup\"\u003e\n\n\n### AwesomeTextView\nA text widget that displays Glyph icons, and is themeable using Bootstrap Brands.\n   ```xml\n\u003ccom.beardedhen.androidbootstrap.AwesomeTextView\n    android:layout_width=\"wrap_content\"\n    android:layout_height=\"wrap_content\"\n    app:bootstrapBrand=\"success\"\n    app:fontAwesomeIcon=\"fa_android\"\n    /\u003e\n```\n\u003cimg src=\"https://raw.github.com/Bearded-Hen/Android-Bootstrap/master/images/awesome_text_view.png\" width=\"450\" alt=\"AwesomeTextView\"\u003e\n\n###BootstrapProgressBar\nDisplays progress in a bar from 0-100, and animates updates to the current progress.\n   ```xml\n\u003ccom.beardedhen.androidbootstrap.BootstrapProgressBar\n    android:layout_width=\"wrap_content\"\n    android:layout_height=\"wrap_content\"\n    app:animated=\"true\"\n    app:bootstrapBrand=\"warning\"\n    app:progress=\"78\"\n    app:striped=\"true\"\n    /\u003e\n```\n\u003cimg src=\"https://raw.github.com/Bearded-Hen/Android-Bootstrap/master/images/bootstrap_progress_bar.png\" width=\"450\" alt=\"BootstrapProgressBar\"\u003e\n\n### BootstrapProgressBarGroup\nAllows BootstrapProgressBars to be group together to have the effect of \u003ca href=\"http://getbootstrap.com/components/#progress-stacked\"\u003estacked progress bar\u003c/a\u003e.\n   ```xml\n        \u003ccom.beardedhen.androidbootstrap.BootstrapProgressBarGroup\n            android:id=\"@+id/example_progress_bar_group_round_group\"\n            android:layout_width=\"match_parent\"\n            android:layout_height=\"wrap_content\"\n            android:layout_gravity=\"center_vertical\"\n            app:bootstrapSize=\"md\"\n            app:bootstrapMaxProgress=\"100\"\u003e\n\n            \u003ccom.beardedhen.androidbootstrap.BootstrapProgressBar\n                android:layout_width=\"0dp\"\n                android:layout_height=\"wrap_content\"\n                app:bootstrapBrand=\"success\"\n                app:bootstrapProgress=\"20\"\n                /\u003e\n\n            \u003ccom.beardedhen.androidbootstrap.BootstrapProgressBar\n                android:layout_width=\"0dp\"\n                android:layout_height=\"wrap_content\"\n                app:bootstrapBrand=\"danger\"\n                app:bootstrapProgress=\"20\"\n                /\u003e\n\n            \u003c/com.beardedhen.androidbootstrap.BootstrapProgressBarGroup\u003e\n```\n\u003cimg src=\"https://raw.github.com/Bearded-Hen/Android-Bootstrap/master/images/bootstrap_progress_bar_group.png\" width=\"450\" alt=\"BootstrapProgressBarGroup\"\u003e\n\n###BootstrapLabel\nDisplays non-clickable text in a widget similar to the BootstrapButton, sizable using H1-H6 elements.\n   ```xml\n\u003ccom.beardedhen.androidbootstrap.BootstrapLabel\n    android:layout_width=\"wrap_content\"\n    android:layout_height=\"wrap_content\"\n    app:bootstrapBrand=\"primary\"\n    app:bootstrapHeading=\"h3\"\n    app:roundedCorners=\"true\"\n    android:text=\"Bootstrap Label\"\n    /\u003e\n```\n\u003cimg src=\"https://raw.github.com/Bearded-Hen/Android-Bootstrap/master/images/bootstrap_label.png\" width=\"450\" alt=\"BootstrapLabel\"\u003e\n\n### BootstrapEditText\nAllows editing of text in a widget themed using BootstrapBrand.\n   ```xml\n\u003ccom.beardedhen.androidbootstrap.BootstrapEditText\n    android:layout_width=\"wrap_content\"\n    android:layout_height=\"wrap_content\"\n    app:bootstrapSize=\"md\"\n    app:bootstrapBrand=\"info\"\n    /\u003e\n```\n\u003cimg src=\"https://raw.github.com/Bearded-Hen/Android-Bootstrap/master/images/bootstrap_edit_text.png\" width=\"450\" alt=\"BootstrapEditText\"\u003e\n\n###BootstrapCircleThumbnail\nDisplays images in a center-cropped Circular View, themed with BootstrapBrand.\n   ```xml\n\u003ccom.beardedhen.androidbootstrap.BootstrapCircleThumbnail\n    android:layout_width=\"wrap_content\"\n    android:layout_height=\"wrap_content\"\n    android:src=\"@drawable/my_drawable\"\n    app:bootstrapBrand=\"danger\"\n    app:hasBorder=\"true\"\n    /\u003e\n```\n\u003cimg src=\"https://raw.github.com/Bearded-Hen/Android-Bootstrap/master/images/bootstrap_circle_thumbnail.png\" width=\"450\" alt=\"BootstrapCircleThumbnail\"\u003e\n\n### BootstrapThumbnail\nDisplays images in a rectangular View, themed with BootstrapBrand.\n   ```xml\n\u003ccom.beardedhen.androidbootstrap.BootstrapThumbnail\n    android:layout_width=\"wrap_content\"\n    android:layout_height=\"wrap_content\"\n    android:src=\"@drawable/my_drawable\"\n    app:bootstrapBrand=\"info\"\n    app:hasBorder=\"true\"\n    /\u003e\n```\n\u003cimg src=\"https://raw.github.com/Bearded-Hen/Android-Bootstrap/master/images/bootstrap_thumbnail.png\" width=\"450\" alt=\"BootstrapThumbnail\"\u003e\n\n###BootstrapWell\nDisplays a view in a themed container.\n\n```xml\n\u003ccom.beardedhen.androidbootstrap.BootstrapWell\n        android:layout_width=\"match_parent\"\n        android:layout_height=\"wrap_content\"\n        android:layout_gravity=\"center\"\n        android:layout_margin=\"8dp\"\n        app:bootstrapSize=\"xl\"\u003e\n\n        \u003cTextView\n            android:layout_width=\"wrap_content\"\n            android:layout_height=\"wrap_content\"\n            android:gravity=\"right\"\n            android:text=\"Look, I'm in a large well!\"\n            /\u003e\n    \u003c/com.beardedhen.androidbootstrap.BootstrapWell\u003e\n```\n\u003cimg src=\"https://raw.github.com/Bearded-Hen/Android-Bootstrap/master/images/bootstrap_well.png\" width=\"450\" alt=\"BootstrapWell\"\u003e\n\n\n###BootstrapDropDown\nDisplays a view with dropdown options, supplied by an array of strings.\n\n```xml\n\u003ccom.beardedhen.androidbootstrap.BootstrapDropDown\n                android:layout_width=\"wrap_content\"\n                android:layout_height=\"wrap_content\"\n                android:layout_marginLeft=\"8dp\"\n                app:bootstrapText=\"Medium {fa_thumbs_o_up}\"\n                app:bootstrapBrand=\"regular\"\n                app:roundedCorners=\"true\"\n                app:bootstrapSize=\"md\"\n                app:dropdownResource=\"@array/bootstrap_dropdown_example_data\"\n                app:bootstrapExpandDirection=\"down\"/\u003e\n```\n\u003cimg src=\"https://raw.github.com/Bearded-Hen/Android-Bootstrap/master/images/bootstrap_dropdown.png\" width=\"450\" alt=\"BootstrapDropdown\"\u003e\n\n Custom Styles\n============\nCustom styles can be applied to any of the views in this library by creating a class which implements\nBootstrapBrand, and setting it on the View. Please see the sample code of BootstrapButton for more detail.\n\n ```java\n\n     class CustomBootstrapStyle implements BootstrapBrand {\n         // specify desired colors here\n     }\n\n     BootstrapButton btn = new BootstrapButton(context);\n     btn.setBootstrapBrand(new CustomBootstrapStyle(this);\n ```\n\n\n\n\nContributing\n============\nContributions are very welcome! There are 3 main ways you can help out:\n\n1. Add more Icon Typefaces, using the instructions [here](https://github.com/Bearded-Hen/Android-Bootstrap/blob/master/ADD_FONT.md)\n2. Help implement views which are present in the  [Twitter Bootstrap Specification](http://getbootstrap.com/) but are not yet in this library.\n3. Raise an issue if you see a bug or are unsure on how something works, or even better - send a pull-request with a fix!\n\nVersioning\n==========\nThis project uses [Semantic Versioning](http://semver.org/). There are several breaking changes in V2.X of the library, including:\n\n- AwesomeTextView replaces FontAwesomeText\n- Various altered method signatures/attributes for views\n- Global BootstrapBrand/BootstrapSize attributes replace view-specific enums\n\nPlease consider what effect these changes might have on your app before upgrading!\n\nContact\n=======\nIf you have any questions, issues, or just want to let us know where you're using Android Bootstrap\n tweet us at [@BeardedHen](https://twitter.com/beardedhen), email support@beardedhen.com,\n  or head over to our [website](http://beardedhen.com/) to see more of our creations.\n\nHall of Fame\n======\nCheckout [AppBrain](http://www.appbrain.com/stats/libraries/details/androidbootstrap/android-bootstrap) to see some of the apps which use Android Bootstrap!\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbearded-hen%2Fandroid-bootstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbearded-hen%2Fandroid-bootstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbearded-hen%2Fandroid-bootstrap/lists"}