diff options
author | Dianne Hackborn <hackbod@google.com> | 2013-01-24 19:14:26 -0800 |
---|---|---|
committer | Dianne Hackborn <hackbod@google.com> | 2013-01-25 11:27:04 -0800 |
commit | 0dd9902c89e7b705fd73158aadf1bf27843ad201 (patch) | |
tree | 4efe4a42fa405d510a2eeee5eda77cab8b92c5e5 /res/layout/app_ops_details.xml | |
parent | 574401905120075fa1c76ca9a7e19b266de7a204 (diff) | |
download | packages_apps_Settings-0dd9902c89e7b705fd73158aadf1bf27843ad201.zip packages_apps_Settings-0dd9902c89e7b705fd73158aadf1bf27843ad201.tar.gz packages_apps_Settings-0dd9902c89e7b705fd73158aadf1bf27843ad201.tar.bz2 |
App ops: add UI for viewing and controlling ops per-app.
Change-Id: Iadd68cbd429af4d431dcd09b9adacd09c5092ae6
Diffstat (limited to 'res/layout/app_ops_details.xml')
-rw-r--r-- | res/layout/app_ops_details.xml | 57 |
1 files changed, 57 insertions, 0 deletions
diff --git a/res/layout/app_ops_details.xml b/res/layout/app_ops_details.xml new file mode 100644 index 0000000..d28689d --- /dev/null +++ b/res/layout/app_ops_details.xml @@ -0,0 +1,57 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- +/* +** Copyright 2013, 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. +*/ +--> +<ScrollView + xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:clipToPadding="false" + android:scrollbarStyle="@*android:integer/preference_fragment_scrollbarStyle"> + + <LinearLayout + android:id="@+id/all_details" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:paddingBottom="5dip" + android:orientation="vertical"> + + <!-- App snippet --> + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:paddingStart="?android:attr/listPreferredItemPaddingStart" + android:paddingEnd="?android:attr/listPreferredItemPaddingEnd" + android:orientation="vertical"> + + <!-- Application snippet label, version and icon --> + <include + layout="@layout/manage_applications_item" + android:id="@+id/app_snippet" /> + + </LinearLayout> + + <!-- Operations list --> + <LinearLayout + android:id="@+id/operations_section" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:orientation="vertical"> + </LinearLayout> + </LinearLayout> +</ScrollView> |