Switch the downloader to an ActionBar Tab
And hopefully finish up cleaning up the bin/ and gen/ folders...
@ -1,31 +1,35 @@
 | 
			
		||||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    package="org.bspeice.minimalbible"
 | 
			
		||||
    android:versionCode="1"
 | 
			
		||||
    android:versionName="1.0" >
 | 
			
		||||
 | 
			
		||||
    <uses-sdk
 | 
			
		||||
        android:minSdkVersion="8"
 | 
			
		||||
        android:targetSdkVersion="19" />
 | 
			
		||||
 | 
			
		||||
    <application
 | 
			
		||||
        android:allowBackup="true"
 | 
			
		||||
        android:icon="@drawable/ic_launcher"
 | 
			
		||||
        android:label="@string/app_name"
 | 
			
		||||
        android:theme="@style/AppTheme" >
 | 
			
		||||
        <activity
 | 
			
		||||
            android:name="org.bspeice.minimalbible.BibleViewer"
 | 
			
		||||
            android:label="@string/app_name" >
 | 
			
		||||
            <intent-filter>
 | 
			
		||||
                <action android:name="android.intent.action.MAIN" />
 | 
			
		||||
 | 
			
		||||
                <category android:name="android.intent.category.LAUNCHER" />
 | 
			
		||||
            </intent-filter>
 | 
			
		||||
        </activity>
 | 
			
		||||
        <activity
 | 
			
		||||
            android:name="org.bspeice.minimalbible.activities.downloader.DownloaderActivity"
 | 
			
		||||
            android:label="@string/title_activity_downloader" >
 | 
			
		||||
        </activity>
 | 
			
		||||
    </application>
 | 
			
		||||
 | 
			
		||||
</manifest>
 | 
			
		||||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    package="org.bspeice.minimalbible"
 | 
			
		||||
    android:versionCode="1"
 | 
			
		||||
    android:versionName="1.0" >
 | 
			
		||||
 | 
			
		||||
    <uses-sdk
 | 
			
		||||
        android:minSdkVersion="8"
 | 
			
		||||
        android:targetSdkVersion="19" />
 | 
			
		||||
 | 
			
		||||
    <application
 | 
			
		||||
        android:allowBackup="true"
 | 
			
		||||
        android:icon="@drawable/ic_launcher"
 | 
			
		||||
        android:label="@string/app_name"
 | 
			
		||||
        android:theme="@style/AppTheme" >
 | 
			
		||||
        <activity
 | 
			
		||||
            android:name="org.bspeice.minimalbible.BibleViewer"
 | 
			
		||||
            android:label="@string/app_name" >
 | 
			
		||||
            <intent-filter>
 | 
			
		||||
                <action android:name="android.intent.action.MAIN" />
 | 
			
		||||
 | 
			
		||||
                <category android:name="android.intent.category.LAUNCHER" />
 | 
			
		||||
            </intent-filter>
 | 
			
		||||
        </activity>
 | 
			
		||||
        <activity
 | 
			
		||||
            android:name="org.bspeice.minimalbible.activities.downloader.DownloaderActivityOld"
 | 
			
		||||
            android:label="@string/title_activity_downloader" >
 | 
			
		||||
        </activity>
 | 
			
		||||
        <activity
 | 
			
		||||
            android:name="org.bspeice.minimalbible.activities.downloader.DownloaderActivity"
 | 
			
		||||
            android:label="@string/title_activity_downloader" >
 | 
			
		||||
        </activity>
 | 
			
		||||
    </application>
 | 
			
		||||
 | 
			
		||||
</manifest>
 | 
			
		||||
 | 
			
		||||
@ -1,31 +0,0 @@
 | 
			
		||||
<?xml version="1.0" encoding="utf-8"?>
 | 
			
		||||
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    package="org.bspeice.minimalbible"
 | 
			
		||||
    android:versionCode="1"
 | 
			
		||||
    android:versionName="1.0" >
 | 
			
		||||
 | 
			
		||||
    <uses-sdk
 | 
			
		||||
        android:minSdkVersion="8"
 | 
			
		||||
        android:targetSdkVersion="19" />
 | 
			
		||||
 | 
			
		||||
    <application
 | 
			
		||||
        android:allowBackup="true"
 | 
			
		||||
        android:icon="@drawable/ic_launcher"
 | 
			
		||||
        android:label="@string/app_name"
 | 
			
		||||
        android:theme="@style/AppTheme" >
 | 
			
		||||
        <activity
 | 
			
		||||
            android:name="org.bspeice.minimalbible.BibleViewer"
 | 
			
		||||
            android:label="@string/app_name" >
 | 
			
		||||
            <intent-filter>
 | 
			
		||||
                <action android:name="android.intent.action.MAIN" />
 | 
			
		||||
 | 
			
		||||
                <category android:name="android.intent.category.LAUNCHER" />
 | 
			
		||||
            </intent-filter>
 | 
			
		||||
        </activity>
 | 
			
		||||
        <activity
 | 
			
		||||
            android:name="org.bspeice.minimalbible.activities.downloader.DownloaderActivity"
 | 
			
		||||
            android:label="@string/title_activity_downloader" >
 | 
			
		||||
        </activity>
 | 
			
		||||
    </application>
 | 
			
		||||
 | 
			
		||||
</manifest>
 | 
			
		||||
@ -1,597 +0,0 @@
 | 
			
		||||
int anim abc_fade_in 0x7f040000
 | 
			
		||||
int anim abc_fade_out 0x7f040001
 | 
			
		||||
int anim abc_slide_in_bottom 0x7f040002
 | 
			
		||||
int anim abc_slide_in_top 0x7f040003
 | 
			
		||||
int anim abc_slide_out_bottom 0x7f040004
 | 
			
		||||
int anim abc_slide_out_top 0x7f040005
 | 
			
		||||
int attr actionBarDivider 0x7f01000b
 | 
			
		||||
int attr actionBarItemBackground 0x7f01000c
 | 
			
		||||
int attr actionBarSize 0x7f01000a
 | 
			
		||||
int attr actionBarSplitStyle 0x7f010008
 | 
			
		||||
int attr actionBarStyle 0x7f010007
 | 
			
		||||
int attr actionBarTabBarStyle 0x7f010004
 | 
			
		||||
int attr actionBarTabStyle 0x7f010003
 | 
			
		||||
int attr actionBarTabTextStyle 0x7f010005
 | 
			
		||||
int attr actionBarWidgetTheme 0x7f010009
 | 
			
		||||
int attr actionButtonStyle 0x7f010012
 | 
			
		||||
int attr actionDropDownStyle 0x7f010043
 | 
			
		||||
int attr actionLayout 0x7f01004a
 | 
			
		||||
int attr actionMenuTextAppearance 0x7f01000d
 | 
			
		||||
int attr actionMenuTextColor 0x7f01000e
 | 
			
		||||
int attr actionModeBackground 0x7f010038
 | 
			
		||||
int attr actionModeCloseButtonStyle 0x7f010037
 | 
			
		||||
int attr actionModeCloseDrawable 0x7f01003a
 | 
			
		||||
int attr actionModeCopyDrawable 0x7f01003c
 | 
			
		||||
int attr actionModeCutDrawable 0x7f01003b
 | 
			
		||||
int attr actionModeFindDrawable 0x7f010040
 | 
			
		||||
int attr actionModePasteDrawable 0x7f01003d
 | 
			
		||||
int attr actionModePopupWindowStyle 0x7f010042
 | 
			
		||||
int attr actionModeSelectAllDrawable 0x7f01003e
 | 
			
		||||
int attr actionModeShareDrawable 0x7f01003f
 | 
			
		||||
int attr actionModeSplitBackground 0x7f010039
 | 
			
		||||
int attr actionModeStyle 0x7f010036
 | 
			
		||||
int attr actionModeWebSearchDrawable 0x7f010041
 | 
			
		||||
int attr actionOverflowButtonStyle 0x7f010006
 | 
			
		||||
int attr actionProviderClass 0x7f01004c
 | 
			
		||||
int attr actionViewClass 0x7f01004b
 | 
			
		||||
int attr activityChooserViewStyle 0x7f010068
 | 
			
		||||
int attr background 0x7f01002b
 | 
			
		||||
int attr backgroundSplit 0x7f01002d
 | 
			
		||||
int attr backgroundStacked 0x7f01002c
 | 
			
		||||
int attr buttonBarButtonStyle 0x7f010014
 | 
			
		||||
int attr buttonBarStyle 0x7f010013
 | 
			
		||||
int attr customNavigationLayout 0x7f01002e
 | 
			
		||||
int attr disableChildrenWhenDisabled 0x7f010050
 | 
			
		||||
int attr displayOptions 0x7f010024
 | 
			
		||||
int attr divider 0x7f01002a
 | 
			
		||||
int attr dividerHorizontal 0x7f010017
 | 
			
		||||
int attr dividerPadding 0x7f010052
 | 
			
		||||
int attr dividerVertical 0x7f010016
 | 
			
		||||
int attr dropDownListViewStyle 0x7f01001d
 | 
			
		||||
int attr dropdownListPreferredItemHeight 0x7f010044
 | 
			
		||||
int attr expandActivityOverflowButtonDrawable 0x7f010067
 | 
			
		||||
int attr height 0x7f010022
 | 
			
		||||
int attr homeAsUpIndicator 0x7f01000f
 | 
			
		||||
int attr homeLayout 0x7f01002f
 | 
			
		||||
int attr icon 0x7f010028
 | 
			
		||||
int attr iconifiedByDefault 0x7f010056
 | 
			
		||||
int attr indeterminateProgressStyle 0x7f010031
 | 
			
		||||
int attr initialActivityCount 0x7f010066
 | 
			
		||||
int attr isLightTheme 0x7f010055
 | 
			
		||||
int attr itemPadding 0x7f010033
 | 
			
		||||
int attr listChoiceBackgroundIndicator 0x7f010048
 | 
			
		||||
int attr listPopupWindowStyle 0x7f01001e
 | 
			
		||||
int attr listPreferredItemHeight 0x7f010018
 | 
			
		||||
int attr listPreferredItemHeightLarge 0x7f01001a
 | 
			
		||||
int attr listPreferredItemHeightSmall 0x7f010019
 | 
			
		||||
int attr listPreferredItemPaddingLeft 0x7f01001b
 | 
			
		||||
int attr listPreferredItemPaddingRight 0x7f01001c
 | 
			
		||||
int attr logo 0x7f010029
 | 
			
		||||
int attr navigationMode 0x7f010023
 | 
			
		||||
int attr paddingEnd 0x7f010035
 | 
			
		||||
