This app is make up of many samples about how to use android support libraries(v4 & v7). Some of codes are copied from Android official samples and others are written by me. For now, not all samples all finished. Welcome to fock and make a pull request to this repository in oder to make the samples clear..
HowToUseSupportLibrary is hosted in the following web site
https://github.com/dubiao/HowToUseSupportLibrary
If you think the Android project HowToUseSupportLibrary listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
The following table is the detailed list of HowToUseSupportLibrary.
Item | Value |
---|---|
Java File Count | 135 |
Supported screen sizes | [xxxhdpi, ldrtlxxxhdpi, ldrtlmdpi, mdpi, xxhdpi, hdpi, xhdpi, ldrtlhdpi, ldrtlxxhdpi, ldrtlxhdpi] |
Minimum SDK Version | 13 |
Activity Count | 167 |
Fragment Count | 36 |
jar files used | classes-177224d28d709cef5d5d50528ced718a83d00ce8.jar classes-2445d35c1a5220e992ff48e2e6ce39cbabcc17ef.jar classes-38a131fc8dd36527139f70c4ef74931044f8d5c4.jar classes-40ec298ae5d5b86b304c43b76c470dfa0264cab9.jar classes-5ae69f65a1fce8a60882bd85c2d67d0b14d52f13.jar classes-638464bae9cd39b21346df8d228cdebf7a2a4ae4.jar classes-666f93debbf946500c39163af621db73d6aaf194.jar classes-6bdc26d72b96b59688434cd6c1fd66dc6e4368bd.jar classes-99b14774796ca71e9fa636672c7eaa466af428ff.jar classes-cee94c367297242d7af98eed8e79f2e28b1d35f9.jar classes-f0d18d38f8e758e96d56f9ba262a2400e13c99dc.jar classes-f7fdc1148ee12d7a3a504f603660a09c8a117d75.jar classes.jar classes.jar classes.jar classes.jar classes.jar classes.jar classes.jar classes.jar classes.jar classes.jar classes.jar classes.jar classes.jar internal_impl-21.0.2-815cfff389eb817c2902d0972d7fc8fff7e349ec.jar internal_impl-21.0.2-ac02eabe774af07b5480ae8f3f595073e1386794.jar internal_impl-21.0.2-c0e3a8fa51003972ebf53a2d4f453ea958f9ec22.jar internal_impl-21.0.2-ce4dfff9a554f9c9e3eb5405b58feb9e96e4815e.jar internal_impl-21.0.2-f494b757978adf92bf141b33f2ed5028ed8959e1.jar internal_impl-21.0.2-fe560f58c563c8ad0772c592c70207b3a78bad70.jar internal_impl-21.0.2.jar internal_impl-21.0.2.jar internal_impl-21.0.2.jar internal_impl-21.0.2.jar internal_impl-21.0.2.jar internal_impl-21.0.2.jar support-annotations-21.0.2-3486ee7d9469ce2a11f9273ee29315d4d483f273.jar support-annotations-21.0.2-3486ee7d9469ce2a11f9273ee29315d4d483f273.jar support-annotations-21.0.2-3486ee7d9469ce2a11f9273ee29315d4d483f273.jar support-annotations-21.0.2-3486ee7d9469ce2a11f9273ee29315d4d483f273.jar |
Required Permissions | android.permission.INTERNET android.permission.READ_CONTACTS android.permission.READ_EXTERNAL_STORAGE android.permission.SYSTEM_ALERT_WINDOW android.permission.WAKE_LOCK |
Raw File Names | res\debug\raw\videoviewdemo.mp4 res\raw\videoviewdemo.mp4 |
There are 60 image files in HowToUseSupportLibrary. The names of the image files are listed as follows.
abc_ab_share_pack_holo_dark.9.png abc_ab_share_pack_holo_light.9.png abc_btn_check_to_on_mtrl_000.png abc_btn_check_to_on_mtrl_015.png abc_btn_radio_to_on_mtrl_000.png abc_btn_radio_to_on_mtrl_015.png abc_btn_switch_to_on_mtrl_00001.9.png abc_btn_switch_to_on_mtrl_00012.9.png abc_cab_background_top_mtrl_alpha.9.png abc_ic_ab_back_mtrl_am_alpha.png abc_ic_clear_mtrl_alpha.png abc_ic_commit_search_api_mtrl_alpha.png abc_ic_go_search_api_mtrl_alpha.png abc_ic_menu_copy_mtrl_am_alpha.png abc_ic_menu_cut_mtrl_alpha.png abc_ic_menu_moreoverflow_mtrl_alpha.png abc_ic_menu_paste_mtrl_am_alpha.png abc_ic_menu_selectall_mtrl_alpha.png abc_ic_menu_share_mtrl_alpha.png abc_ic_search_api_mtrl_alpha.png abc_ic_voice_search_api_mtrl_alpha.png abc_list_focused_holo.9.png abc_list_longpressed_holo.9.png abc_list_pressed_holo_dark.9.png abc_list_pressed_holo_light.9.png abc_list_selector_disabled_holo_dark.9.png abc_list_selector_disabled_holo_light.9.png abc_menu_hardkey_panel_mtrl_mult.9.png abc_popup_background_mtrl_mult.9.png abc_spinner_mtrl_am_alpha.9.png abc_switch_track_mtrl_alpha.9.png abc_tab_indicator_mtrl_alpha.9.png abc_textfield_activated_mtrl_alpha.9.png abc_textfield_default_mtrl_alpha.9.png alert_dialog_icon.png apidemo_androidlogo.png app_sample_code.png drawer_shadow.9.png ic_drawer.png ic_drawer_am.png ic_launcher_settings.png ic_media_pause.png ic_media_play.png ic_media_stop.png ic_menu_add.png ic_menu_delete.png mr_ic_audio_vol.png mr_ic_media_route_disabled_holo_dark.png mr_ic_media_route_disabled_holo_light.png mr_ic_media_route_off_holo_dark.png mr_ic_media_route_off_holo_light.png mr_ic_media_route_on_0_holo_dark.png mr_ic_media_route_on_0_holo_light.png mr_ic_media_route_on_1_holo_dark.png mr_ic_media_route_on_1_holo_light.png mr_ic_media_route_on_2_holo_dark.png mr_ic_media_route_on_2_holo_light.png mr_ic_media_route_on_holo_dark.png mr_ic_media_route_on_holo_light.png refresh.png
The following screenshort is generated from the image listed above.
HowToUseSupportLibrary has the following Java source files.
com.example.android.cardview.BuildConfig.java com.example.android.cardview.CardViewActivity.java com.example.android.cardview.CardViewFragment.java com.example.android.support.appnavigation.BuildConfig.java com.example.android.support.appnavigation.app.ActionBarCompat.java com.example.android.support.appnavigation.app.AppNavHomeActivity.java com.example.android.support.appnavigation.app.ContentCategoryActivity.java com.example.android.support.appnavigation.app.ContentViewActivity.java com.example.android.support.appnavigation.app.InterstitialMessageActivity.java com.example.android.support.appnavigation.app.NotificationsActivity.java com.example.android.support.appnavigation.app.OutsideTaskActivity.java com.example.android.support.appnavigation.app.PeerActivity.java com.example.android.support.appnavigation.app.SimpleUpActivity.java com.example.android.support.appnavigation.app.ViewFromOtherTaskActivity.java com.example.android.supportv13.BuildConfig.java com.example.android.supportv13.Cheeses.java com.example.android.supportv13.Shakespeare.java com.example.android.supportv13.Support13Demos.java com.example.android.supportv13.app.ActionBarTabsPager.java com.example.android.supportv13.app.CountingFragment.java com.example.android.supportv13.app.CursorFragment.java com.example.android.supportv13.app.FragmentNestingPagerSupport.java com.example.android.supportv13.app.FragmentNestingStatePagerSupport.java com.example.android.supportv13.app.FragmentPagerSupport.java com.example.android.supportv13.app.FragmentStatePagerSupport.java com.example.android.supportv13.app.FragmentTabsFragment.java com.example.android.supportv13.view.CheckableFrameLayout.java com.example.android.supportv4.BuildConfig.java com.example.android.supportv4.Cheeses.java com.example.android.supportv4.Shakespeare.java com.example.android.supportv4.Support4Demos.java com.example.android.supportv4.accessibility.AccessibilityDelegateSupportActivity.java com.example.android.supportv4.accessibility.AccessibilityManagerSupportActivity.java com.example.android.supportv4.app.FragmentAlertDialogSupport.java com.example.android.supportv4.app.FragmentArgumentsSupport.java com.example.android.supportv4.app.FragmentContextMenuSupport.java com.example.android.supportv4.app.FragmentCustomAnimationSupport.java com.example.android.supportv4.app.FragmentDialogOrActivitySupport.java com.example.android.supportv4.app.FragmentDialogSupport.java com.example.android.supportv4.app.FragmentHideShowSupport.java com.example.android.supportv4.app.FragmentLayoutSupport.java com.example.android.supportv4.app.FragmentListArraySupport.java com.example.android.supportv4.app.FragmentMenuFragmentSupport.java com.example.android.supportv4.app.FragmentMenuSupport.java com.example.android.supportv4.app.FragmentNestingTabsSupport.java com.example.android.supportv4.app.FragmentPagerSupport.java com.example.android.supportv4.app.FragmentReceiveResultSupport.java com.example.android.supportv4.app.FragmentRetainInstanceSupport.java com.example.android.supportv4.app.FragmentStackFragmentSupport.java com.example.android.supportv4.app.FragmentStackSupport.java com.example.android.supportv4.app.FragmentStatePagerSupport.java com.example.android.supportv4.app.FragmentTabs.java com.example.android.supportv4.app.FragmentTabsFragmentSupport.java com.example.android.supportv4.app.FragmentTabsPager.java com.example.android.supportv4.app.LoaderCursorSupport.java com.example.android.supportv4.app.LoaderCustomSupport.java com.example.android.supportv4.app.LoaderRetainedSupport.java com.example.android.supportv4.app.LoaderThrottleSupport.java com.example.android.supportv4.app.SendResult.java com.example.android.supportv4.app.SharingReceiverSupport.java com.example.android.supportv4.app.SharingSupport.java com.example.android.supportv4.content.FileProviderExample.java com.example.android.supportv4.content.LocalServiceBroadcaster.java com.example.android.supportv4.content.SharingSupportProvider.java com.example.android.supportv4.content.SimpleWakefulController.java com.example.android.supportv4.content.SimpleWakefulReceiver.java com.example.android.supportv4.content.SimpleWakefulService.java com.example.android.supportv4.media.MediaController.java com.example.android.supportv4.media.TransportControllerActivity.java com.example.android.supportv4.text.BidiFormatterSupport.java com.example.android.supportv4.view.CheckableFrameLayout.java com.example.android.supportv4.widget.ContentLoadingProgressBarActivity.java com.example.android.supportv4.widget.DrawerLayoutActivity.java com.example.android.supportv4.widget.ExploreByTouchHelperActivity.java com.example.android.supportv4.widget.SlidingPaneLayoutActivity.java com.example.android.supportv4.widget.SwipeRefreshLayoutActivity.java com.example.android.supportv7.BuildConfig.java com.example.android.supportv7.Cheeses.java com.example.android.supportv7.Shakespeare.java com.example.android.supportv7.Support7Demos.java com.example.android.supportv7.app.ActionBarDisplayOptions.java com.example.android.supportv7.app.ActionBarFragmentMenu.java com.example.android.supportv7.app.ActionBarMechanics.java com.example.android.supportv7.app.ActionBarSettingsActionProviderActivity.java com.example.android.supportv7.app.ActionBarTabs.java com.example.android.supportv7.app.ActionBarUsage.java com.example.android.supportv7.app.ActionBarWithDrawerLayout.java com.example.android.supportv7.graphics.PaletteActivity.java com.example.android.supportv7.graphics.PaletteDetailActivity.java com.example.android.supportv7.media.LocalPlayer.java com.example.android.supportv7.media.OverlayDisplayWindow.java com.example.android.supportv7.media.Player.java com.example.android.supportv7.media.RemotePlayer.java com.example.android.supportv7.media.SampleMediaButtonReceiver.java com.example.android.supportv7.media.SampleMediaRouteControllerDialog.java com.example.android.supportv7.media.SampleMediaRouteProviderService.java com.example.android.supportv7.media.SampleMediaRouterActivity.java com.example.android.supportv7.media.SessionManager.java com.example.android.supportv7.view.CardViewActivity.java com.example.android.supportv7.view.GridLayout1.java com.example.android.supportv7.view.GridLayout2.java com.example.android.supportv7.view.GridLayout3.java com.example.android.supportv7.widget.AnimatedRecyclerView.java com.example.android.supportv7.widget.BaseLayoutManagerActivity.java com.example.android.supportv7.widget.GridLayoutManagerActivity.java com.example.android.supportv7.widget.LinearLayoutManagerActivity.java com.example.android.supportv7.widget.RecyclerViewActivity.java com.example.android.supportv7.widget.adapter.SimpleStringAdapter.java com.example.android.supportv7.widget.decorator.DividerItemDecoration.java org.howto.usesupportlibrary.ApplicationTest.java org.howto.usesupportlibrary.BaseListActivity.java org.howto.usesupportlibrary.BaseListAdapter.java org.howto.usesupportlibrary.HowToListActivity.java org.howto.usesupportlibrary.common.SimpleStringAdapter.java org.howto.usesupportlibrary.v4.SwipeRefreshActivity.java org.howto.usesupportlibrary.v4.navigation.DrawerLayoutActionbar.java org.howto.usesupportlibrary.v4.navigation.DrawerLayoutToolbar.java org.howto.usesupportlibrary.v4.navigation.DrawerLayoutToolbarMaterial.java org.howto.usesupportlibrary.v4.navigation.SlidePanelActivity.java org.howto.usesupportlibrary.v4.viewpager.ColorPagerForTransformerTest.java org.howto.usesupportlibrary.v4.viewpager.DepthTransformer.java org.howto.usesupportlibrary.v4.viewpager.ViewPagerAdapter.java org.howto.usesupportlibrary.v4.viewpager.ViewPagerFragmentAdapter.java org.howto.usesupportlibrary.v4.viewpager.ViewPagerTest.java org.howto.usesupportlibrary.v4.viewpager.ZoomOutTransformer.java org.howto.usesupportlibrary.v7.CardViewActivity.java org.howto.usesupportlibrary.v7.GridLayoutFromCode.java org.howto.usesupportlibrary.v7.GridLayoutFromXML.java org.howto.usesupportlibrary.v7.RecyclerViewActivity.java org.howto.usesupportlibrary.v7.graphics.PaletteActivity.java org.howto.usesupportlibrary.v7.graphics.PaletteDetailActivity.java