- Switching between sibling elements
- Action bar can do this through tabs, or spinners
- "Implementing Effective Navigation"
- Action Bar compatibility for 2.1+ * No need to rush off ABS, but for new apps, go for ActionBarCompat
- View Pager
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta name="viewport" content="user-scalable=0"> | |
| <link href="ext-touch.css" rel="stylesheet"> | |
| <style> | |
| #body_panel { | |
| background-color: #efefef; | |
| display: block; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package ca.demo.demolistview.complex; | |
| import java.util.ArrayList; | |
| import java.util.List; | |
| import android.app.Activity; | |
| import android.os.Bundle; | |
| import android.view.View; | |
| import android.view.ViewGroup; | |
| import android.widget.AdapterView; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public void displayStackTrace(Exception e) { | |
| StringWriter sw = new StringWriter(); | |
| PrintWriter pw = new PrintWriter(sw); | |
| e.printStackTrace(pw); | |
| mText.append("\n\nSTACK TRACE \n" + sw.toString()); | |
| Log.i(TAG, sw.toString()); | |
| } |
NewerOlder