int attr paddingStart 0x7f010034
 | 
			
		||||
int attr panelMenuListTheme 0x7f010047
 | 
			
		||||
int attr panelMenuListWidth 0x7f010046
 | 
			
		||||
int attr popupMenuStyle 0x7f010045
 | 
			
		||||
int attr popupPromptView 0x7f01004f
 | 
			
		||||
int attr progressBarPadding 0x7f010032
 | 
			
		||||
int attr progressBarStyle 0x7f010030
 | 
			
		||||
int attr prompt 0x7f01004d
 | 
			
		||||
int attr queryHint 0x7f010057
 | 
			
		||||
int attr searchDropdownBackground 0x7f010058
 | 
			
		||||
int attr searchResultListItemHeight 0x7f010061
 | 
			
		||||
int attr searchViewAutoCompleteTextView 0x7f010065
 | 
			
		||||
int attr searchViewCloseIcon 0x7f010059
 | 
			
		||||
int attr searchViewEditQuery 0x7f01005d
 | 
			
		||||
int attr searchViewEditQueryBackground 0x7f01005e
 | 
			
		||||
int attr searchViewGoIcon 0x7f01005a
 | 
			
		||||
int attr searchViewSearchIcon 0x7f01005b
 | 
			
		||||
int attr searchViewTextField 0x7f01005f
 | 
			
		||||
int attr searchViewTextFieldRight 0x7f010060
 | 
			
		||||
int attr searchViewVoiceIcon 0x7f01005c
 | 
			
		||||
int attr selectableItemBackground 0x7f010015
 | 
			
		||||
int attr showAsAction 0x7f010049
 | 
			
		||||
int attr showDividers 0x7f010051
 | 
			
		||||
int attr spinnerDropDownItemStyle 0x7f010054
 | 
			
		||||
int attr spinnerMode 0x7f01004e
 | 
			
		||||
int attr spinnerStyle 0x7f010053
 | 
			
		||||
int attr subtitle 0x7f010025
 | 
			
		||||
int attr subtitleTextStyle 0x7f010027
 | 
			
		||||
int attr textAllCaps 0x7f010069
 | 
			
		||||
int attr textAppearanceLargePopupMenu 0x7f010010
 | 
			
		||||
int attr textAppearanceListItem 0x7f01001f
 | 
			
		||||
int attr textAppearanceListItemSmall 0x7f010020
 | 
			
		||||
int attr textAppearanceSearchResultSubtitle 0x7f010063
 | 
			
		||||
int attr textAppearanceSearchResultTitle 0x7f010062
 | 
			
		||||
int attr textAppearanceSmallPopupMenu 0x7f010011
 | 
			
		||||
int attr textColorSearchUrl 0x7f010064
 | 
			
		||||
int attr title 0x7f010021
 | 
			
		||||
int attr titleTextStyle 0x7f010026
 | 
			
		||||
int attr windowActionBar 0x7f010000
 | 
			
		||||
int attr windowActionBarOverlay 0x7f010001
 | 
			
		||||
int attr windowSplitActionBar 0x7f010002
 | 
			
		||||
int bool abc_action_bar_embed_tabs_pre_jb 0x7f060000
 | 
			
		||||
int bool abc_action_bar_expanded_action_views_exclusive 0x7f060001
 | 
			
		||||
int bool abc_config_actionMenuItemAllCaps 0x7f060005
 | 
			
		||||
int bool abc_config_allowActionMenuItemTextWithIcon 0x7f060004
 | 
			
		||||
int bool abc_config_showMenuShortcutsWhenKeyboardPresent 0x7f060003
 | 
			
		||||
int bool abc_split_action_bar_is_narrow 0x7f060002
 | 
			
		||||
int color abc_search_url_text_holo 0x7f070005
 | 
			
		||||
int color abc_search_url_text_normal 0x7f070000
 | 
			
		||||
int color abc_search_url_text_pressed 0x7f070002
 | 
			
		||||
int color abc_search_url_text_selected 0x7f070001
 | 
			
		||||
int color actionbar 0x7f070004
 | 
			
		||||
int color statusbar 0x7f070003
 | 
			
		||||
int dimen abc_action_bar_default_height 0x7f080002
 | 
			
		||||
int dimen abc_action_bar_icon_vertical_padding 0x7f080003
 | 
			
		||||
int dimen abc_action_bar_progress_bar_size 0x7f08000a
 | 
			
		||||
int dimen abc_action_bar_stacked_max_height 0x7f080009
 | 
			
		||||
int dimen abc_action_bar_stacked_tab_max_width 0x7f080001
 | 
			
		||||
int dimen abc_action_bar_subtitle_bottom_margin 0x7f080007
 | 
			
		||||
int dimen abc_action_bar_subtitle_text_size 0x7f080005
 | 
			
		||||
int dimen abc_action_bar_subtitle_top_margin 0x7f080006
 | 
			
		||||
int dimen abc_action_bar_title_text_size 0x7f080004
 | 
			
		||||
int dimen abc_action_button_min_width 0x7f080008
 | 
			
		||||
int dimen abc_config_prefDialogWidth 0x7f080000
 | 
			
		||||
int dimen abc_dropdownitem_icon_width 0x7f080010
 | 
			
		||||
int dimen abc_dropdownitem_text_padding_left 0x7f08000e
 | 
			
		||||
int dimen abc_dropdownitem_text_padding_right 0x7f08000f
 | 
			
		||||
int dimen abc_panel_menu_list_width 0x7f08000b
 | 
			
		||||
int dimen abc_search_view_preferred_width 0x7f08000d
 | 
			
		||||
int dimen abc_search_view_text_min_width 0x7f08000c
 | 
			
		||||
int dimen activity_horizontal_margin 0x7f080011
 | 
			
		||||
int dimen activity_vertical_margin 0x7f080012
 | 
			
		||||
int dimen navigation_drawer_width 0x7f080013
 | 
			
		||||
int drawable abc_ab_bottom_solid_dark_holo 0x7f020000
 | 
			
		||||
int drawable abc_ab_bottom_solid_light_holo 0x7f020001
 | 
			
		||||
int drawable abc_ab_bottom_transparent_dark_holo 0x7f020002
 | 
			
		||||
int drawable abc_ab_bottom_transparent_light_holo 0x7f020003
 | 
			
		||||
int drawable abc_ab_share_pack_holo_dark 0x7f020004
 | 
			
		||||
int drawable abc_ab_share_pack_holo_light 0x7f020005
 | 
			
		||||
int drawable abc_ab_solid_dark_holo 0x7f020006
 | 
			
		||||
int drawable abc_ab_solid_light_holo 0x7f020007
 | 
			
		||||
int drawable abc_ab_stacked_solid_dark_holo 0x7f020008
 | 
			
		||||
int drawable abc_ab_stacked_solid_light_holo 0x7f020009
 | 
			
		||||
int drawable abc_ab_stacked_transparent_dark_holo 0x7f02000a
 | 
			
		||||
int drawable abc_ab_stacked_transparent_light_holo 0x7f02000b
 | 
			
		||||
int drawable abc_ab_transparent_dark_holo 0x7f02000c
 | 
			
		||||
int drawable abc_ab_transparent_light_holo 0x7f02000d
 | 
			
		||||
int drawable abc_cab_background_bottom_holo_dark 0x7f02000e
 | 
			
		||||
int drawable abc_cab_background_bottom_holo_light 0x7f02000f
 | 
			
		||||
int drawable abc_cab_background_top_holo_dark 0x7f020010
 | 
			
		||||
int drawable abc_cab_background_top_holo_light 0x7f020011
 | 
			
		||||
int drawable abc_ic_ab_back_holo_dark 0x7f020012
 | 
			
		||||
int drawable abc_ic_ab_back_holo_light 0x7f020013
 | 
			
		||||
int drawable abc_ic_cab_done_holo_dark 0x7f020014
 | 
			
		||||
int drawable abc_ic_cab_done_holo_light 0x7f020015
 | 
			
		||||
int drawable abc_ic_clear 0x7f020016
 | 
			
		||||
int drawable abc_ic_clear_disabled 0x7f020017
 | 
			
		||||
int drawable abc_ic_clear_holo_light 0x7f020018
 | 
			
		||||
int drawable abc_ic_clear_normal 0x7f020019
 | 
			
		||||
int drawable abc_ic_clear_search_api_disabled_holo_light 0x7f02001a
 | 
			
		||||
int drawable abc_ic_clear_search_api_holo_light 0x7f02001b
 | 
			
		||||
int drawable abc_ic_commit_search_api_holo_dark 0x7f02001c
 | 
			
		||||
int drawable abc_ic_commit_search_api_holo_light 0x7f02001d
 | 
			
		||||
int drawable abc_ic_go 0x7f02001e
 | 
			
		||||
int drawable abc_ic_go_search_api_holo_light 0x7f02001f
 | 
			
		||||
int drawable abc_ic_menu_moreoverflow_normal_holo_dark 0x7f020020
 | 
			
		||||
int drawable abc_ic_menu_moreoverflow_normal_holo_light 0x7f020021
 | 
			
		||||
int drawable abc_ic_menu_share_holo_dark 0x7f020022
 | 
			
		||||
int drawable abc_ic_menu_share_holo_light 0x7f020023
 | 
			
		||||
int drawable abc_ic_search 0x7f020024
 | 
			
		||||
int drawable abc_ic_search_api_holo_light 0x7f020025
 | 
			
		||||
int drawable abc_ic_voice_search 0x7f020026
 | 
			
		||||
int drawable abc_ic_voice_search_api_holo_light 0x7f020027
 | 
			
		||||
int drawable abc_item_background_holo_dark 0x7f020028
 | 
			
		||||
int drawable abc_item_background_holo_light 0x7f020029
 | 
			
		||||
int drawable abc_list_divider_holo_dark 0x7f02002a
 | 
			
		||||
int drawable abc_list_divider_holo_light 0x7f02002b
 | 
			
		||||
int drawable abc_list_focused_holo 0x7f02002c
 | 
			
		||||
int drawable abc_list_longpressed_holo 0x7f02002d
 | 
			
		||||
int drawable abc_list_pressed_holo_dark 0x7f02002e
 | 
			
		||||
int drawable abc_list_pressed_holo_light 0x7f02002f
 | 
			
		||||
int drawable abc_list_selector_background_transition_holo_dark 0x7f020030
 | 
			
		||||
int drawable abc_list_selector_background_transition_holo_light 0x7f020031
 | 
			
		||||
int drawable abc_list_selector_disabled_holo_dark 0x7f020032
 | 
			
		||||
