summaryrefslogtreecommitdiffstats
path: root/tests/GridLayoutTest/src
diff options
context:
space:
mode:
Diffstat (limited to 'tests/GridLayoutTest/src')
-rw-r--r--tests/GridLayoutTest/src/com/android/test/layout/LayoutInsetsTest.java7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/GridLayoutTest/src/com/android/test/layout/LayoutInsetsTest.java b/tests/GridLayoutTest/src/com/android/test/layout/LayoutInsetsTest.java
index 74daccc..1a4c36d 100644
--- a/tests/GridLayoutTest/src/com/android/test/layout/LayoutInsetsTest.java
+++ b/tests/GridLayoutTest/src/com/android/test/layout/LayoutInsetsTest.java
@@ -36,6 +36,13 @@ public class LayoutInsetsTest extends Activity {
{
Button c = new Button(context);
c.setBackgroundResource(R.drawable.btn_default);
+ c.setText("Test");
+ p.addView(c);
+ }
+
+ {
+ Button c = new Button(context);
+ c.setBackgroundResource(R.drawable.btn_default);
c.setText("Manual setup");
p.addView(c);
c.setOnClickListener(new OnClickListener() {