CameraExample
0.1
|
This class controls activities that displays the information page. More...
Public Member Functions | |
boolean | onOptionsItemSelected (MenuItem item) |
Protected Member Functions | |
void | onCreate (Bundle savedInstanceState) |
Method called when activity is created. This method sets the content view to activity_display_info, then creates an WebView view on which it displays the help information. The help information is stored in an an HTML file in the assets directory. R.string.about_text gives the location of the file. More... | |
Private Member Functions | |
void | setupActionBar () |
This class controls activities that displays the information page.
Definition at line 21 of file DisplayInfoActivity.java.
|
protected |
Method called when activity is created. This method sets the content view to activity_display_info, then creates an WebView view on which it displays the help information. The help information is stored in an an HTML file in the assets directory. R.string.about_text gives the location of the file.
More on scrolling from http://stackoverflow.com/questions/16623337/how-to-scroll-table-layout-in-horizontal-and-vertical-in-android
savedInstanceState |
Webview information at http://stackoverflow.com/questions/3295381/android-html-resource-with-references-to-other-resources
Definition at line 36 of file DisplayInfoActivity.java.
edu.clemson.cameraexample.DisplayInfoActivity.onOptionsItemSelected | ( | MenuItem | item | ) |
This ID represents the Home or Up button. In the case of this activity, the Up button is shown. Use NavUtils to allow users to navigate up one level in the application structure. For more details, see the Navigation pattern on Android Design:
http://developer.android.com/design/patterns/navigation.html#up-vs-back
item | The MenuItem |
Definition at line 86 of file DisplayInfoActivity.java.
|
private |
Set up the android.app.ActionBar, if the API is available. This enables the up/home button to allow users to return to the main screen.
Definition at line 65 of file DisplayInfoActivity.java.