Skip to content
This repository has been archived by the owner on Jan 13, 2018. It is now read-only.

Getting Started

jamesmontemagno edited this page Jul 14, 2012 · 9 revisions

It is easy to get started with MonoDroid.ActionBar.

After downloading the MonoDroid.ActionBar from GitHub you will want to integrate it into your existing project.

There are 2 main Directories that you will want to copy:

  1. ActionBar - contains core action bar framework files
  2. ActionBareBase - contains base activities that all activities should derive from

Besides that you will want to copy in all of the Resource files that MonoDroid.ActionBar uses:

  1. Drawable - buttons and required images
  • actionbar_back_indicator.png (from all drawable directories)
  • actionbar_background.xml
  • actionbar_btn.xml + actionbar_btn_pressed.xml + actionbar_btn_normal.xml
  • bottomactionbar_background.xml
  • bottomactionbar_btn.xml + bottomactionbar_btn_normal.xml + bottomactionbar_btn_pressed.xml
  • ic_overflow_dark.png (overflow icon, from all drawable directories)
  1. Layout -
  • ActionBar.axml
  • ActionBar_Item.axml
  • BlankSpinner.axml
  • OverflowActionBar_Item.axml
  • SpinnerItem.axml
  1. Values
  • Attrs.xml
  • Colors.xml
  • Dimens.xml (recommended you use all Value-x files)
  • Styles.xml

After importing all of these files you should be good go to. Now you should be able to do a Find and Replace All on "MonoDroid.ActionBarSample" and replace it with your namespace if you so desire.

Clone this wiki locally