• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3/*
4** Copyright 2008, 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
11**
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.
17*/
18-->
19
20<LinearLayout
21    xmlns:android="http://schemas.android.com/apk/res/android"
22    android:id="@+id/all_details"
23    android:layout_width="match_parent"
24    android:layout_height="wrap_content"
25    android:paddingStart="?android:attr/listPreferredItemPaddingStart"
26    android:paddingEnd="?android:attr/listPreferredItemPaddingEnd"
27    android:orientation="vertical">
28
29    <!-- App snippet with buttons -->
30    <LinearLayout
31        android:layout_width="match_parent"
32        android:layout_height="wrap_content"
33        android:layout_gravity="center_vertical"
34        android:paddingTop="5dip"
35        android:paddingBottom="10dip"
36        android:orientation="vertical">
37
38        <LinearLayout
39            android:layout_width="match_parent"
40            android:layout_height="wrap_content">
41
42            <FrameLayout
43                android:layout_width="0dp"
44                android:layout_height="wrap_content"
45                android:layout_weight="1">
46                <!-- Application snippet label, version and icon -->
47                <include
48                    layout="@layout/app_item"
49                    android:id="@+id/app_snippet" />
50            </FrameLayout>
51
52            <ImageView
53                android:id="@+id/gear"
54                android:layout_width="48dp"
55                android:layout_height="48dp"
56                android:layout_gravity="center_vertical"
57                android:padding="12dp"
58                android:src="@drawable/ic_settings_24dp"
59                android:tint="?android:attr/colorAccent"
60                android:clickable="true"
61                android:background="?android:attr/selectableItemBackground" />
62
63        </LinearLayout>
64
65        <Space
66            android:layout_width="match_parent"
67            android:layout_height="5dp" />
68
69        <!-- Force stop and uninstall buttons -->
70        <include
71            layout="@layout/two_buttons_panel"
72            android:id="@+id/control_buttons_panel"/>
73
74    </LinearLayout>
75</LinearLayout>
76
77