summaryrefslogtreecommitdiffstats
path: root/tests/StatusBar/res/layout/notification_builder_test.xml
diff options
context:
space:
mode:
Diffstat (limited to 'tests/StatusBar/res/layout/notification_builder_test.xml')
-rw-r--r--tests/StatusBar/res/layout/notification_builder_test.xml413
1 files changed, 204 insertions, 209 deletions
diff --git a/tests/StatusBar/res/layout/notification_builder_test.xml b/tests/StatusBar/res/layout/notification_builder_test.xml
index 3c37a73..e1199c7 100644
--- a/tests/StatusBar/res/layout/notification_builder_test.xml
+++ b/tests/StatusBar/res/layout/notification_builder_test.xml
@@ -1,224 +1,220 @@
<?xml version="1.0" encoding="utf-8"?>
-<LinearLayout
- xmlns:android="http://schemas.android.com/apk/res/android"
+<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent"
- android:orientation="horizontal"
- android:paddingLeft="40dp"
- android:paddingTop="12dp"
- android:paddingRight="24dp"
- android:paddingBottom="12dp"
+ xmlns:android="http://schemas.android.com/apk/res/android"
>
-
<LinearLayout
- android:layout_width="220sp"
+ android:layout_width="match_parent"
android:layout_height="match_parent"
- android:layout_marginRight="24dp"
- android:orientation="vertical"
+ android:orientation="horizontal"
>
+
<LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- >
- <Button
- style="@style/IdButton.Minus"
- android:id="@+id/clear_1"
- />
- <TextView
- style="@style/IdTitle"
- android:text="1"
- />
- <Button
- style="@style/IdButton.Plus"
- android:id="@+id/notify_1"
- />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- >
- <Button
- style="@style/IdButton.Minus"
- android:id="@+id/clear_2"
- />
- <TextView
- style="@style/IdTitle"
- android:text="2"
- />
- <Button
- style="@style/IdButton.Plus"
- android:id="@+id/notify_2"
- />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- >
- <Button
- style="@style/IdButton.Minus"
- android:id="@+id/clear_3"
- />
- <TextView
- style="@style/IdTitle"
- android:text="3"
- />
- <Button
- style="@style/IdButton.Plus"
- android:id="@+id/notify_3"
- />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- >
- <Button
- style="@style/IdButton.Minus"
- android:id="@+id/clear_4"
- />
- <TextView
- style="@style/IdTitle"
- android:text="4"
- />
- <Button
- style="@style/IdButton.Plus"
- android:id="@+id/notify_4"
- />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- >
- <Button
- style="@style/IdButton.Minus"
- android:id="@+id/clear_5"
- />
- <TextView
- style="@style/IdTitle"
- android:text="5"
- />
- <Button
- style="@style/IdButton.Plus"
- android:id="@+id/notify_5"
- />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- >
- <Button
- style="@style/IdButton.Minus"
- android:id="@+id/clear_6"
- />
- <TextView
- style="@style/IdTitle"
- android:text="6"
- />
- <Button
- style="@style/IdButton.Plus"
- android:id="@+id/notify_6"
- />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- >
- <Button
- style="@style/IdButton.Minus"
- android:id="@+id/clear_7"
- />
- <TextView
- style="@style/IdTitle"
- android:text="7"
- />
- <Button
- style="@style/IdButton.Plus"
- android:id="@+id/notify_7"
- />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- >
- <Button
- style="@style/IdButton.Minus"
- android:id="@+id/clear_8"
- />
- <TextView
- style="@style/IdTitle"
- android:text="8"
- />
- <Button
- style="@style/IdButton.Plus"
- android:id="@+id/notify_8"
- />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
- >
- <Button
- style="@style/IdButton.Minus"
- android:id="@+id/clear_9"
- />
- <TextView
- style="@style/IdTitle"
- android:text="9"
- />
- <Button
- style="@style/IdButton.Plus"
- android:id="@+id/notify_9"
- />
- </LinearLayout>
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal"
+ android:layout_width="120dp"
+ android:layout_height="match_parent"
+ android:orientation="vertical"
>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ >
+ <Button
+ style="@style/IdButton.Minus"
+ android:id="@+id/clear_1"
+ />
+ <TextView
+ style="@style/IdTitle"
+ android:text="1"
+ />
+ <Button
+ style="@style/IdButton.Plus"
+ android:id="@+id/notify_1"
+ />
+ </LinearLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ >
+ <Button
+ style="@style/IdButton.Minus"
+ android:id="@+id/clear_2"
+ />
+ <TextView
+ style="@style/IdTitle"
+ android:text="2"
+ />
+ <Button
+ style="@style/IdButton.Plus"
+ android:id="@+id/notify_2"
+ />
+ </LinearLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ >
+ <Button
+ style="@style/IdButton.Minus"
+ android:id="@+id/clear_3"
+ />
+ <TextView
+ style="@style/IdTitle"
+ android:text="3"
+ />
+ <Button
+ style="@style/IdButton.Plus"
+ android:id="@+id/notify_3"
+ />
+ </LinearLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ >
+ <Button
+ style="@style/IdButton.Minus"
+ android:id="@+id/clear_4"
+ />
+ <TextView
+ style="@style/IdTitle"
+ android:text="4"
+ />
+ <Button
+ style="@style/IdButton.Plus"
+ android:id="@+id/notify_4"
+ />
+ </LinearLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ >
+ <Button
+ style="@style/IdButton.Minus"
+ android:id="@+id/clear_5"
+ />
+ <TextView
+ style="@style/IdTitle"
+ android:text="5"
+ />
+ <Button
+ style="@style/IdButton.Plus"
+ android:id="@+id/notify_5"
+ />
+ </LinearLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ >
+ <Button
+ style="@style/IdButton.Minus"
+ android:id="@+id/clear_6"
+ />
+ <TextView
+ style="@style/IdTitle"
+ android:text="6"
+ />
+ <Button
+ style="@style/IdButton.Plus"
+ android:id="@+id/notify_6"
+ />
+ </LinearLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ >
+ <Button
+ style="@style/IdButton.Minus"
+ android:id="@+id/clear_7"
+ />
+ <TextView
+ style="@style/IdTitle"
+ android:text="7"
+ />
+ <Button
+ style="@style/IdButton.Plus"
+ android:id="@+id/notify_7"
+ />
+ </LinearLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ >
+ <Button
+ style="@style/IdButton.Minus"
+ android:id="@+id/clear_8"
+ />
+ <TextView
+ style="@style/IdTitle"
+ android:text="8"
+ />
+ <Button
+ style="@style/IdButton.Plus"
+ android:id="@+id/notify_8"
+ />
+ </LinearLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ >
+ <Button
+ style="@style/IdButton.Minus"
+ android:id="@+id/clear_9"
+ />
+ <TextView
+ style="@style/IdTitle"
+ android:text="9"
+ />
+ <Button
+ style="@style/IdButton.Plus"
+ android:id="@+id/notify_9"
+ />
+ </LinearLayout>
+ <LinearLayout
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:orientation="horizontal"
+ >
+ <Button
+ style="@style/IdButton.Minus"
+ android:id="@+id/clear_10"
+ />
+ <TextView
+ style="@style/IdTitle"
+ android:text="10"
+ />
+ <Button
+ style="@style/IdButton.Plus"
+ android:id="@+id/notify_10"
+ />
+ </LinearLayout>
+
<Button
- style="@style/IdButton.Minus"
- android:id="@+id/clear_10"
- />
- <TextView
- style="@style/IdTitle"
- android:text="10"
+ android:id="@+id/clear_all"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:layout_marginTop="12dp"
+ android:layout_marginBottom="12dp"
+ android:text="Clear All"
/>
<Button
- style="@style/IdButton.Plus"
- android:id="@+id/notify_10"
+ android:id="@+id/ten"
+ android:textAppearance="?android:attr/textAppearanceSmall"
+ android:layout_width="match_parent"
+ android:layout_height="wrap_content"
+ android:text="Ten notifications"
/>
+
</LinearLayout>
- <Button
- android:id="@+id/clear_all"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginTop="12dp"
- android:layout_marginBottom="12dp"
- android:text="Clear All"
- />
- <Button
- android:id="@+id/ten"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:text="Ten notifications"
- />
-
- </LinearLayout>
-
- <ScrollView
- android:layout_width="wrap_content"
- android:layout_height="match_parent"
- android:layout_weight="1"
- >
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
@@ -818,7 +814,6 @@
</LinearLayout>
- </ScrollView>
-
+ </LinearLayout>
-</LinearLayout>
+</ScrollView>