{"id":21130320,"url":"https://github.com/JakeWharton/HanselAndGretel","last_synced_at":"2025-07-09T01:33:12.026Z","repository":{"id":2102805,"uuid":"3044060","full_name":"JakeWharton/HanselAndGretel","owner":"JakeWharton","description":"Android library providing bread crumbs to the support library fragments.","archived":true,"fork":false,"pushed_at":"2012-10-06T07:11:30.000Z","size":1243,"stargazers_count":160,"open_issues_count":2,"forks_count":55,"subscribers_count":15,"default_branch":"master","last_synced_at":"2024-05-09T09:12:14.780Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/JakeWharton.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2011-12-24T07:45:02.000Z","updated_at":"2024-03-20T08:31:40.000Z","dependencies_parsed_at":"2022-08-29T00:20:32.829Z","dependency_job_id":null,"html_url":"https://github.com/JakeWharton/HanselAndGretel","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeWharton%2FHanselAndGretel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeWharton%2FHanselAndGretel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeWharton%2FHanselAndGretel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JakeWharton%2FHanselAndGretel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JakeWharton","download_url":"https://codeload.github.com/JakeWharton/HanselAndGretel/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225476370,"owners_count":17480215,"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":[],"created_at":"2024-11-20T05:32:36.289Z","updated_at":"2024-11-20T05:32:44.660Z","avatar_url":"https://github.com/JakeWharton.png","language":"Java","funding_links":[],"categories":["Libs"],"sub_categories":["\u003cA NAME=\"Widget\"\u003e\u003c/A\u003eWidget"],"readme":"Hansel And Gretel\n=================\n\nAndroid library providing bread crumbs for compatibility fragments.\n\n\n\nUsage\n=====\n\n*For a working implementation of this project see the `sample/` folder.*\n\n 1. Include the widget in your view. This should usually be placed directly\n    above the container in which the associated fragments will be displayed.\n    \n        \u003candroid.support.v4.app.FragmentBreadCrumbs\n            android:id=\"@+id/breadcrumbs\"\n            android:layout_width=\"fill_parent\"\n            android:layout_height=\"40dp\" /\u003e\n    \n 2. In your `onCreate` method, bind the widget to the activity.\n    \n        FragmentBreadCrumbs crumbs = (FragmentBreadCrumbs)findViewById(R.id.breadcrumbs);\n        crumbs.setActivity(this);\n    \n 3. Add the required style attributes to your theme.\n    \n        \u003citem name=\"hagDividerVertical\"\u003e@drawable/hag__divider_dark\u003c/item\u003e\n        \u003citem name=\"hagSelectableItemBackground\"\u003e@drawable/hag__background_dark\u003c/item\u003e\n    \n    or\n    \n        \u003citem name=\"hagDividerVertical\"\u003e@drawable/hag__divider_dark\u003c/item\u003e\n        \u003citem name=\"hagSelectableItemBackground\"\u003e@drawable/hag__background_dark\u003c/item\u003e\n    \n    or specify your own drawables for the divider and background.\n    \n 4. *(Optional)* Set the title of the initial view. This can be useful when the\n    initial activity view has a default fragment.\n    \n        //continued from above\n        crumbs.setTitle(\"Settings\", null);\n\n\nIncluding In Your Project\n-------------------------\n\nThe HanselAndGretel library is presented as an Android library project. A\nstandalone JAR is not possible due to the theming capabilities offered by the\nwidget.\n\nYou can include this project by [referencing it as a library project[1] in\nEclipse or ant.\n\nIf you are a Maven user you can easily include the library by specifying it as\na dependency:\n\n    \u003cdependency\u003e\n      \u003cgroupId\u003ecom.jakewharton\u003c/groupId\u003e\n      \u003cartifactId\u003ehanselandgretel\u003c/artifactId\u003e\n      \u003cversion\u003e1.0.2\u003c/version\u003e\n      \u003ctype\u003eapklib\u003c/type\u003e\n    \u003c/dependency\u003e\n\nThis project depends on the `Fragment` classes which are available in the\n[Android Support Library][2].\n\n\n\nDeveloped By\n============\n\n* Jake Wharton - \u003cjakewharton@gmail.com\u003e\n\n\n\nLicense\n=======\n\n    Copyright 2012 Jake Wharton\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n\n\n\n [1]: http://developer.android.com/guide/developing/projects/projects-eclipse.html#ReferencingLibraryProject\n [2]: http://developer.android.com/sdk/compatibility-library.html\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJakeWharton%2FHanselAndGretel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FJakeWharton%2FHanselAndGretel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FJakeWharton%2FHanselAndGretel/lists"}