diff options
Diffstat (limited to 'espresso/espresso-sample/src/main/res')
57 files changed, 0 insertions, 1436 deletions
diff --git a/espresso/espresso-sample/src/main/res/drawable-hdpi/ic_action_calendar.png b/espresso/espresso-sample/src/main/res/drawable-hdpi/ic_action_calendar.png Binary files differdeleted file mode 100644 index c7bd88b..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-hdpi/ic_action_calendar.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-hdpi/ic_action_key.png b/espresso/espresso-sample/src/main/res/drawable-hdpi/ic_action_key.png Binary files differdeleted file mode 100644 index ff876a0..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-hdpi/ic_action_key.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-hdpi/ic_action_lock.png b/espresso/espresso-sample/src/main/res/drawable-hdpi/ic_action_lock.png Binary files differdeleted file mode 100644 index 1c80686..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-hdpi/ic_action_lock.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-hdpi/ic_action_save.png b/espresso/espresso-sample/src/main/res/drawable-hdpi/ic_action_save.png Binary files differdeleted file mode 100644 index 827355d..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-hdpi/ic_action_save.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-hdpi/ic_action_search.png b/espresso/espresso-sample/src/main/res/drawable-hdpi/ic_action_search.png Binary files differdeleted file mode 100644 index b826566..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-hdpi/ic_action_search.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-hdpi/ic_action_world.png b/espresso/espresso-sample/src/main/res/drawable-hdpi/ic_action_world.png Binary files differdeleted file mode 100644 index 612a5f2..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-hdpi/ic_action_world.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-hdpi/ic_drawer.png b/espresso/espresso-sample/src/main/res/drawable-hdpi/ic_drawer.png Binary files differdeleted file mode 100644 index 9691a6c..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-hdpi/ic_drawer.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-hdpi/ic_launcher.png b/espresso/espresso-sample/src/main/res/drawable-hdpi/ic_launcher.png Binary files differdeleted file mode 100644 index c1615e0..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-hdpi/ic_launcher.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-ldpi/ic_action_calendar.png b/espresso/espresso-sample/src/main/res/drawable-ldpi/ic_action_calendar.png Binary files differdeleted file mode 100644 index 37a9d7a..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-ldpi/ic_action_calendar.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-ldpi/ic_action_key.png b/espresso/espresso-sample/src/main/res/drawable-ldpi/ic_action_key.png Binary files differdeleted file mode 100644 index 8628a15..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-ldpi/ic_action_key.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-ldpi/ic_action_lock.png b/espresso/espresso-sample/src/main/res/drawable-ldpi/ic_action_lock.png Binary files differdeleted file mode 100644 index a29abbb..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-ldpi/ic_action_lock.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-ldpi/ic_action_save.png b/espresso/espresso-sample/src/main/res/drawable-ldpi/ic_action_save.png Binary files differdeleted file mode 100644 index a51c100..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-ldpi/ic_action_save.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-ldpi/ic_action_search.png b/espresso/espresso-sample/src/main/res/drawable-ldpi/ic_action_search.png Binary files differdeleted file mode 100644 index 1b4aac6..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-ldpi/ic_action_search.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-ldpi/ic_action_world.png b/espresso/espresso-sample/src/main/res/drawable-ldpi/ic_action_world.png Binary files differdeleted file mode 100644 index c27143c..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-ldpi/ic_action_world.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-ldpi/ic_drawer.png b/espresso/espresso-sample/src/main/res/drawable-ldpi/ic_drawer.png Binary files differdeleted file mode 100644 index 9691a6c..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-ldpi/ic_drawer.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-ldpi/ic_launcher.png b/espresso/espresso-sample/src/main/res/drawable-ldpi/ic_launcher.png Binary files differdeleted file mode 100644 index 110987a..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-ldpi/ic_launcher.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-mdpi/ic_action_calendar.png b/espresso/espresso-sample/src/main/res/drawable-mdpi/ic_action_calendar.png Binary files differdeleted file mode 100644 index 7cb5f27..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-mdpi/ic_action_calendar.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-mdpi/ic_action_key.png b/espresso/espresso-sample/src/main/res/drawable-mdpi/ic_action_key.png Binary files differdeleted file mode 100644 index 6bb6ff3..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-mdpi/ic_action_key.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-mdpi/ic_action_lock.png b/espresso/espresso-sample/src/main/res/drawable-mdpi/ic_action_lock.png Binary files differdeleted file mode 100644 index ee9dea0..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-mdpi/ic_action_lock.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-mdpi/ic_action_save.png b/espresso/espresso-sample/src/main/res/drawable-mdpi/ic_action_save.png Binary files differdeleted file mode 100644 index eebcf21..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-mdpi/ic_action_save.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-mdpi/ic_action_search.png b/espresso/espresso-sample/src/main/res/drawable-mdpi/ic_action_search.png Binary files differdeleted file mode 100644 index 3516c9e..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-mdpi/ic_action_search.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-mdpi/ic_action_world.png b/espresso/espresso-sample/src/main/res/drawable-mdpi/ic_action_world.png Binary files differdeleted file mode 100644 index f7e8dcf..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-mdpi/ic_action_world.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-mdpi/ic_drawer.png b/espresso/espresso-sample/src/main/res/drawable-mdpi/ic_drawer.png Binary files differdeleted file mode 100644 index 2190a93..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-mdpi/ic_drawer.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-mdpi/ic_launcher.png b/espresso/espresso-sample/src/main/res/drawable-mdpi/ic_launcher.png Binary files differdeleted file mode 100644 index 90f091c..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-mdpi/ic_launcher.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-xhdpi/ic_action_calendar.png b/espresso/espresso-sample/src/main/res/drawable-xhdpi/ic_action_calendar.png Binary files differdeleted file mode 100644 index d34b110..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-xhdpi/ic_action_calendar.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-xhdpi/ic_action_key.png b/espresso/espresso-sample/src/main/res/drawable-xhdpi/ic_action_key.png Binary files differdeleted file mode 100644 index 31c6756..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-xhdpi/ic_action_key.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-xhdpi/ic_action_lock.png b/espresso/espresso-sample/src/main/res/drawable-xhdpi/ic_action_lock.png Binary files differdeleted file mode 100644 index 63797e2..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-xhdpi/ic_action_lock.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-xhdpi/ic_action_save.png b/espresso/espresso-sample/src/main/res/drawable-xhdpi/ic_action_save.png Binary files differdeleted file mode 100644 index 2e7c579..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-xhdpi/ic_action_save.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-xhdpi/ic_action_search.png b/espresso/espresso-sample/src/main/res/drawable-xhdpi/ic_action_search.png Binary files differdeleted file mode 100644 index 3539eab..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-xhdpi/ic_action_search.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-xhdpi/ic_action_world.png b/espresso/espresso-sample/src/main/res/drawable-xhdpi/ic_action_world.png Binary files differdeleted file mode 100644 index e1b21d3..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-xhdpi/ic_action_world.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-xhdpi/ic_drawer.png b/espresso/espresso-sample/src/main/res/drawable-xhdpi/ic_drawer.png Binary files differdeleted file mode 100644 index e2dd13a..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-xhdpi/ic_drawer.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/drawable-xhdpi/ic_launcher.png b/espresso/espresso-sample/src/main/res/drawable-xhdpi/ic_launcher.png Binary files differdeleted file mode 100644 index 0f6604b..0000000 --- a/espresso/espresso-sample/src/main/res/drawable-xhdpi/ic_launcher.png +++ /dev/null diff --git a/espresso/espresso-sample/src/main/res/layout/actionbar_activity.xml b/espresso/espresso-sample/src/main/res/layout/actionbar_activity.xml deleted file mode 100644 index 41fa6fa..0000000 --- a/espresso/espresso-sample/src/main/res/layout/actionbar_activity.xml +++ /dev/null @@ -1,47 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:orientation="vertical" - android:padding="20dip" > - - <Button - android:id="@+id/show_contextual_action_bar" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" - android:text="@string/text_show" /> - - <Button - android:id="@+id/hide_contextual_action_bar" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" - android:text="@string/text_hide" /> - - <TextView - android:id="@+id/text_action_bar_result" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" - android:layout_marginTop="20dp" - android:text="@string/text_empty" - android:textAppearance="?android:attr/textAppearanceSmall" /> - -</LinearLayout> diff --git a/espresso/espresso-sample/src/main/res/layout/delegating_edit_text.xml b/espresso/espresso-sample/src/main/res/layout/delegating_edit_text.xml deleted file mode 100644 index 8d4cb33..0000000 --- a/espresso/espresso-sample/src/main/res/layout/delegating_edit_text.xml +++ /dev/null @@ -1,34 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<merge xmlns:android="http://schemas.android.com/apk/res/android" > - - <EditText - android:id="@+id/delegate_edit_text" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:inputType="text" - android:singleLine="true" /> - - <TextView - android:id="@+id/edit_text_message" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:singleLine="false" - android:visibility="gone" /> - -</merge> diff --git a/espresso/espresso-sample/src/main/res/layout/display_activity.xml b/espresso/espresso-sample/src/main/res/layout/display_activity.xml deleted file mode 100644 index 5781524..0000000 --- a/espresso/espresso-sample/src/main/res/layout/display_activity.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<!-- XML for screen for displaying data received from another activity. --> -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_alignParentRight="true" - android:layout_alignParentTop="true" - android:orientation="vertical" > - - <TextView - android:id="@+id/display_title" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:text="@string/display_title" - android:textAppearance="?android:attr/textAppearanceMedium" /> - - <TextView - android:id="@+id/display_data" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:text="@string/display_data" - android:textAppearance="?android:attr/textAppearanceSmall" /> - -</LinearLayout> diff --git a/espresso/espresso-sample/src/main/res/layout/drawer_activity.xml b/espresso/espresso-sample/src/main/res/layout/drawer_activity.xml deleted file mode 100644 index ea5532d..0000000 --- a/espresso/espresso-sample/src/main/res/layout/drawer_activity.xml +++ /dev/null @@ -1,44 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<android.support.v4.widget.DrawerLayout - xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/drawer_layout" - android:layout_width="fill_parent" - android:layout_height="fill_parent" > - - <!-- The main content view --> - <FrameLayout - android:layout_width="match_parent" - android:layout_height="match_parent" > - <TextView - android:id="@+id/drawer_text_view" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - </FrameLayout> - - <ListView - android:id="@+id/drawer_list" - android:layout_width="240dp" - android:layout_height="match_parent" - android:layout_gravity="start" - android:choiceMode="singleChoice" - android:divider="@android:color/transparent" - android:dividerHeight="0dp" - android:background="#111" /> - -</android.support.v4.widget.DrawerLayout> diff --git a/espresso/espresso-sample/src/main/res/layout/drawer_row.xml b/espresso/espresso-sample/src/main/res/layout/drawer_row.xml deleted file mode 100644 index f56a688..0000000 --- a/espresso/espresso-sample/src/main/res/layout/drawer_row.xml +++ /dev/null @@ -1,31 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:layout_gravity="fill_horizontal|center_vertical" - android:gravity="fill_horizontal" - android:minHeight="70dip" - android:orientation="horizontal" > - - <TextView android:id="@+id/drawer_row_name" - android:layout_width="wrap_content" - android:layout_height="match_parent" - android:layout_alignParentLeft="true" - android:gravity="left|center_vertical"/> -</RelativeLayout> diff --git a/espresso/espresso-sample/src/main/res/layout/fragment_stack.xml b/espresso/espresso-sample/src/main/res/layout/fragment_stack.xml deleted file mode 100644 index 0861f87..0000000 --- a/espresso/espresso-sample/src/main/res/layout/fragment_stack.xml +++ /dev/null @@ -1,42 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:gravity="center_horizontal" - android:orientation="vertical" - android:padding="4dip" > - - <FrameLayout - android:id="@+id/simple_fragment" - android:layout_width="match_parent" - android:layout_height="0px" - android:layout_weight="1" > - </FrameLayout> - - <Button - android:id="@+id/new_fragment" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_weight="0" - android:text="Create New Fragment" > - - <requestFocus /> - </Button> - -</LinearLayout> diff --git a/espresso/espresso-sample/src/main/res/layout/gesture_activity.xml b/espresso/espresso-sample/src/main/res/layout/gesture_activity.xml deleted file mode 100644 index d2bf3f7..0000000 --- a/espresso/espresso-sample/src/main/res/layout/gesture_activity.xml +++ /dev/null @@ -1,80 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<!-- XML for screen providing ability to test different clicks and gestures. --> - -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:fillViewport="true" - android:orientation="vertical" > - - <LinearLayout - android:layout_width="match_parent" - android:layout_height="wrap_content" > - - <TextView - android:id="@+id/text_click" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_weight="1" - android:gravity="center" - android:text="@string/text_click" - android:textAppearance="?android:attr/textAppearanceMedium" - android:visibility="gone" /> - - <TextView - android:id="@+id/text_long_click" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_weight="1" - android:gravity="center" - android:text="@string/text_long_click" - android:textAppearance="?android:attr/textAppearanceMedium" - android:visibility="gone" /> - - <TextView - android:id="@+id/text_swipe" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_weight="1" - android:gravity="center" - android:text="@string/text_swipe" - android:textAppearance="?android:attr/textAppearanceMedium" - android:visibility="gone" /> - - <TextView - android:id="@+id/text_double_click" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_weight="1" - android:gravity="center" - android:text="@string/text_double_click" - android:textAppearance="?android:attr/textAppearanceMedium" - android:visibility="gone" /> - </LinearLayout> - - <View - android:id="@+id/gesture_area" - android:layout_width="fill_parent" - android:layout_height="0dp" - android:layout_weight="1" - android:clickable="true" - android:gravity="top" - android:onClick="areaClicked" /> - -</LinearLayout> diff --git a/espresso/espresso-sample/src/main/res/layout/list_activity.xml b/espresso/espresso-sample/src/main/res/layout/list_activity.xml deleted file mode 100644 index 20dfc5c..0000000 --- a/espresso/espresso-sample/src/main/res/layout/list_activity.xml +++ /dev/null @@ -1,66 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<!-- XML for a screen with a list view. --> - -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical" - android:paddingBottom="48dp" - android:paddingTop="48dp" > - - <LinearLayout - android:layout_width="fill_parent" - android:layout_height="24dp" > - - <TextView - android:id="@+id/selection_row" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/row_label" /> - - <TextView - android:id="@+id/selection_row_value" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginLeft="12dp" /> - </LinearLayout> - - <LinearLayout - android:layout_width="fill_parent" - android:layout_height="24dp" > - - <TextView - android:id="@+id/selection_column" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="@string/column_label" /> - - <TextView - android:id="@+id/selection_column_value" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginLeft="12dp" /> - </LinearLayout> - - <ListView - android:id="@+id/list" - android:layout_width="match_parent" - android:layout_height="wrap_content" /> - -</LinearLayout> diff --git a/espresso/espresso-sample/src/main/res/layout/list_item.xml b/espresso/espresso-sample/src/main/res/layout/list_item.xml deleted file mode 100644 index d1cf1d9..0000000 --- a/espresso/espresso-sample/src/main/res/layout/list_item.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="fill_parent" > - - <TextView - android:id="@+id/item_content" - android:layout_width="wrap_content" - android:layout_height="wrap_content" /> - - <TextView - android:id="@+id/item_size" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginLeft="50dp" /> - -</LinearLayout> diff --git a/espresso/espresso-sample/src/main/res/layout/menu_activity.xml b/espresso/espresso-sample/src/main/res/layout/menu_activity.xml deleted file mode 100644 index f47e76b..0000000 --- a/espresso/espresso-sample/src/main/res/layout/menu_activity.xml +++ /dev/null @@ -1,62 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:orientation="vertical" - android:padding="20dip" > - - <LinearLayout - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:gravity="center_horizontal" - android:orientation="horizontal" > - - <Button - android:id="@+id/popup_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginRight="10dp" - android:onClick="showPopup" - android:text="Click here for popup menu!" /> - </LinearLayout> - - <LinearLayout - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:gravity="center_horizontal" - android:orientation="horizontal" > - - <TextView - android:id="@+id/text_context_menu" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="long-click here for context menu!" - android:textAppearance="?android:attr/textAppearanceMedium" /> - </LinearLayout> - - <TextView - android:id="@+id/text_menu_result" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:layout_marginTop="20dp" - android:gravity="center" - android:text="@string/text_empty" - android:textAppearance="?android:attr/textAppearanceSmall" /> - -</LinearLayout> diff --git a/espresso/espresso-sample/src/main/res/layout/pager_activity.xml b/espresso/espresso-sample/src/main/res/layout/pager_activity.xml deleted file mode 100644 index 015b2fb..0000000 --- a/espresso/espresso-sample/src/main/res/layout/pager_activity.xml +++ /dev/null @@ -1,23 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<android.support.v4.view.ViewPager xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/pager_layout" - android:layout_width="fill_parent" - android:layout_height="fill_parent" > - -</android.support.v4.view.ViewPager> diff --git a/espresso/espresso-sample/src/main/res/layout/pager_view.xml b/espresso/espresso-sample/src/main/res/layout/pager_view.xml deleted file mode 100644 index 0e8a802..0000000 --- a/espresso/espresso-sample/src/main/res/layout/pager_view.xml +++ /dev/null @@ -1,28 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="fill_parent" > - - <TextView - android:id="@+id/pager_content" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:gravity="center" /> - -</LinearLayout> diff --git a/espresso/espresso-sample/src/main/res/layout/popup_window.xml b/espresso/espresso-sample/src/main/res/layout/popup_window.xml deleted file mode 100644 index f596ecb..0000000 --- a/espresso/espresso-sample/src/main/res/layout/popup_window.xml +++ /dev/null @@ -1,39 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<!-- XML for screen providing ability to enter text and send some intents. --> - -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="vertical" > - - <TextView - android:id="@+id/popup_title" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:text="@string/popup_title" - android:textAppearance="?android:attr/textAppearanceLarge" /> - - <TextView - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:text="@string/popup_window_text" /> - -</LinearLayout> diff --git a/espresso/espresso-sample/src/main/res/layout/scroll_activity.xml b/espresso/espresso-sample/src/main/res/layout/scroll_activity.xml deleted file mode 100644 index ecfee52..0000000 --- a/espresso/espresso-sample/src/main/res/layout/scroll_activity.xml +++ /dev/null @@ -1,93 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<!-- XML for screen that holds various scroll views. --> - -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:fillViewport="true" - android:orientation="vertical" > - - <LinearLayout - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:orientation="vertical" > - - <TextView - android:id="@+id/top_left" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:text="top_left" /> - - <ScrollView - android:layout_width="fill_parent" - android:layout_height="50dp" - android:layout_marginTop="10dp" - android:background="#FFDDDDDD" - android:fillViewport="true" - android:orientation="vertical" > - - <LinearLayout - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="vertical" > - - <TextView - android:id="@+id/double_scroll" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="200dp" - android:text="double_scroll" - android:textColor="#000000" /> - </LinearLayout> - </ScrollView> - - <!-- Keep this on bottom to test scrolling to views that are not showing. --> - <!-- Huge top margin to guarantee this being out of view on large screen layout. --> - - <HorizontalScrollView - android:layout_width="fill_parent" - android:layout_height="50dp" - android:layout_marginTop="3000dp" - android:background="#FFDDDDDD" > - - <LinearLayout - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="horizontal" > - - <TextView - android:id="@+id/bottom_left" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:text="bottom_left" - android:textColor="#000000" /> - - <TextView - android:id="@+id/bottom_right" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginLeft="3000dp" - android:text="bottom_right" - android:textColor="#000000" /> - </LinearLayout> - </HorizontalScrollView> - </LinearLayout> - -</ScrollView> diff --git a/espresso/espresso-sample/src/main/res/layout/send_activity.xml b/espresso/espresso-sample/src/main/res/layout/send_activity.xml deleted file mode 100644 index 2e67143..0000000 --- a/espresso/espresso-sample/src/main/res/layout/send_activity.xml +++ /dev/null @@ -1,313 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<!-- - XML for screen providing ability to enter text, send some intents, - switch to gesture activity and test scroll down action. ---> - -<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:fillViewport="true" - android:orientation="vertical" > - - <LinearLayout - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:orientation="vertical" > - - <TextView - android:id="@+id/send_title" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:clickable="true" - android:onClick="sendData" - android:text="@string/send_title" - android:textAppearance="?android:attr/textAppearanceLarge" /> - - <EditText - android:id="@+id/send_data_edit_text" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:ems="10" - android:hint="@string/send_hint" /> - - <Button - android:id="@+id/send_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:onClick="sendData" - android:text="@string/button_send" /> - - <EditText - android:id="@+id/enter_data_edit_text" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:ems="10" - android:hint="@string/enter_hint" /> - - <TextView - android:id="@+id/enter_data_response_text" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:text="" - android:textAppearance="?android:attr/textAppearanceLarge" /> - - <TextView - android:id="@+id/call" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:text="@string/send_intent_to_call" - android:textAppearance="?android:attr/textAppearanceLarge" /> - - <EditText - android:id="@+id/send_data_to_call_edit_text" - android:layout_width="229dp" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:ems="10" - android:hint="@string/send_hint_for_call" /> - - <Button - android:id="@+id/send_to_call_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:onClick="sendDataToCall" - android:text="@string/button_call" /> - - <TextView - android:id="@+id/send_data_message" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:text="@string/send_message" - android:textAppearance="?android:attr/textAppearanceLarge" /> - - <EditText - android:id="@+id/send_data_to_message_edit_text" - android:layout_width="290dp" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:ems="10" - android:hint="@string/send_hint" - android:text="@string/send_data_to_message_edit_text" /> - - <Button - android:id="@+id/send_message_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:onClick="sendMessage" - android:text="@string/button_to_message" /> - - <TextView - android:id="@+id/goto_browser" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:text="@string/send_intent_to_browser" - android:textAppearance="?android:attr/textAppearanceLarge" /> - - <EditText - android:id="@+id/send_data_to_browser_edit_text" - android:layout_width="290dp" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:ems="10" - android:hint="@string/send_hint" /> - - <Button - android:id="@+id/send_to_browser_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:onClick="sendDataToBrowser" - android:text="@string/button_to_browser" /> - - <TextView - android:id="@+id/pick_contact_title" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:text="@string/pick_title" - android:textAppearance="?android:attr/textAppearanceLarge" /> - - <Button - android:id="@+id/pick_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:onClick="pickContact" - android:text="@string/button_pick" /> - - <TextView - android:id="@+id/phone_number" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" /> - - <TextView - android:id="@+id/market" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:text="@string/send_intent_to_market" - android:textAppearance="?android:attr/textAppearanceLarge" /> - - <EditText - android:id="@+id/send_to_market_data" - android:layout_width="229dp" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:ems="10" - android:hint="@string/send_hint_to_market" /> - - <Button - android:id="@+id/send_to_market_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:onClick="clickToMarket" - android:text="@string/button_market" /> - - <EditText - android:id="@+id/search_box" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:ems="10" - android:hint="search box" - android:imeOptions="actionSearch" - android:inputType="text" /> - - <TextView - android:id="@+id/search_result" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:visibility="invisible" /> - - <TextView - android:id="@+id/weird_text_title" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:text="Delegating Edit Text" - android:textAppearance="?android:attr/textAppearanceLarge" /> - - <com.google.android.apps.common.testing.ui.testapp.DelegatingEditText - android:id="@+id/delegating_edit_text" - android:layout_width="fill_parent" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" /> - - <TextView - android:id="@+id/gesture_title" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:text="@string/gesture_title" - android:textAppearance="?android:attr/textAppearanceLarge" /> - - <Button - android:id="@+id/go_to_gesture_activity" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:onClick="clickToGesture" - android:text="@string/button_gesture" /> - - <Button - android:id="@+id/scroll_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:onClick="clickToScroll" - android:text="@string/launch_scroll_activity" /> - - <Button - android:id="@+id/list_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:onClick="clickToList" - android:text="@string/launch_list_activity" /> - - <Button - android:id="@+id/make_alert_dialog" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:onClick="showDialog" - android:text="@string/make_alert_dialog_button" /> - - <Button - android:id="@+id/make_popup_menu_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:onClick="showPopupMenu" - android:text="@string/make_popup_menu_button" /> - - <Button - android:id="@+id/make_popup_view_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:onClick="showPopupView" - android:text="@string/make_popup_view_button" /> - - <AutoCompleteTextView - android:id="@+id/auto_complete_text_view" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="10dp" - android:completionThreshold="1" - android:hint="@string/pick_water" - android:textAppearance="?android:attr/textAppearanceLarge" /> - - - <!-- Keep this on bottom to test scrolling to views that are not showing. --> - <!-- Huge top margin to guarantee this being out of view on large screen layout. --> - - <Button - android:id="@+id/bottom_send_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="1000dp" - android:onClick="sendData" - android:text="@string/button_send_bottom" /> - - <TextView - android:id="@+id/bottom_send_text_view" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="1000dp" - android:clickable="true" - android:onClick="sendData" - android:text="@string/send_title" /> - </LinearLayout> - -</ScrollView> diff --git a/espresso/espresso-sample/src/main/res/layout/simple_activity.xml b/espresso/espresso-sample/src/main/res/layout/simple_activity.xml deleted file mode 100644 index 31aa760..0000000 --- a/espresso/espresso-sample/src/main/res/layout/simple_activity.xml +++ /dev/null @@ -1,77 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical" > - - <Spinner - android:id="@+id/spinner_simple" - android:layout_width="fill_parent" - android:layout_height="wrap_content" /> - - <TextView - android:id="@+id/spinnertext_simple" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" - android:text="" - android:textAppearance="?android:attr/textAppearanceLarge" /> - - <View - android:layout_width="1dp" - android:layout_height="30dp" /> - - <Button - android:id="@+id/button_simple" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" - android:onClick="simpleButtonClicked" - android:text="@string/button_simple" /> - - <TextView - android:id="@+id/text_simple" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" - android:text="@string/text_simple" - android:textAppearance="?android:attr/textAppearanceLarge" /> - - <View - android:layout_width="1dp" - android:layout_height="30dp" /> - - <EditText - android:id="@+id/sendtext_simple" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" - android:ems="10" - android:hint="@string/send_hint" /> - - <Button - android:id="@+id/send_simple" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_gravity="center_horizontal" - android:onClick="sendButtonClicked" - android:text="@string/button_send" /> - -</LinearLayout> diff --git a/espresso/espresso-sample/src/main/res/layout/swipe_activity.xml b/espresso/espresso-sample/src/main/res/layout/swipe_activity.xml deleted file mode 100644 index e7bfa76..0000000 --- a/espresso/espresso-sample/src/main/res/layout/swipe_activity.xml +++ /dev/null @@ -1,54 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:tools="http://schemas.android.com/tools" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical" > - - <!-- With update to rev 19, swipe does not consistently work on small pagers - b/12113054 opened to investigate why this regressed .--> - <android.support.v4.view.ViewPager - android:id="@+id/small_pager" - android:layout_width="120dp" - android:layout_height="48dp" /> - - <RelativeLayout - android:layout_width="fill_parent" - android:layout_height="200dp"> - <android.support.v4.view.ViewPager - android:id="@+id/overlapped_pager" - android:layout_width="fill_parent" - android:layout_height="fill_parent" - android:layout_alignParentTop="true" - android:layout_alignParentLeft="true"/> - <TextView - android:layout_width="50dp" - android:layout_height="fill_parent" - android:background="#CCCCCC" - android:layout_alignParentTop="true" - android:layout_alignParentLeft="true"/> - </RelativeLayout> - - <TextView - android:id="@+id/text_simple" - android:text="@string/text_simple" - android:layout_width="fill_parent" - android:layout_height="wrap_content"/> - -</LinearLayout> diff --git a/espresso/espresso-sample/src/main/res/layout/sync_activity.xml b/espresso/espresso-sample/src/main/res/layout/sync_activity.xml deleted file mode 100644 index 5642eee..0000000 --- a/espresso/espresso-sample/src/main/res/layout/sync_activity.xml +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:orientation="vertical" > - - <Button - android:id="@+id/request_button" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:onClick="onRequestButtonClick" - android:text="@string/request_hello_world" /> - - <TextView - android:id="@+id/status_text" - android:layout_width="match_parent" - android:layout_height="wrap_content" - android:gravity="center" - android:textAppearance="?android:attr/textAppearanceMedium" /> - -</LinearLayout> - diff --git a/espresso/espresso-sample/src/main/res/menu/actionbar_activity_actions.xml b/espresso/espresso-sample/src/main/res/menu/actionbar_activity_actions.xml deleted file mode 100644 index 0358ffe..0000000 --- a/espresso/espresso-sample/src/main/res/menu/actionbar_activity_actions.xml +++ /dev/null @@ -1,37 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<menu xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:yourapp="http://schemas.android.com/apk/res-auto" > - - <item - android:id="@+id/action_lock" - android:icon="@drawable/ic_action_lock" - android:title="Lock" - yourapp:showAsAction="ifRoom|withText"/> - <item - android:id="@+id/action_key" - android:icon="@drawable/ic_action_key" - android:title="Key" - yourapp:showAsAction="never"/> - <item - android:id="@+id/action_calendar" - android:icon="@drawable/ic_action_calendar" - android:title="Calendar" - yourapp:showAsAction="never"/> - -</menu> diff --git a/espresso/espresso-sample/src/main/res/menu/actionbar_context_actions.xml b/espresso/espresso-sample/src/main/res/menu/actionbar_context_actions.xml deleted file mode 100644 index 59233bb..0000000 --- a/espresso/espresso-sample/src/main/res/menu/actionbar_context_actions.xml +++ /dev/null @@ -1,37 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<menu xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:yourapp="http://schemas.android.com/apk/res-auto" > - - <item - android:id="@+id/action_save" - android:icon="@drawable/ic_action_save" - android:title="Save" - yourapp:showAsAction="ifRoom|withText"/> - <item - android:id="@+id/action_search" - android:icon="@drawable/ic_action_search" - android:title="Search" - yourapp:showAsAction="never"/> - <item - android:id="@+id/action_world" - android:icon="@drawable/ic_action_world" - android:title="World" - yourapp:showAsAction="never"/> - -</menu> diff --git a/espresso/espresso-sample/src/main/res/menu/contextmenu.xml b/espresso/espresso-sample/src/main/res/menu/contextmenu.xml deleted file mode 100644 index 5d4137d..0000000 --- a/espresso/espresso-sample/src/main/res/menu/contextmenu.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<menu xmlns:android="http://schemas.android.com/apk/res/android" > - - <item - android:id="@+id/context_item1" - android:title="@string/context_item_1_text"> - </item> - <item - android:id="@+id/context_item2" - android:title="@string/context_item_2_text"> - </item> - <item - android:id="@+id/context_item3" - android:title="@string/context_item_3_text"> - </item> - -</menu> diff --git a/espresso/espresso-sample/src/main/res/menu/optionsmenu.xml b/espresso/espresso-sample/src/main/res/menu/optionsmenu.xml deleted file mode 100644 index 66ed1b2..0000000 --- a/espresso/espresso-sample/src/main/res/menu/optionsmenu.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<menu xmlns:android="http://schemas.android.com/apk/res/android" > - - <item - android:id="@+id/option_item1" - android:title="@string/options_item_1_text"> - </item> - <item - android:id="@+id/option_item2" - android:title="@string/options_item_2_text"> - </item> - <item - android:id="@+id/option_item3" - android:title="@string/options_item_3_text"> - </item> - -</menu> diff --git a/espresso/espresso-sample/src/main/res/menu/popup_menu.xml b/espresso/espresso-sample/src/main/res/menu/popup_menu.xml deleted file mode 100644 index 9bfb67f..0000000 --- a/espresso/espresso-sample/src/main/res/menu/popup_menu.xml +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<menu xmlns:android="http://schemas.android.com/apk/res/android" > - - <item - android:id="@+id/menu_item_1" - android:title="@string/item_1_text"/> - <item - android:id="@+id/menu_item_2" - android:title="@string/item_2_text"/> - -</menu> diff --git a/espresso/espresso-sample/src/main/res/menu/popupmenu.xml b/espresso/espresso-sample/src/main/res/menu/popupmenu.xml deleted file mode 100644 index 0dae632..0000000 --- a/espresso/espresso-sample/src/main/res/menu/popupmenu.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<menu xmlns:android="http://schemas.android.com/apk/res/android" > - - <item - android:id="@+id/popup_item1" - android:title="@string/popup_item_1_text"> - </item> - <item - android:id="@+id/popup_item2" - android:title="@string/popup_item_2_text"> - </item> - <item - android:id="@+id/popup_item3" - android:title="@string/popup_item_3_text"> - </item> - -</menu> diff --git a/espresso/espresso-sample/src/main/res/values/strings.xml b/espresso/espresso-sample/src/main/res/values/strings.xml deleted file mode 100644 index e9d9ec5..0000000 --- a/espresso/espresso-sample/src/main/res/values/strings.xml +++ /dev/null @@ -1,90 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- - ~ Copyright (C) 2014 The Android Open Source Project - ~ - ~ Licensed under the Apache License, Version 2.0 (the "License"); - ~ you may not use this file except in compliance with the License. - ~ You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - -<resources> - - <string name="button_send">Send</string> - <string name="button_send_bottom">Send Bottom</string> - <string name="button_call">Call</string> - <string name="button_to_message">SMS</string> - <string name="button_to_browser">Go To Browser</string> - <string name="button_pick">Pick</string> - <string name="button_market">Goto Market</string> - <string name="button_gesture">Go To Gesture Activity</string> - <string name="button_simple">Click Me!</string> - <string name="display_data" /> - <string name="display_title">Data from sender</string> - <string name="dialog_title">An emergency alert</string> - <string name="dialog_message">A really important message</string> - <string name="enter_hint">Type text and press Enter</string> - <string name="launch_list_activity">Launch list_activity</string> - <string name="launch_scroll_activity">Launch scroll_activity</string> - <string name="send_data_to_message_edit_text">send_data_to_message_edit_text</string> - <string name="send_hint">Enter text here</string> - <string name="send_hint_for_call">Enter number here</string> - <string name="send_title">Send internal intent with data</string> - <string name="send_intent_to_call">Enter Number To Call</string> - <string name="send_intent_to_market">Enter App Id From Market</string> - <string name="send_intent_to_browser">Enter URL you wanted to go.</string> - <string name="send_hint_to_market">Enter App id</string> - <string name="send_message">Enter Message</string> - <string name="pick_title">Pick a Contact</string> - <string name="item_1_text">Menu Item 1</string> - <string name="item_2_text">Goodbye</string> - <string name="make_alert_dialog_button">Make an alert dialog</string> - <string name="make_popup_menu_button">Make a Popup Window</string> - <string name="make_popup_view_button">Make a Popup Window</string> - <string name="popup_window_text">I am in a popup window</string> - <string name="popup_title">A popup window</string> - <string name="gesture_title">Show Gesture Activity</string> - <string name="text_click">Click</string> - <string name="text_long_click">Long Click</string> - <string name="text_swipe">Swipe</string> - <string name="text_double_click">Double Click</string> - <string name="text_empty"></string> - <string name="text_show">Show context actionbar</string> - <string name="text_hide">Hide context actionbar</string> - <string name="text_simple">Message</string> - <string name="popup_item_1_text">Popup Item 1</string> - <string name="popup_item_2_text">Popup Item 2</string> - <string name="popup_item_3_text">Popup Item 3</string> - <string name="context_item_1_text">Context Item 1</string> - <string name="context_item_2_text">Context Item 2</string> - <string name="context_item_3_text">Context Item 3</string> - <string name="options_item_1_text">Options Item 1</string> - <string name="options_item_2_text">Options Item 2</string> - <string name="options_item_3_text">Options Item 3</string> - <string name="searching_for_label">Searching for:</string> - <string name="row_label">clicked on row:</string> - <string name="column_label">clicked on column:</string> - <string name="hello_world">hello world!</string> - <string name="request_hello_world">Request hello world</string> - <string name="nav_drawer_open">Open navigation drawer</string> - <string name="pick_water">Pick a body of water</string> - <string name="nav_drawer_close">Close navigation drawer</string> - - <string-array name="spinner_array"> - <item>Espresso</item> - <item>Doppio</item> - <item>Macchiato</item> - <item>Cappuccino</item> - <item>Americano</item> - <item>Mocha</item> - <item>Late</item> - </string-array> - -</resources> |