- 博客(5)
- 资源 (3)
- 收藏
- 关注
原创 【English】Android -> Training -> Adding the Action Bar -> Saving Data -> sharedPreferences【1——004】
step 1 : Get a Handle to a SharedPreferencesContext context = getActivity(); SharedPreferences sharedPref = context.getSharedPreferences( getString(R.string.preference_file_key), Context
2014-09-08 00:13:23 631
原创 【English】Android -> Training -> Adding the Action Bar -> Styling the Action Bar
Theme.AppCompat for the "dark" theme.Theme.AppCompat.Light for the "light" theme.Theme.AppCompat.Light.DarkActionBar for the light theme with a dark action bar.
2014-09-07 18:20:41 487
原创 【English】Android -> Training -> Adding the Action Bar -> Adding Action Buttons
Setting up a basic action bar requires that your app use an activity theme that enables the action bar. How to request such a theme depends on which version of Android is the lowest supported by your
2014-09-07 17:20:10 412
原创 【English】Android -> Training -> Building Your First App -> Starting Another Activity
Starting Another Activity step 1 :
2014-09-06 23:12:36 452
原创 【English】Android -> Training -> Building a Dynamic UI with Fragment -> create a Fragment
build a fragment into activity step 1 : create a XML ( fragment_view.xml ) xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent" android:layout_he
2014-09-06 22:25:53 600
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人