Android O SDK.
[android_tools.git] / sdk / platforms / android-26 / data / res / layout / activity_chooser_view.xml
blobbef17d0c491d626b17b5228dbe93f7863d186ba4
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 **
4 ** Copyright 2011, The Android Open Source Project
5 **
6 ** Licensed under the Apache License, Version 2.0 (the "License");
7 ** you may not use this file except in compliance with the License.
8 ** You may obtain a copy of the License at
9 **
10 **     http://www.apache.org/licenses/LICENSE-2.0
12 ** Unless required by applicable law or agreed to in writing, software
13 ** distributed under the License is distributed on an "AS IS" BASIS,
14 ** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15 ** See the License for the specific language governing permissions and
16 ** limitations under the License.
18 -->
19 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
20     android:id="@+id/activity_chooser_view_content"
21     android:layout_width="wrap_content"
22     android:layout_height="match_parent"
23     android:layout_gravity="center"
24     style="?android:attr/activityChooserViewStyle">
26     <FrameLayout
27         android:id="@+id/expand_activities_button"
28         android:layout_width="wrap_content"
29         android:layout_height="match_parent"
30         android:layout_gravity="center"
31         android:focusable="true"
32         android:addStatesFromChildren="true"
33         android:background="?android:attr/actionBarItemBackground">
35         <ImageView android:id="@+id/image"
36             android:layout_width="32dip"
37             android:layout_height="32dip"
38             android:layout_gravity="center"
39             android:layout_marginTop="2dip"
40             android:layout_marginBottom="2dip"
41             android:layout_marginStart="12dip"
42             android:layout_marginEnd="12dip"
43             android:scaleType="fitCenter"
44             android:adjustViewBounds="true" />
46     </FrameLayout>
48     <FrameLayout
49         android:id="@+id/default_activity_button"
50         android:layout_width="wrap_content"
51         android:layout_height="match_parent"
52         android:layout_gravity="center"
53         android:focusable="true"
54         android:addStatesFromChildren="true"
55         android:background="?android:attr/actionBarItemBackground">
57         <ImageView android:id="@+id/image"
58             android:layout_width="32dip"
59             android:layout_height="32dip"
60             android:layout_gravity="center"
61             android:layout_marginTop="2dip"
62             android:layout_marginBottom="2dip"
63             android:layout_marginStart="12dip"
64             android:layout_marginEnd="12dip"
65             android:scaleType="fitCenter"
66             android:adjustViewBounds="true" />
68     </FrameLayout>
70 </LinearLayout>