int drawable abc_list_selector_disabled_holo_light 0x7f020033
 | 
			
		||||
int drawable abc_list_selector_holo_dark 0x7f020034
 | 
			
		||||
int drawable abc_list_selector_holo_light 0x7f020035
 | 
			
		||||
int drawable abc_menu_dropdown_panel_holo_dark 0x7f020036
 | 
			
		||||
int drawable abc_menu_dropdown_panel_holo_light 0x7f020037
 | 
			
		||||
int drawable abc_menu_hardkey_panel_holo_dark 0x7f020038
 | 
			
		||||
int drawable abc_menu_hardkey_panel_holo_light 0x7f020039
 | 
			
		||||
int drawable abc_search_dropdown_dark 0x7f02003a
 | 
			
		||||
int drawable abc_search_dropdown_light 0x7f02003b
 | 
			
		||||
int drawable abc_spinner_ab_default_holo_dark 0x7f02003c
 | 
			
		||||
int drawable abc_spinner_ab_default_holo_light 0x7f02003d
 | 
			
		||||
int drawable abc_spinner_ab_disabled_holo_dark 0x7f02003e
 | 
			
		||||
int drawable abc_spinner_ab_disabled_holo_light 0x7f02003f
 | 
			
		||||
int drawable abc_spinner_ab_focused_holo_dark 0x7f020040
 | 
			
		||||
int drawable abc_spinner_ab_focused_holo_light 0x7f020041
 | 
			
		||||
int drawable abc_spinner_ab_holo_dark 0x7f020042
 | 
			
		||||
int drawable abc_spinner_ab_holo_light 0x7f020043
 | 
			
		||||
int drawable abc_spinner_ab_pressed_holo_dark 0x7f020044
 | 
			
		||||
int drawable abc_spinner_ab_pressed_holo_light 0x7f020045
 | 
			
		||||
int drawable abc_tab_indicator_ab_holo 0x7f020046
 | 
			
		||||
int drawable abc_tab_selected_focused_holo 0x7f020047
 | 
			
		||||
int drawable abc_tab_selected_holo 0x7f020048
 | 
			
		||||
int drawable abc_tab_selected_pressed_holo 0x7f020049
 | 
			
		||||
int drawable abc_tab_unselected_pressed_holo 0x7f02004a
 | 
			
		||||
int drawable abc_textfield_search_default_holo_dark 0x7f02004b
 | 
			
		||||
int drawable abc_textfield_search_default_holo_light 0x7f02004c
 | 
			
		||||
int drawable abc_textfield_search_right_default_holo_dark 0x7f02004d
 | 
			
		||||
int drawable abc_textfield_search_right_default_holo_light 0x7f02004e
 | 
			
		||||
int drawable abc_textfield_search_right_selected_holo_dark 0x7f02004f
 | 
			
		||||
int drawable abc_textfield_search_right_selected_holo_light 0x7f020050
 | 
			
		||||
int drawable abc_textfield_search_selected_holo_dark 0x7f020051
 | 
			
		||||
int drawable abc_textfield_search_selected_holo_light 0x7f020052
 | 
			
		||||
int drawable abc_textfield_searchview_holo_dark 0x7f020053
 | 
			
		||||
int drawable abc_textfield_searchview_holo_light 0x7f020054
 | 
			
		||||
int drawable abc_textfield_searchview_right_holo_dark 0x7f020055
 | 
			
		||||
int drawable abc_textfield_searchview_right_holo_light 0x7f020056
 | 
			
		||||
int drawable drawer_shadow 0x7f020057
 | 
			
		||||
int drawable ic_drawer 0x7f020058
 | 
			
		||||
int drawable ic_launcher 0x7f020059
 | 
			
		||||
int id action_bar 0x7f05001c
 | 
			
		||||
int id action_bar_activity_content 0x7f050015
 | 
			
		||||
int id action_bar_container 0x7f05001b
 | 
			
		||||
int id action_bar_overlay_layout 0x7f05001f
 | 
			
		||||
int id action_bar_root 0x7f05001a
 | 
			
		||||
int id action_bar_subtitle 0x7f050023
 | 
			
		||||
int id action_bar_title 0x7f050022
 | 
			
		||||
int id action_context_bar 0x7f05001d
 | 
			
		||||
int id action_downloads 0x7f050043
 | 
			
		||||
int id action_example 0x7f050042
 | 
			
		||||
int id action_menu_divider 0x7f050016
 | 
			
		||||
int id action_menu_presenter 0x7f050017
 | 
			
		||||
int id action_mode_close_button 0x7f050024
 | 
			
		||||
int id action_settings 0x7f050041
 | 
			
		||||
int id activity_chooser_view_content 0x7f050025
 | 
			
		||||
int id always 0x7f05000b
 | 
			
		||||
int id beginning 0x7f050011
 | 
			
		||||
int id checkbox 0x7f05002d
 | 
			
		||||
int id collapseActionView 0x7f05000d
 | 
			
		||||
int id container 0x7f05003d
 | 
			
		||||
int id default_activity_button 0x7f050028
 | 
			
		||||
int id dialog 0x7f05000e
 | 
			
		||||
int id disableHome 0x7f050008
 | 
			
		||||
int id drawer_layout 0x7f05003c
 | 
			
		||||
int id dropdown 0x7f05000f
 | 
			
		||||
int id edit_query 0x7f050030
 | 
			
		||||
int id end 0x7f050013
 | 
			
		||||
int id expand_activities_button 0x7f050026
 | 
			
		||||
int id expanded_menu 0x7f05002c
 | 
			
		||||
int id home 0x7f050014
 | 
			
		||||
int id homeAsUp 0x7f050005
 | 
			
		||||
int id icon 0x7f05002a
 | 
			
		||||
int id ifRoom 0x7f05000a
 | 
			
		||||
int id image 0x7f050027
 | 
			
		||||
int id listMode 0x7f050001
 | 
			
		||||
int id list_item 0x7f050029
 | 
			
		||||
int id list_nav_drawer 0x7f050040
 | 
			
		||||
int id middle 0x7f050012
 | 
			
		||||
int id navigation_drawer 0x7f05003e
 | 
			
		||||
int id never 0x7f050009
 | 
			
		||||
int id none 0x7f050010
 | 
			
		||||
int id normal 0x7f050000
 | 
			
		||||
int id progress_circular 0x7f050018
 | 
			
		||||
int id progress_horizontal 0x7f050019
 | 
			
		||||
int id radio 0x7f05002f
 | 
			
		||||
int id search_badge 0x7f050032
 | 
			
		||||
int id search_bar 0x7f050031
 | 
			
		||||
int id search_button 0x7f050033
 | 
			
		||||
int id search_close_btn 0x7f050038
 | 
			
		||||
int id search_edit_frame 0x7f050034
 | 
			
		||||
int id search_go_btn 0x7f05003a
 | 
			
		||||
int id search_mag_icon 0x7f050035
 | 
			
		||||
int id search_plate 0x7f050036
 | 
			
		||||
int id search_src_text 0x7f050037
 | 
			
		||||
int id search_voice_btn 0x7f05003b
 | 
			
		||||
int id section_label 0x7f05003f
 | 
			
		||||
int id shortcut 0x7f05002e
 | 
			
		||||
int id showCustom 0x7f050007
 | 
			
		||||
int id showHome 0x7f050004
 | 
			
		||||
int id showTitle 0x7f050006
 | 
			
		||||
int id split_action_bar 0x7f05001e
 | 
			
		||||
int id submit_area 0x7f050039
 | 
			
		||||
int id tabMode 0x7f050002
 | 
			
		||||
int id title 0x7f05002b
 | 
			
		||||
int id top_action_bar 0x7f050020
 | 
			
		||||
int id up 0x7f050021
 | 
			
		||||
int id useLogo 0x7f050003
 | 
			
		||||
int id withText 0x7f05000c
 | 
			
		||||
int integer abc_max_action_buttons 0x7f090000
 | 
			
		||||
int layout abc_action_bar_decor 0x7f030000
 | 
			
		||||
int layout abc_action_bar_decor_include 0x7f030001
 | 
			
		||||
int layout abc_action_bar_decor_overlay 0x7f030002
 | 
			
		||||
int layout abc_action_bar_home 0x7f030003
 | 
			
		||||
int layout abc_action_bar_tab 0x7f030004
 | 
			
		||||
int layout abc_action_bar_tabbar 0x7f030005
 | 
			
		||||
int layout abc_action_bar_title_item 0x7f030006
 | 
			
		||||
int layout abc_action_bar_view_list_nav_layout 0x7f030007
 | 
			
		||||
int layout abc_action_menu_item_layout 0x7f030008
 | 
			
		||||
int layout abc_action_menu_layout 0x7f030009
 | 
			
		||||
int layout abc_action_mode_bar 0x7f03000a
 | 
			
		||||
int layout abc_action_mode_close_item 0x7f03000b
 | 
			
		||||
int layout abc_activity_chooser_view 0x7f03000c
 | 
			
		||||
int layout abc_activity_chooser_view_include 0x7f03000d
 | 
			
		||||
int layout abc_activity_chooser_view_list_item 0x7f03000e
 | 
			
		||||
int layout abc_expanded_menu_layout 0x7f03000f
 | 
			
		||||
int layout abc_list_menu_item_checkbox 0x7f030010
 | 
			
		||||
int layout abc_list_menu_item_icon 0x7f030011
 | 
			
		||||
int layout abc_list_menu_item_layout 0x7f030012
 | 
			
		||||
int layout abc_list_menu_item_radio 0x7f030013
 | 
			
		||||
int layout abc_popup_menu_item_layout 0x7f030014
 | 
			
		||||
int layout abc_search_dropdown_item_icons_2line 0x7f030015
 | 
			
		||||
int layout abc_search_view 0x7f030016
 | 
			
		||||
int layout activity_bible_viewer 0x7f030017
 | 
			
		||||
int layout activity_downloader 0x7f030018
 | 
			
		||||
int layout fragment_main 0x7f030019
 | 
			
		||||
int layout fragment_navigation_drawer 0x7f03001a
 | 
			
		||||
int layout support_simple_spinner_dropdown_item 0x7f03001b
 | 
			
		||||
int menu downloader 0x7f0c0000
 | 
			
		||||
int menu global 0x7f0c0001
 | 
			
		||||
int menu main 0x7f0c0002
 | 
			
		||||
int string abc_action_bar_home_description 0x7f0a0001
 | 
			
		||||
int string abc_action_bar_up_description 0x7f0a0002
 | 
			
		||||
