diff options
author | Shashank Mittal <mittals@codeaurora.org> | 2014-08-01 13:05:35 -0700 |
---|---|---|
committer | Michael Bestas <mikeioannina@gmail.com> | 2016-01-03 14:44:02 -0800 |
commit | 475f8be980656437898fca33b1e4e82f31514827 (patch) | |
tree | 36db7701063b5633596367d7c7ba8131224d22ba /res/layout | |
parent | d52a92dbbc4df34025153266064a521d5d3aab4d (diff) | |
download | packages_apps_Settings-475f8be980656437898fca33b1e4e82f31514827.zip packages_apps_Settings-475f8be980656437898fca33b1e4e82f31514827.tar.gz packages_apps_Settings-475f8be980656437898fca33b1e4e82f31514827.tar.bz2 |
AppOps: Use switch widget for non-strict ops.
There are few Ops for which 'Always Ask' mode is not allwoed.
So use switch widget to control such Ops.
Change-Id: Ic7464a207c00e4cb9efff57c1f060e04379c1ee7
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/app_ops_details_item.xml | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/res/layout/app_ops_details_item.xml b/res/layout/app_ops_details_item.xml index 8b62d65..1124ec7 100644 --- a/res/layout/app_ops_details_item.xml +++ b/res/layout/app_ops_details_item.xml @@ -70,4 +70,17 @@ android:focusable="false" android:entries="@+array/app_ops_permissions" /> + <Switch + android:id="@+id/switchWidget" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_vertical" + android:layout_marginStart="8dip" + android:layout_column="2" + android:layout_row="1" + android:padding="8dip" + android:focusable="false" + android:clickable="true" /> + + </GridLayout> |