summaryrefslogtreecommitdiffstats
path: root/tests/DpiTest/src/com/google
diff options
context:
space:
mode:
authorDianne Hackborn <hackbod@google.com>2009-06-25 19:48:04 -0700
committerDianne Hackborn <hackbod@google.com>2009-06-26 13:37:05 -0700
commit723738cfaec3dd7b0fe152c872c41bebf94074c4 (patch)
tree421ddeed166d0a4586c9460c4de581307bf08d44 /tests/DpiTest/src/com/google
parent77cb40a0b088b02357fbc7d5fad24886d607f0da (diff)
downloadframeworks_base-723738cfaec3dd7b0fe152c872c41bebf94074c4.zip
frameworks_base-723738cfaec3dd7b0fe152c872c41bebf94074c4.tar.gz
frameworks_base-723738cfaec3dd7b0fe152c872c41bebf94074c4.tar.bz2
Expand support for different screen sizes.
Applications can now declare that they support small, normal, or large screens. Resource selection can also be done based on these sizes. By default, pre-Donut apps are false for small and large, and Donut or later apps are assumed to support all sizes. In either case they can use <supports-screens> in their manifest to declare what they actually support.
Diffstat (limited to 'tests/DpiTest/src/com/google')
-rw-r--r--tests/DpiTest/src/com/google/android/test/dpi/DpiTestActivity.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/DpiTest/src/com/google/android/test/dpi/DpiTestActivity.java b/tests/DpiTest/src/com/google/android/test/dpi/DpiTestActivity.java
index 3759622..5a9f3f5 100644
--- a/tests/DpiTest/src/com/google/android/test/dpi/DpiTestActivity.java
+++ b/tests/DpiTest/src/com/google/android/test/dpi/DpiTestActivity.java
@@ -34,6 +34,7 @@ public class DpiTestActivity extends Activity {
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
+ this.setTitle(R.string.act_title);
LinearLayout root = new LinearLayout(this);
root.setOrientation(LinearLayout.VERTICAL);