int string abc_action_menu_overflow_description 0x7f0a0003
 | 
			
		||||
int string abc_action_mode_done 0x7f0a0000
 | 
			
		||||
int string abc_activity_chooser_view_see_all 0x7f0a000a
 | 
			
		||||
int string abc_activitychooserview_choose_application 0x7f0a0009
 | 
			
		||||
int string abc_searchview_description_clear 0x7f0a0006
 | 
			
		||||
int string abc_searchview_description_query 0x7f0a0005
 | 
			
		||||
int string abc_searchview_description_search 0x7f0a0004
 | 
			
		||||
int string abc_searchview_description_submit 0x7f0a0007
 | 
			
		||||
int string abc_searchview_description_voice 0x7f0a0008
 | 
			
		||||
int string abc_shareactionprovider_share_with 0x7f0a000c
 | 
			
		||||
int string abc_shareactionprovider_share_with_application 0x7f0a000b
 | 
			
		||||
int string action_example 0x7f0a0013
 | 
			
		||||
int string action_settings 0x7f0a0014
 | 
			
		||||
int string app_name 0x7f0a000d
 | 
			
		||||
int string hello_world 0x7f0a0016
 | 
			
		||||
int string navigation_drawer_close 0x7f0a0012
 | 
			
		||||
int string navigation_drawer_open 0x7f0a0011
 | 
			
		||||
int string title_activity_downloader 0x7f0a0015
 | 
			
		||||
int string title_section1 0x7f0a000e
 | 
			
		||||
int string title_section2 0x7f0a000f
 | 
			
		||||
int string title_section3 0x7f0a0010
 | 
			
		||||
int style ActionBar 0x7f0b0085
 | 
			
		||||
int style AppBaseTheme 0x7f0b0083
 | 
			
		||||
int style AppTheme 0x7f0b0084
 | 
			
		||||
int style TextAppearance_AppCompat_Base_CompactMenu_Dialog 0x7f0b0063
 | 
			
		||||
int style TextAppearance_AppCompat_Base_SearchResult 0x7f0b006d
 | 
			
		||||
int style TextAppearance_AppCompat_Base_SearchResult_Subtitle 0x7f0b006f
 | 
			
		||||
int style TextAppearance_AppCompat_Base_SearchResult_Title 0x7f0b006e
 | 
			
		||||
int style TextAppearance_AppCompat_Base_Widget_PopupMenu_Large 0x7f0b0069
 | 
			
		||||
int style TextAppearance_AppCompat_Base_Widget_PopupMenu_Small 0x7f0b006a
 | 
			
		||||
int style TextAppearance_AppCompat_Light_Base_SearchResult 0x7f0b0070
 | 
			
		||||
int style TextAppearance_AppCompat_Light_Base_SearchResult_Subtitle 0x7f0b0072
 | 
			
		||||
int style TextAppearance_AppCompat_Light_Base_SearchResult_Title 0x7f0b0071
 | 
			
		||||
int style TextAppearance_AppCompat_Light_Base_Widget_PopupMenu_Large 0x7f0b006b
 | 
			
		||||
int style TextAppearance_AppCompat_Light_Base_Widget_PopupMenu_Small 0x7f0b006c
 | 
			
		||||
int style TextAppearance_AppCompat_Light_SearchResult_Subtitle 0x7f0b0035
 | 
			
		||||
int style TextAppearance_AppCompat_Light_SearchResult_Title 0x7f0b0034
 | 
			
		||||
int style TextAppearance_AppCompat_Light_Widget_PopupMenu_Large 0x7f0b0030
 | 
			
		||||
int style TextAppearance_AppCompat_Light_Widget_PopupMenu_Small 0x7f0b0031
 | 
			
		||||
int style TextAppearance_AppCompat_SearchResult_Subtitle 0x7f0b0033
 | 
			
		||||
int style TextAppearance_AppCompat_SearchResult_Title 0x7f0b0032
 | 
			
		||||
int style TextAppearance_AppCompat_Widget_ActionBar_Menu 0x7f0b001a
 | 
			
		||||
int style TextAppearance_AppCompat_Widget_ActionBar_Subtitle 0x7f0b0006
 | 
			
		||||
int style TextAppearance_AppCompat_Widget_ActionBar_Subtitle_Inverse 0x7f0b0008
 | 
			
		||||
int style TextAppearance_AppCompat_Widget_ActionBar_Title 0x7f0b0005
 | 
			
		||||
int style TextAppearance_AppCompat_Widget_ActionBar_Title_Inverse 0x7f0b0007
 | 
			
		||||
int style TextAppearance_AppCompat_Widget_ActionMode_Subtitle 0x7f0b001e
 | 
			
		||||
int style TextAppearance_AppCompat_Widget_ActionMode_Subtitle_Inverse 0x7f0b0020
 | 
			
		||||
int style TextAppearance_AppCompat_Widget_ActionMode_Title 0x7f0b001d
 | 
			
		||||
int style TextAppearance_AppCompat_Widget_ActionMode_Title_Inverse 0x7f0b001f
 | 
			
		||||
int style TextAppearance_AppCompat_Widget_Base_ActionBar_Menu 0x7f0b0054
 | 
			
		||||
int style TextAppearance_AppCompat_Widget_Base_ActionBar_Subtitle 0x7f0b0056
 | 
			
		||||
int style TextAppearance_AppCompat_Widget_Base_ActionBar_Subtitle_Inverse 0x7f0b0058
 | 
			
		||||
int style TextAppearance_AppCompat_Widget_Base_ActionBar_Title 0x7f0b0055
 | 
			
		||||
int style TextAppearance_AppCompat_Widget_Base_ActionBar_Title_Inverse 0x7f0b0057
 | 
			
		||||
int style TextAppearance_AppCompat_Widget_Base_ActionMode_Subtitle 0x7f0b0051
 | 
			
		||||
int style TextAppearance_AppCompat_Widget_Base_ActionMode_Subtitle_Inverse 0x7f0b0053
 | 
			
		||||
int style TextAppearance_AppCompat_Widget_Base_ActionMode_Title 0x7f0b0050
 | 
			
		||||
int style TextAppearance_AppCompat_Widget_Base_ActionMode_Title_Inverse 0x7f0b0052
 | 
			
		||||
int style TextAppearance_AppCompat_Widget_Base_DropDownItem 0x7f0b0061
 | 
			
		||||
int style TextAppearance_AppCompat_Widget_DropDownItem 0x7f0b0021
 | 
			
		||||
int style TextAppearance_AppCompat_Widget_PopupMenu_Large 0x7f0b002e
 | 
			
		||||
int style TextAppearance_AppCompat_Widget_PopupMenu_Small 0x7f0b002f
 | 
			
		||||
int style TextAppearance_Widget_AppCompat_Base_ExpandedMenu_Item 0x7f0b0062
 | 
			
		||||
int style TextAppearance_Widget_AppCompat_ExpandedMenu_Item 0x7f0b0028
 | 
			
		||||
int style Theme_AppCompat 0x7f0b0077
 | 
			
		||||
int style Theme_AppCompat_Base_CompactMenu 0x7f0b0081
 | 
			
		||||
int style Theme_AppCompat_Base_CompactMenu_Dialog 0x7f0b0082
 | 
			
		||||
int style Theme_AppCompat_CompactMenu 0x7f0b007a
 | 
			
		||||
int style Theme_AppCompat_CompactMenu_Dialog 0x7f0b007b
 | 
			
		||||
int style Theme_AppCompat_Light 0x7f0b0078
 | 
			
		||||
int style Theme_AppCompat_Light_DarkActionBar 0x7f0b0079
 | 
			
		||||
int style Theme_Base 0x7f0b007c
 | 
			
		||||
int style Theme_Base_AppCompat 0x7f0b007e
 | 
			
		||||
int style Theme_Base_AppCompat_Light 0x7f0b007f
 | 
			
		||||
int style Theme_Base_AppCompat_Light_DarkActionBar 0x7f0b0080
 | 
			
		||||
int style Theme_Base_Light 0x7f0b007d
 | 
			
		||||
int style Widget_AppCompat_ActionBar 0x7f0b0000
 | 
			
		||||
int style Widget_AppCompat_ActionBar_Solid 0x7f0b0002
 | 
			
		||||
int style Widget_AppCompat_ActionBar_TabBar 0x7f0b0011
 | 
			
		||||
int style Widget_AppCompat_ActionBar_TabText 0x7f0b0017
 | 
			
		||||
int style Widget_AppCompat_ActionBar_TabView 0x7f0b0014
 | 
			
		||||
int style Widget_AppCompat_ActionButton 0x7f0b000b
 | 
			
		||||
int style Widget_AppCompat_ActionButton_CloseMode 0x7f0b000d
 | 
			
		||||
int style Widget_AppCompat_ActionButton_Overflow 0x7f0b000f
 | 
			
		||||
int style Widget_AppCompat_ActionMode 0x7f0b001b
 | 
			
		||||
int style Widget_AppCompat_ActivityChooserView 0x7f0b0038
 | 
			
		||||
int style Widget_AppCompat_AutoCompleteTextView 0x7f0b0036
 | 
			
		||||
int style Widget_AppCompat_Base_ActionBar 0x7f0b003a
 | 
			
		||||
int style Widget_AppCompat_Base_ActionBar_Solid 0x7f0b003c
 | 
			
		||||
int style Widget_AppCompat_Base_ActionBar_TabBar 0x7f0b0045
 | 
			
		||||
int style Widget_AppCompat_Base_ActionBar_TabText 0x7f0b004b
 | 
			
		||||
int style Widget_AppCompat_Base_ActionBar_TabView 0x7f0b0048
 | 
			
		||||
int style Widget_AppCompat_Base_ActionButton 0x7f0b003f
 | 
			
		||||
int style Widget_AppCompat_Base_ActionButton_CloseMode 0x7f0b0041
 | 
			
		||||
int style Widget_AppCompat_Base_ActionButton_Overflow 0x7f0b0043
 | 
			
		||||
int style Widget_AppCompat_Base_ActionMode 0x7f0b004e
 | 
			
		||||
int style Widget_AppCompat_Base_ActivityChooserView 0x7f0b0075
 | 
			
		||||
int style Widget_AppCompat_Base_AutoCompleteTextView 0x7f0b0073
 | 
			
		||||
int style Widget_AppCompat_Base_DropDownItem_Spinner 0x7f0b005d
 | 
			
		||||
int style Widget_AppCompat_Base_ListPopupWindow 0x7f0b0065
 | 
			
		||||
int style Widget_AppCompat_Base_ListView_DropDown 0x7f0b005f
 | 
			
		||||
int style Widget_AppCompat_Base_ListView_Menu 0x7f0b0064
 | 
			
		||||
int style Widget_AppCompat_Base_PopupMenu 0x7f0b0067
 | 
			
		||||
int style Widget_AppCompat_Base_ProgressBar 0x7f0b005a
 | 
			
		||||
int style Widget_AppCompat_Base_ProgressBar_Horizontal 0x7f0b0059
 | 
			
		||||
int style Widget_AppCompat_Base_Spinner 0x7f0b005b
 | 
			
		||||
int style Widget_AppCompat_DropDownItem_Spinner 0x7f0b0024
 | 
			
		||||
int style Widget_AppCompat_Light_ActionBar 0x7f0b0001
 | 
			
		||||
int style Widget_AppCompat_Light_ActionBar_Solid 0x7f0b0003
 | 
			
		||||
int style Widget_AppCompat_Light_ActionBar_Solid_Inverse 0x7f0b0004
 | 
			
		||||
int style Widget_AppCompat_Light_ActionBar_TabBar 0x7f0b0012
 | 
			
		||||
int style Widget_AppCompat_Light_ActionBar_TabBar_Inverse 0x7f0b0013
 | 
			
		||||
int style Widget_AppCompat_Light_ActionBar_TabText 0x7f0b0018
 | 
			
		||||
int style Widget_AppCompat_Light_ActionBar_TabText_Inverse 0x7f0b0019
 | 
			
		||||
int style Widget_AppCompat_Light_ActionBar_TabView 0x7f0b0015
 | 
			
		||||
int style Widget_AppCompat_Light_ActionBar_TabView_Inverse 0x7f0b0016
 | 
			
		||||
int style Widget_AppCompat_Light_ActionButton 0x7f0b000c
 | 
			
		||||
int style Widget_AppCompat_Light_ActionButton_CloseMode 0x7f0b000e
 | 
			
		||||
int style Widget_AppCompat_Light_ActionButton_Overflow 0x7f0b0010
 | 
			
		||||
int style Widget_AppCompat_Light_ActionMode_Inverse 0x7f0b001c
 | 
			
		||||
int style Widget_AppCompat_Light_ActivityChooserView 0x7f0b0039
 | 
			
		||||
int style Widget_AppCompat_Light_AutoCompleteTextView 0x7f0b0037
 | 
			
		||||
int style Widget_AppCompat_Light_Base_ActionBar 0x7f0b003b
 | 
			
		||||
int style Widget_AppCompat_Light_Base_ActionBar_Solid 0x7f0b003d
 | 
			
		||||
int style Widget_AppCompat_Light_Base_ActionBar_Solid_Inverse 0x7f0b003e
 | 
			
		||||
int style Widget_AppCompat_Light_Base_ActionBar_TabBar 0x7f0b0046
 | 
			
		||||
int style Widget_AppCompat_Light_Base_ActionBar_TabBar_Inverse 0x7f0b0047
 | 
			
		||||
int style Widget_AppCompat_Light_Base_ActionBar_TabText 0x7f0b004c
 | 
			
		||||
int style Widget_AppCompat_Light_Base_ActionBar_TabText_Inverse 0x7f0b004d
 | 
			
		||||
int style Widget_AppCompat_Light_Base_ActionBar_TabView 0x7f0b0049
 | 
			
		||||
int style Widget_AppCompat_Light_Base_ActionBar_TabView_Inverse 0x7f0b004a
 | 
			
		||||
int style Widget_AppCompat_Light_Base_ActionButton 0x7f0b0040
 | 
			
		||||
int style Widget_AppCompat_Light_Base_ActionButton_CloseMode 0x7f0b0042
 | 
			
		||||
int style Widget_AppCompat_Light_Base_ActionButton_Overflow 0x7f0b0044
 | 
			
		||||
int style Widget_AppCompat_Light_Base_ActionMode_Inverse 0x7f0b004f
 | 
			
		||||
int style Widget_AppCompat_Light_Base_ActivityChooserView 0x7f0b0076
 | 
			
		||||
int style Widget_AppCompat_Light_Base_AutoCompleteTextView 0x7f0b0074
 | 
			
		||||
int style Widget_AppCompat_Light_Base_DropDownItem_Spinner 0x7f0b005e
 | 
			
		||||
int style Widget_AppCompat_Light_Base_ListPopupWindow 0x7f0b0066
 | 
			
		||||
int style Widget_AppCompat_Light_Base_ListView_DropDown 0x7f0b0060
 | 
			
		||||
int style Widget_AppCompat_Light_Base_PopupMenu 0x7f0b0068
 | 
			
		||||
int style Widget_AppCompat_Light_Base_Spinner 0x7f0b005c
 | 
			
		||||
int style Widget_AppCompat_Light_DropDownItem_Spinner 0x7f0b0025
 | 
			
		||||
int style Widget_AppCompat_Light_ListPopupWindow 0x7f0b002a
 | 
			
		||||
int style Widget_AppCompat_Light_ListView_DropDown 0x7f0b0027
 | 
			
		||||
int style Widget_AppCompat_Light_PopupMenu 0x7f0b002c
 | 
			
		||||
int style Widget_AppCompat_Light_Spinner_DropDown_ActionBar 0x7f0b0023
 | 
			
		||||
int style Widget_AppCompat_ListPopupWindow 0x7f0b0029
 | 
			
		||||
int style Widget_AppCompat_ListView_DropDown 0x7f0b0026
 | 
			
		||||
int style Widget_AppCompat_ListView_Menu 0x7f0b002d
 | 
			
		||||
int style Widget_AppCompat_PopupMenu 0x7f0b002b
 | 
			
		||||
int style Widget_AppCompat_ProgressBar 0x7f0b000a
 | 
			
		||||
int style Widget_AppCompat_ProgressBar_Horizontal 0x7f0b0009
 | 
			
		||||
int style Widget_AppCompat_Spinner_DropDown_ActionBar 0x7f0b0022
 | 
			
		||||
int[] styleable ActionBar { 0x7f010021, 0x7f010022, 0x7f010023, 0x7f010024, 0x7f010025, 0x7f010026, 0x7f010027, 0x7f010028, 0x7f010029, 0x7f01002a, 0x7f01002b, 0x7f01002c, 0x7f01002d, 0x7f01002e, 0x7f01002f, 0x7f010030, 0x7f010031, 0x7f010032, 0x7f010033 }
 | 
			
		||||
int styleable ActionBar_background 10
 | 
			
		||||
int styleable ActionBar_backgroundSplit 12
 | 
			
		||||
int styleable ActionBar_backgroundStacked 11
 | 
			
		||||
int styleable ActionBar_customNavigationLayout 13
 | 
			
		||||
int styleable ActionBar_displayOptions 3
 | 
			
		||||
int styleable ActionBar_divider 9
 | 
			
		||||
int styleable ActionBar_height 1
 | 
			
		||||
int styleable ActionBar_homeLayout 14
 | 
			
		||||
int styleable ActionBar_icon 7
 | 
			
		||||
int styleable ActionBar_indeterminateProgressStyle 16
 | 
			
		||||
int styleable ActionBar_itemPadding 18
 | 
			
		||||
int styleable ActionBar_logo 8
 | 
			
		||||
int styleable ActionBar_navigationMode 2
 | 
			
		||||
int styleable ActionBar_progressBarPadding 17
 | 
			
		||||
int styleable ActionBar_progressBarStyle 15
 | 
			
		||||
int styleable ActionBar_subtitle 4
 | 
			
		||||
int styleable ActionBar_subtitleTextStyle 6
 | 
			
		||||
int styleable ActionBar_title 0
 | 
			
		||||
int styleable ActionBar_titleTextStyle 5
 | 
			
		||||
int[] styleable ActionBarLayout { 0x010100b3 }
 | 
			
		||||
int styleable ActionBarLayout_android_layout_gravity 0
 | 
			
		||||
int[] styleable ActionBarWindow { 0x7f010000, 0x7f010001, 0x7f010002 }
 | 
			
		||||
int styleable ActionBarWindow_windowActionBar 0
 | 
			
		||||
int styleable ActionBarWindow_windowActionBarOverlay 1
 | 
			
		||||
int styleable ActionBarWindow_windowSplitActionBar 2
 | 
			
		||||
int[] styleable ActionMenuItemView { 0x0101013f }
 | 
			
		||||
int styleable ActionMenuItemView_android_minWidth 0
 | 
			
		||||
int[] styleable ActionMenuView { }
 | 
			
		||||
int[] styleable ActionMode { 0x7f010022, 0x7f010026, 0x7f010027, 0x7f01002b, 0x7f01002d }
 | 
			
		||||
int styleable ActionMode_background 3
 | 
			
		||||
int styleable ActionMode_backgroundSplit 4
 | 
			
		||||
int styleable ActionMode_height 0
 | 
			
		||||
int styleable ActionMode_subtitleTextStyle 2
 | 
			
		||||
int styleable ActionMode_titleTextStyle 1
 | 
			
		||||
int[] styleable ActivityChooserView { 0x7f010066, 0x7f010067 }
 | 
			
		||||
int styleable ActivityChooserView_expandActivityOverflowButtonDrawable 1
 | 
			
		||||
int styleable ActivityChooserView_initialActivityCount 0
 | 
			
		||||
int[] styleable CompatTextView { 0x7f010069 }
 | 
			
		||||
int styleable CompatTextView_textAllCaps 0
 | 
			
		||||
int[] styleable LinearLayoutICS { 0x7f01002a, 0x7f010051, 0x7f010052 }
 | 
			
		||||
int styleable LinearLayoutICS_divider 0
 | 
			
		||||
int styleable LinearLayoutICS_dividerPadding 2
 | 
			
		||||
int styleable LinearLayoutICS_showDividers 1
 | 
			
		||||
int[] styleable MenuGroup { 0x0101000e, 0x010100d0, 0x01010194, 0x010101de, 0x010101df, 0x010101e0 }
 | 
			
		||||
int styleable MenuGroup_android_checkableBehavior 5
 | 
			
		||||
int styleable MenuGroup_android_enabled 0
 | 
			
		||||
int styleable MenuGroup_android_id 1
 | 
			
		||||
int styleable MenuGroup_android_menuCategory 3
 | 
			
		||||
int styleable MenuGroup_android_orderInCategory 4
 | 
			
		||||
int styleable MenuGroup_android_visible 2
 | 
			
		||||
int[] styleable MenuItem { 0x01010002, 0x0101000e, 0x010100d0, 0x01010106, 0x01010194, 0x010101de, 0x010101df, 0x010101e1, 0x010101e2, 0x010101e3, 0x010101e4, 0x010101e5, 0x0101026f, 0x7f010049, 0x7f01004a, 0x7f01004b, 0x7f01004c }
 | 
			
		||||
int styleable MenuItem_actionLayout 14
 | 
			
		||||
int styleable MenuItem_actionProviderClass 16
 | 
			
		||||
int styleable MenuItem_actionViewClass 15
 | 
			
		||||
int styleable MenuItem_android_alphabeticShortcut 9
 | 
			
		||||
int styleable MenuItem_android_checkable 11
 | 
			
		||||
int styleable MenuItem_android_checked 3
 | 
			
		||||
int styleable MenuItem_android_enabled 1
 | 
			
		||||
int styleable MenuItem_android_icon 0
 | 
			
		||||
int styleable MenuItem_android_id 2
 | 
			
		||||
int styleable MenuItem_android_menuCategory 5
 | 
			
		||||
int styleable MenuItem_android_numericShortcut 10
 | 
			
		||||
int styleable MenuItem_android_onClick 12
 | 
			
		||||
int styleable MenuItem_android_orderInCategory 6
 | 
			
		||||
int styleable MenuItem_android_title 7
 | 
			
		||||
int styleable MenuItem_android_titleCondensed 8
 | 
			
		||||
int styleable MenuItem_android_visible 4
 | 
			
		||||
int styleable MenuItem_showAsAction 13
 | 
			
		||||
int[] styleable MenuView { 0x010100ae, 0x0101012c, 0x0101012d, 0x0101012e, 0x0101012f, 0x01010130, 0x01010131, 0x01010435 }
 | 
			
		||||
int styleable MenuView_android_headerBackground 4
 | 
			
		||||
int styleable MenuView_android_horizontalDivider 2
 | 
			
		||||
int styleable MenuView_android_itemBackground 5
 | 
			
		||||
int styleable MenuView_android_itemIconDisabledAlpha 6
 | 
			
		||||
int styleable MenuView_android_itemTextAppearance 1
 | 
			
		||||
int styleable MenuView_android_preserveIconSpacing 7
 | 
			
		||||
int styleable MenuView_android_verticalDivider 3
 | 
			
		||||
int styleable MenuView_android_windowAnimationStyle 0
 | 
			
		||||
int[] styleable SearchView { 0x0101011f, 0x01010220, 0x01010264, 0x7f010056, 0x7f010057 }
 | 
			
		||||
int styleable SearchView_android_imeOptions 2
 | 
			
		||||
int styleable SearchView_android_inputType 1
 | 
			
		||||
int styleable SearchView_android_maxWidth 0
 | 
			
		||||
int styleable SearchView_iconifiedByDefault 3
 | 
			
		||||
int styleable SearchView_queryHint 4
 | 
			
		||||
int[] styleable Spinner { 0x010100af, 0x01010175, 0x01010176, 0x01010262, 0x010102ac, 0x010102ad, 0x7f01004d, 0x7f01004e, 0x7f01004f, 0x7f010050 }
 | 
			
		||||
int styleable Spinner_android_dropDownHorizontalOffset 4
 | 
			
		||||
int styleable Spinner_android_dropDownSelector 1
 | 
			
		||||
int styleable Spinner_android_dropDownVerticalOffset 5
 | 
			
		||||
int styleable Spinner_android_dropDownWidth 3
 | 
			
		||||
int styleable Spinner_android_gravity 0
 | 
			
		||||
int styleable Spinner_android_popupBackground 2
 | 
			
		||||
int styleable Spinner_disableChildrenWhenDisabled 9
 | 
			
		||||
int styleable Spinner_popupPromptView 8
 | 
			
		||||
int styleable Spinner_prompt 6
 | 
			
		||||
int styleable Spinner_spinnerMode 7
 | 
			
		||||
int[] styleable Theme { 0x7f010043, 0x7f010044, 0x7f010045, 0x7f010046, 0x7f010047, 0x7f010048 }
 | 
			
		||||
int styleable Theme_actionDropDownStyle 0
 | 
			
		||||
int styleable Theme_dropdownListPreferredItemHeight 1
 | 
			
		||||
int styleable Theme_listChoiceBackgroundIndicator 5
 | 
			
		||||
int styleable Theme_panelMenuListTheme 4
 | 
			
		||||
int styleable Theme_panelMenuListWidth 3
 | 
			
		||||
int styleable Theme_popupMenuStyle 2
 | 
			
		||||
int[] styleable View { 0x010100da, 0x7f010034, 0x7f010035 }
 | 
			
		||||
int styleable View_android_focusable 0
 | 
			
		||||
int styleable View_paddingEnd 2
 | 
			
		||||
int styleable View_paddingStart 1
 | 
			
		||||
@ -1,5 +0,0 @@
 | 
			
		||||
# cache for current jar dependency. DO NOT EDIT.
 | 
			
		||||
# format is <lastModified> <length> <SHA-1> <path>
 | 
			
		||||
# Encoding is UTF-8
 | 
			
		||||
1397601216283 627582 cb6883d96005bc85b3e868f204507ea5b4fa9bbf C:\Users\bspeice\git\MinimalBible\MinimalBible\libs\android-support-v4.jar
 | 
			
		||||
1397601220438 627582 cb6883d96005bc85b3e868f204507ea5b4fa9bbf C:\Users\bspeice\git\MinimalBible\appcompat_v7\libs\android-support-v4.jar
 | 
			
		||||
| 
		 Before Width: | Height: | Size: 188 B  | 
| 
		 Before Width: | Height: | Size: 121 B  | 
| 
		 Before Width: | Height: | Size: 2.6 KiB  | 
| 
		 Before Width: | Height: | Size: 173 B  | 
| 
		 Before Width: | Height: | Size: 122 B  | 
| 
		 Before Width: | Height: | Size: 2.0 KiB  | 
| 
		 Before Width: | Height: | Size: 195 B  | 
| 
		 Before Width: | Height: | Size: 124 B  | 
| 
		 Before Width: | Height: | Size: 3.1 KiB  | 
| 
		 Before Width: | Height: | Size: 230 B  | 
| 
		 Before Width: | Height: | Size: 133 B  | 
| 
		 Before Width: | Height: | Size: 4.7 KiB  | 
@ -1,11 +1,6 @@
 | 
			
		||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    xmlns:tools="http://schemas.android.com/tools"
 | 
			
		||||
    android:layout_width="match_parent"
 | 
			
		||||
    android:layout_height="match_parent"
 | 
			
		||||
    android:paddingBottom="@dimen/activity_vertical_margin"
 | 
			
		||||
    android:paddingLeft="@dimen/activity_horizontal_margin"
 | 
			
		||||
    android:paddingRight="@dimen/activity_horizontal_margin"
 | 
			
		||||
    android:paddingTop="@dimen/activity_vertical_margin"
 | 
			
		||||
    tools:context=".DownloaderActivity" >
 | 
			
		||||
 | 
			
		||||
</RelativeLayout>
 | 
			
		||||
<android.support.v4.view.ViewPager xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    xmlns:tools="http://schemas.android.com/tools"
 | 
			
		||||
    android:id="@+id/pager"
 | 
			
		||||
    android:layout_width="match_parent"
 | 
			
		||||
    android:layout_height="match_parent"
 | 
			
		||||
    tools:context="org.bspeice.minimalbible.activities.downloader.DownloaderActivity" />
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										16
									
								
								MinimalBible/res/layout/fragment_downloader.xml
									
									
									
									
									
										Normal file
									
								
							
							
						
						@ -0,0 +1,16 @@
 | 
			
		||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    xmlns:tools="http://schemas.android.com/tools"
 | 
			
		||||
    android:layout_width="match_parent"
 | 
			
		||||
    android:layout_height="match_parent"
 | 
			
		||||
    android:paddingBottom="@dimen/activity_vertical_margin"
 | 
			
		||||
    android:paddingLeft="@dimen/activity_horizontal_margin"
 | 
			
		||||
    android:paddingRight="@dimen/activity_horizontal_margin"
 | 
			
		||||
    android:paddingTop="@dimen/activity_vertical_margin"
 | 
			
		||||
    tools:context="org.bspeice.minimalbible.DownloaderActivity$PlaceholderFragment" >
 | 
			
		||||
 | 
			
		||||
    <TextView
 | 
			
		||||
        android:id="@+id/section_label"
 | 
			
		||||
        android:layout_width="wrap_content"
 | 
			
		||||
        android:layout_height="wrap_content" />
 | 
			
		||||
 | 
			
		||||
</RelativeLayout>
 | 
			
		||||
@ -1,9 +1,12 @@
 | 
			
		||||
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
 | 
			
		||||
 | 
			
		||||
    <item
 | 
			
		||||
        android:id="@+id/action_settings"
 | 
			
		||||
        android:orderInCategory="100"
 | 
			
		||||
        android:showAsAction="never"
 | 
			
		||||
        android:title="@string/action_settings"/>
 | 
			
		||||
 | 
			
		||||
</menu>
 | 
			
		||||
<menu xmlns:android="http://schemas.android.com/apk/res/android"
 | 
			
		||||
    xmlns:app="http://schemas.android.com/apk/res-auto"
 | 
			
		||||
    xmlns:tools="http://schemas.android.com/tools"
 | 
			
		||||
    tools:context="org.bspeice.minimalbible.DownloaderActivity" >
 | 
			
		||||
 | 
			
		||||
    <item
 | 
			
		||||
        android:id="@+id/action_settings"
 | 
			
		||||
        android:orderInCategory="100"
 | 
			
		||||
        android:title="@string/action_settings"
 | 
			
		||||
        app:showAsAction="never"/>
 | 
			
		||||
 | 
			
		||||
</menu>
 | 
			
		||||
 | 
			
		||||
@ -3,11 +3,8 @@ package org.bspeice.minimalbible;
 | 
			
		||||
import org.bspeice.minimalbible.activities.NavigationDrawerFragment;
 | 
			
		||||
import org.bspeice.minimalbible.activities.downloader.DownloaderActivity;
 | 
			
		||||
 | 
			
		||||
import com.readystatesoftware.systembartint.SystemBarTintManager;
 | 
			
		||||
 | 
			
		||||
import android.app.Activity;
 | 
			
		||||
import android.content.Intent;
 | 
			
		||||
import android.graphics.Color;
 | 
			
		||||
import android.os.Build;
 | 
			
		||||
import android.os.Bundle;
 | 
			
		||||
import android.support.v4.app.Fragment;
 | 
			
		||||
@ -22,6 +19,8 @@ import android.view.View;
 | 
			
		||||
import android.view.ViewGroup;
 | 
			
		||||
import android.widget.TextView;
 | 
			
		||||
 | 
			
		||||
import com.readystatesoftware.systembartint.SystemBarTintManager;
 | 
			
		||||
 | 
			
		||||
public class BibleViewer extends ActionBarActivity implements
 | 
			
		||||
		NavigationDrawerFragment.NavigationDrawerCallbacks {
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
@ -2,6 +2,11 @@ package org.bspeice.minimalbible;
 | 
			
		||||
 | 
			
		||||
public class MinimalBibleConstants {
 | 
			
		||||
	
 | 
			
		||||
	public static final String DOWNLOAD_PREFS_FILE = "DOWNLOADER_PREFERENCES";
 | 
			
		||||
	public static class DownloadPreferences {
 | 
			
		||||
		public static final String DOWNLOAD_PREFS_FILE = "DOWNLOADER_PREFERENCES";
 | 
			
		||||
	
 | 
			
		||||
		public static final String KEY_DOWNLOAD_ENABLED = "HAS_ENABLED_DOWNLOAD";
 | 
			
		||||
		public static final String KEY_PERM_DISABLE_DOWNLOAD = "PERMANENTLY_DISABLE_DOWNLOAD";
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@ -1,28 +1,19 @@
 | 
			
		||||
package org.bspeice.minimalbible.activities;
 | 
			
		||||
 | 
			
		||||
import org.bspeice.minimalbible.R;
 | 
			
		||||
import org.bspeice.minimalbible.R.drawable;
 | 
			
		||||
import org.bspeice.minimalbible.R.id;
 | 
			
		||||
import org.bspeice.minimalbible.R.layout;
 | 
			
		||||
import org.bspeice.minimalbible.R.menu;
 | 
			
		||||
import org.bspeice.minimalbible.R.string;
 | 
			
		||||
import org.bspeice.minimalbible.activities.downloader.DownloaderActivity;
 | 
			
		||||
 | 
			
		||||
import com.readystatesoftware.systembartint.SystemBarTintManager;
 | 
			
		||||
 | 
			
		||||
import android.support.v7.app.ActionBarActivity;
 | 
			
		||||
import android.app.Activity;
 | 
			
		||||
import android.support.v7.app.ActionBar;
 | 
			
		||||
import android.support.v4.app.Fragment;
 | 
			
		||||
import android.support.v4.app.ActionBarDrawerToggle;
 | 
			
		||||
import android.support.v4.view.GravityCompat;
 | 
			
		||||
import android.support.v4.widget.DrawerLayout;
 | 
			
		||||
import android.content.Intent;
 | 
			
		||||
import android.content.SharedPreferences;
 | 
			
		||||
import android.content.res.Configuration;
 | 
			
		||||
import android.os.Build;
 | 
			
		||||
import android.os.Bundle;
 | 
			
		||||
import android.preference.PreferenceManager;
 | 
			
		||||
import android.support.v4.app.ActionBarDrawerToggle;
 | 
			
		||||
import android.support.v4.app.Fragment;
 | 
			
		||||
import android.support.v4.view.GravityCompat;
 | 
			
		||||
import android.support.v4.widget.DrawerLayout;
 | 
			
		||||
import android.support.v7.app.ActionBar;
 | 
			
		||||
import android.support.v7.app.ActionBarActivity;
 | 
			
		||||
import android.view.LayoutInflater;
 | 
			
		||||
import android.view.Menu;
 | 
			
		||||
import android.view.MenuInflater;
 | 
			
		||||
@ -34,6 +25,8 @@ import android.widget.ArrayAdapter;
 | 
			
		||||
import android.widget.ListView;
 | 
			
		||||
import android.widget.Toast;
 | 
			
		||||
 | 
			
		||||
import com.readystatesoftware.systembartint.SystemBarTintManager;
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * Fragment used for managing interactions for and presentation of a navigation
 | 
			
		||||
 * drawer. See the <a href=
 | 
			
		||||
 | 
			
		||||
@ -1,76 +1,243 @@
 | 
			
		||||
package org.bspeice.minimalbible.activities.downloader;
 | 
			
		||||
 | 
			
		||||
import org.bspeice.minimalbible.MinimalBibleConstants;
 | 
			
		||||
import org.bspeice.minimalbible.R;
 | 
			
		||||
 | 
			
		||||
import android.app.Activity;
 | 
			
		||||
import android.app.AlertDialog;
 | 
			
		||||
import android.content.DialogInterface;
 | 
			
		||||
import android.content.SharedPreferences;
 | 
			
		||||
import android.os.Bundle;
 | 
			
		||||
import android.view.Menu;
 | 
			
		||||
import android.widget.Toast;
 | 
			
		||||
 | 
			
		||||
public class DownloaderActivity extends Activity {
 | 
			
		||||
	
 | 
			
		||||
	private static final String KEY_DOWNLOAD_ENABLED = "HAS_ENABLED_DOWNLOAD";
 | 
			
		||||
	public static final String KEY_PERM_DISABLE_DOWNLOAD = "PERMANENTLY_DISABLE_DOWNLOAD";
 | 
			
		||||
 | 
			
		||||
	@Override
 | 
			
		||||
	protected void onCreate(Bundle savedInstanceState) {
 | 
			
		||||
		super.onCreate(savedInstanceState);
 | 
			
		||||
		setContentView(R.layout.activity_downloader);
 | 
			
		||||
		
 | 
			
		||||
		// Display a warning about internet connectivity
 | 
			
		||||
		displayInternetWarning();
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	@Override
 | 
			
		||||
	public boolean onCreateOptionsMenu(Menu menu) {
 | 
			
		||||
		// Inflate the menu; this adds items to the action bar if it is present.
 | 
			
		||||
		getMenuInflater().inflate(R.menu.downloader, menu);
 | 
			
		||||
		return true;
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	private void displayInternetWarning() {
 | 
			
		||||
		SharedPreferences prefs = getSharedPreferences(MinimalBibleConstants.DOWNLOAD_PREFS_FILE, MODE_PRIVATE);
 | 
			
		||||
		
 | 
			
		||||
		// If downloading has not been enabled, or user has permanently disabled downloading, WARN THEM!
 | 
			
		||||
		if (!prefs.getBoolean(KEY_DOWNLOAD_ENABLED, false) || prefs.getBoolean(KEY_PERM_DISABLE_DOWNLOAD, false)) {
 | 
			
		||||
			AlertDialog.Builder builder = new AlertDialog.Builder(this);
 | 
			
		||||
			DownloadDialogListener dialogListener = new DownloadDialogListener();
 | 
			
		||||
			builder.setMessage("About to contact servers to download content. Continue?")
 | 
			
		||||
				.setPositiveButton("Yes", dialogListener).setNegativeButton("No", dialogListener)
 | 
			
		||||
				.setCancelable(false).show();
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	private void downloadModules() {
 | 
			
		||||
		
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	private class DownloadDialogListener implements DialogInterface.OnClickListener {
 | 
			
		||||
		@Override
 | 
			
		||||
		public void onClick(DialogInterface dialog, int which) {
 | 
			
		||||
			switch (which){
 | 
			
		||||
			case DialogInterface.BUTTON_POSITIVE:
 | 
			
		||||
				// Clicked ready to continue - allow downloading in the future
 | 
			
		||||
				SharedPreferences prefs = getSharedPreferences(MinimalBibleConstants.DOWNLOAD_PREFS_FILE, MODE_PRIVATE);
 | 
			
		||||
				prefs.edit().putBoolean(KEY_DOWNLOAD_ENABLED, true).commit();
 | 
			
		||||
				
 | 
			
		||||
				// And warn them that it has been enabled in the future.
 | 
			
		||||
				Toast.makeText(DownloaderActivity.this,
 | 
			
		||||
						"Downloading now enabled. Disable in settings.", Toast.LENGTH_SHORT).show();
 | 
			
		||||
				downloadModules();
 | 
			
		||||
				break;
 | 
			
		||||
				
 | 
			
		||||
			case DialogInterface.BUTTON_NEGATIVE:
 | 
			
		||||
				// Not going to continue, still show what has
 | 
			
		||||
				// already been downloaded.
 | 
			
		||||
				break;
 | 
			
		||||
			}
 | 
			
		||||
			
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
package org.bspeice.minimalbible.activities.downloader;
 | 
			
		||||
 | 
			
		||||
import java.util.Locale;
 | 
			
		||||
 | 
			
		||||
import org.bspeice.minimalbible.MinimalBibleConstants.DownloadPreferences;
 | 
			
		||||
import org.bspeice.minimalbible.R;
 | 
			
		||||
 | 
			
		||||
import android.app.AlertDialog;
 | 
			
		||||
import android.content.DialogInterface;
 | 
			
		||||
import android.content.SharedPreferences;
 | 
			
		||||
import android.os.Bundle;
 | 
			
		||||
import android.support.v4.app.Fragment;
 | 
			
		||||
import android.support.v4.app.FragmentManager;
 | 
			
		||||
import android.support.v4.app.FragmentPagerAdapter;
 | 
			
		||||
import android.support.v4.app.FragmentTransaction;
 | 
			
		||||
import android.support.v4.view.ViewPager;
 | 
			
		||||
import android.support.v7.app.ActionBar;
 | 
			
		||||
import android.support.v7.app.ActionBarActivity;
 | 
			
		||||
import android.view.LayoutInflater;
 | 
			
		||||
import android.view.Menu;
 | 
			
		||||
import android.view.MenuItem;
 | 
			
		||||
import android.view.View;
 | 
			
		||||
import android.view.ViewGroup;
 | 
			
		||||
import android.widget.TextView;
 | 
			
		||||
import android.widget.Toast;
 | 
			
		||||
 | 
			
		||||
public class DownloaderActivity extends ActionBarActivity implements
 | 
			
		||||
		ActionBar.TabListener {
 | 
			
		||||
 | 
			
		||||
	/**
 | 
			
		||||
	 * The {@link android.support.v4.view.PagerAdapter} that will provide
 | 
			
		||||
	 * fragments for each of the sections. We use a {@link FragmentPagerAdapter}
 | 
			
		||||
	 * derivative, which will keep every loaded fragment in memory. If this
 | 
			
		||||
	 * becomes too memory intensive, it may be best to switch to a
 | 
			
		||||
	 * {@link android.support.v4.app.FragmentStatePagerAdapter}.
 | 
			
		||||
	 */
 | 
			
		||||
	SectionsPagerAdapter mSectionsPagerAdapter;
 | 
			
		||||
 | 
			
		||||
	/**
 | 
			
		||||
	 * The {@link ViewPager} that will host the section contents.
 | 
			
		||||
	 */
 | 
			
		||||
	ViewPager mViewPager;
 | 
			
		||||
 | 
			
		||||
	@Override
 | 
			
		||||
	protected void onCreate(Bundle savedInstanceState) {
 | 
			
		||||
		super.onCreate(savedInstanceState);
 | 
			
		||||
		setContentView(R.layout.activity_downloader);
 | 
			
		||||
 | 
			
		||||
		// Set up the action bar.
 | 
			
		||||
		final ActionBar actionBar = getSupportActionBar();
 | 
			
		||||
		actionBar.setNavigationMode(ActionBar.NAVIGATION_MODE_TABS);
 | 
			
		||||
 | 
			
		||||
		// Create the adapter that will return a fragment for each of the three
 | 
			
		||||
		// primary sections of the activity.
 | 
			
		||||
		mSectionsPagerAdapter = new SectionsPagerAdapter(
 | 
			
		||||
				getSupportFragmentManager());
 | 
			
		||||
 | 
			
		||||
		// Set up the ViewPager with the sections adapter.
 | 
			
		||||
		mViewPager = (ViewPager) findViewById(R.id.pager);
 | 
			
		||||
		mViewPager.setAdapter(mSectionsPagerAdapter);
 | 
			
		||||
 | 
			
		||||
		// When swiping between different sections, select the corresponding
 | 
			
		||||
		// tab. We can also use ActionBar.Tab#select() to do this if we have
 | 
			
		||||
		// a reference to the Tab.
 | 
			
		||||
		mViewPager
 | 
			
		||||
				.setOnPageChangeListener(new ViewPager.SimpleOnPageChangeListener() {
 | 
			
		||||
					@Override
 | 
			
		||||
					public void onPageSelected(int position) {
 | 
			
		||||
						actionBar.setSelectedNavigationItem(position);
 | 
			
		||||
					}
 | 
			
		||||
				});
 | 
			
		||||
 | 
			
		||||
		// For each of the sections in the app, add a tab to the action bar.
 | 
			
		||||
		for (int i = 0; i < mSectionsPagerAdapter.getCount(); i++) {
 | 
			
		||||
			// Create a tab with text corresponding to the page title defined by
 | 
			
		||||
			// the adapter. Also specify this Activity object, which implements
 | 
			
		||||
			// the TabListener interface, as the callback (listener) for when
 | 
			
		||||
			// this tab is selected.
 | 
			
		||||
			actionBar.addTab(actionBar.newTab()
 | 
			
		||||
					.setText(mSectionsPagerAdapter.getPageTitle(i))
 | 
			
		||||
					.setTabListener(this));
 | 
			
		||||
		}
 | 
			
		||||
		
 | 
			
		||||
		// Display a warning about internet connectivity
 | 
			
		||||
		displayInternetWarning();
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	@Override
 | 
			
		||||
	public boolean onCreateOptionsMenu(Menu menu) {
 | 
			
		||||
 | 
			
		||||
		// Inflate the menu; this adds items to the action bar if it is present.
 | 
			
		||||
		getMenuInflater().inflate(R.menu.downloader, menu);
 | 
			
		||||
		return true;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	@Override
 | 
			
		||||
	public boolean onOptionsItemSelected(MenuItem item) {
 | 
			
		||||
		// Handle action bar item clicks here. The action bar will
 | 
			
		||||
		// automatically handle clicks on the Home/Up button, so long
 | 
			
		||||
		// as you specify a parent activity in AndroidManifest.xml.
 | 
			
		||||
		int id = item.getItemId();
 | 
			
		||||
		if (id == R.id.action_settings) {
 | 
			
		||||
			return true;
 | 
			
		||||
		}
 | 
			
		||||
		return super.onOptionsItemSelected(item);
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	@Override
 | 
			
		||||
	public void onTabSelected(ActionBar.Tab tab,
 | 
			
		||||
			FragmentTransaction fragmentTransaction) {
 | 
			
		||||
		// When the given tab is selected, switch to the corresponding page in
 | 
			
		||||
		// the ViewPager.
 | 
			
		||||
		mViewPager.setCurrentItem(tab.getPosition());
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	@Override
 | 
			
		||||
	public void onTabUnselected(ActionBar.Tab tab,
 | 
			
		||||
			FragmentTransaction fragmentTransaction) {
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	@Override
 | 
			
		||||
	public void onTabReselected(ActionBar.Tab tab,
 | 
			
		||||
			FragmentTransaction fragmentTransaction) {
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/**
 | 
			
		||||
	 * A {@link FragmentPagerAdapter} that returns a fragment corresponding to
 | 
			
		||||
	 * one of the sections/tabs/pages.
 | 
			
		||||
	 */
 | 
			
		||||
	public class SectionsPagerAdapter extends FragmentPagerAdapter {
 | 
			
		||||
 | 
			
		||||
		public SectionsPagerAdapter(FragmentManager fm) {
 | 
			
		||||
			super(fm);
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		@Override
 | 
			
		||||
		public Fragment getItem(int position) {
 | 
			
		||||
			// getItem is called to instantiate the fragment for the given page.
 | 
			
		||||
			// Return a PlaceholderFragment (defined as a static inner class
 | 
			
		||||
			// below).
 | 
			
		||||
			return PlaceholderFragment.newInstance(position + 1);
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		@Override
 | 
			
		||||
		public int getCount() {
 | 
			
		||||
			// Show 3 total pages.
 | 
			
		||||
			return 3;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		@Override
 | 
			
		||||
		public CharSequence getPageTitle(int position) {
 | 
			
		||||
			Locale l = Locale.getDefault();
 | 
			
		||||
			switch (position) {
 | 
			
		||||
			case 0:
 | 
			
		||||
				return getString(R.string.title_section1).toUpperCase(l);
 | 
			
		||||
			case 1:
 | 
			
		||||
				return getString(R.string.title_section2).toUpperCase(l);
 | 
			
		||||
			case 2:
 | 
			
		||||
				return getString(R.string.title_section3).toUpperCase(l);
 | 
			
		||||
			}
 | 
			
		||||
			return null;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
	/**
 | 
			
		||||
	 * A placeholder fragment containing a simple view.
 | 
			
		||||
	 */
 | 
			
		||||
	public static class PlaceholderFragment extends Fragment {
 | 
			
		||||
		/**
 | 
			
		||||
		 * The fragment argument representing the section number for this
 | 
			
		||||
		 * fragment.
 | 
			
		||||
		 */
 | 
			
		||||
		private static final String ARG_SECTION_NUMBER = "section_number";
 | 
			
		||||
 | 
			
		||||
		/**
 | 
			
		||||
		 * Returns a new instance of this fragment for the given section number.
 | 
			
		||||
		 */
 | 
			
		||||
		public static PlaceholderFragment newInstance(int sectionNumber) {
 | 
			
		||||
			PlaceholderFragment fragment = new PlaceholderFragment();
 | 
			
		||||
			Bundle args = new Bundle();
 | 
			
		||||
			args.putInt(ARG_SECTION_NUMBER, sectionNumber);
 | 
			
		||||
			fragment.setArguments(args);
 | 
			
		||||
			return fragment;
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		public PlaceholderFragment() {
 | 
			
		||||
		}
 | 
			
		||||
 | 
			
		||||
		@Override
 | 
			
		||||
		public View onCreateView(LayoutInflater inflater, ViewGroup container,
 | 
			
		||||
				Bundle savedInstanceState) {
 | 
			
		||||
			View rootView = inflater.inflate(R.layout.fragment_downloader,
 | 
			
		||||
					container, false);
 | 
			
		||||
			TextView textView = (TextView) rootView
 | 
			
		||||
					.findViewById(R.id.section_label);
 | 
			
		||||
			textView.setText(Integer.toString(getArguments().getInt(
 | 
			
		||||
					ARG_SECTION_NUMBER)));
 | 
			
		||||
			return rootView;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	private void displayInternetWarning() {
 | 
			
		||||
		SharedPreferences prefs = getSharedPreferences(DownloadPreferences.DOWNLOAD_PREFS_FILE, MODE_PRIVATE);
 | 
			
		||||
		
 | 
			
		||||
		// If downloading has not been enabled, or user has permanently disabled downloading, WARN THEM!
 | 
			
		||||
		if (!prefs.getBoolean(DownloadPreferences.KEY_DOWNLOAD_ENABLED, false) || prefs.getBoolean(DownloadPreferences.KEY_PERM_DISABLE_DOWNLOAD, false)) {
 | 
			
		||||
			AlertDialog.Builder builder = new AlertDialog.Builder(this);
 | 
			
		||||
			DownloadDialogListener dialogListener = new DownloadDialogListener();
 | 
			
		||||
			builder.setMessage("About to contact servers to download content. Continue?")
 | 
			
		||||
				.setPositiveButton("Yes", dialogListener).setNegativeButton("No", dialogListener)
 | 
			
		||||
				.setCancelable(false).show();
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	private void downloadModules() {
 | 
			
		||||
		
 | 
			
		||||
	}
 | 
			
		||||
	
 | 
			
		||||
	private class DownloadDialogListener implements DialogInterface.OnClickListener {
 | 
			
		||||
		@Override
 | 
			
		||||
		public void onClick(DialogInterface dialog, int which) {
 | 
			
		||||
			switch (which){
 | 
			
		||||
			case DialogInterface.BUTTON_POSITIVE:
 | 
			
		||||
				// Clicked ready to continue - allow downloading in the future
 | 
			
		||||
				SharedPreferences prefs = getSharedPreferences(DownloadPreferences.DOWNLOAD_PREFS_FILE, MODE_PRIVATE);
 | 
			
		||||
				prefs.edit().putBoolean(DownloadPreferences.KEY_DOWNLOAD_ENABLED, true).commit();
 | 
			
		||||
				
 | 
			
		||||
				// And warn them that it has been enabled in the future.
 | 
			
		||||
				Toast.makeText(DownloaderActivity.this,
 | 
			
		||||
						"Downloading now enabled. Disable in settings.", Toast.LENGTH_SHORT).show();
 | 
			
		||||
				downloadModules();
 | 
			
		||||
				break;
 | 
			
		||||
				
 | 
			
		||||
			case DialogInterface.BUTTON_NEGATIVE:
 | 
			
		||||
				// Not going to continue, still show what has
 | 
			
		||||
				// already been downloaded.
 | 
			
		||||
				break;
 | 
			
		||||
			}
 | 
			
		||||
			
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||