diff options
author | Danny Baumann <dannybaumann@web.de> | 2016-01-15 08:59:20 +0100 |
---|---|---|
committer | Danny Baumann <dannybaumann@web.de> | 2016-01-20 23:31:18 -0800 |
commit | 42f6d5c06c5db74c6971e37dbb78bf41d2783e07 (patch) | |
tree | ea7305846f10d3ddfee87d19d6700a3de65d7bab /res | |
parent | 4faa77d616d3637e628816da0d24bb0ea3432cd2 (diff) | |
download | android_packages_apps_Snap-42f6d5c06c5db74c6971e37dbb78bf41d2783e07.tar.gz android_packages_apps_Snap-42f6d5c06c5db74c6971e37dbb78bf41d2783e07.tar.bz2 android_packages_apps_Snap-42f6d5c06c5db74c6971e37dbb78bf41d2783e07.zip |
Remove unused menu indicators code.
Change-Id: I0ce48da277a532b46fdde15027f636de4d7585b7
Diffstat (limited to 'res')
-rw-r--r-- | res/layout-land/keyguard_widget.xml | 63 | ||||
-rw-r--r-- | res/layout-port/camera_controls.xml | 8 | ||||
-rw-r--r-- | res/layout-port/keyguard_widget.xml | 60 | ||||
-rw-r--r-- | res/layout/menu_indicators.xml | 57 | ||||
-rw-r--r-- | res/layout/menu_indicators_keyguard.xml | 57 |
5 files changed, 0 insertions, 245 deletions
diff --git a/res/layout-land/keyguard_widget.xml b/res/layout-land/keyguard_widget.xml deleted file mode 100644 index 31569004a..000000000 --- a/res/layout-land/keyguard_widget.xml +++ /dev/null @@ -1,63 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2012 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:id="@+id/camera_controls" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:background="@color/default_background" > - - <ImageView - android:id="@+id/shutter_button" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_centerVertical="true" - android:layout_alignParentRight="true" - android:layout_marginRight="@dimen/shutter_offset" - android:contentDescription="@string/accessibility_shutter_button" - android:scaleType="center" - android:src="@drawable/btn_new_shutter" /> - - <include - android:layout_width="64dip" - android:layout_height="64dip" - android:layout_above="@id/shutter_button" - android:layout_alignParentRight="true" - android:layout_marginRight="6dip" - android:layout_marginTop="-5dip" - layout="@layout/menu_indicators_keyguard" /> - - <ImageView - android:id="@+id/camera_switcher" - style="@style/SwitcherButton" - android:layout_below="@id/shutter_button" - android:layout_alignParentRight="true" - android:layout_marginRight="2dip" - android:contentDescription="@string/accessibility_mode_picker" - android:scaleType="center" - android:src="@drawable/ic_switch_camera" /> - - <ImageView - android:id="@+id/camera_switcher_ind" - style="@style/SwitcherButton" - android:layout_below="@id/shutter_button" - android:layout_alignParentRight="true" - android:layout_marginRight="2dip" - android:contentDescription="@string/accessibility_mode_picker" - android:scaleType="center" - android:src="@android:color/transparent" /> - -</RelativeLayout> diff --git a/res/layout-port/camera_controls.xml b/res/layout-port/camera_controls.xml index 525ffc326..d979147c6 100644 --- a/res/layout-port/camera_controls.xml +++ b/res/layout-port/camera_controls.xml @@ -25,14 +25,6 @@ android:layout_gravity="bottom" android:clickable="true" /> - <include - android:layout_width="64dip" - android:layout_height="64dip" - android:layout_gravity="bottom|right" - android:layout_marginBottom="8dip" - android:layout_marginRight="-8dip" - layout="@layout/menu_indicators" /> - <com.android.camera.ui.RotateImageView android:id="@+id/filter_mode_switcher" style="@style/ToggleButton" /> diff --git a/res/layout-port/keyguard_widget.xml b/res/layout-port/keyguard_widget.xml deleted file mode 100644 index 04816a35d..000000000 --- a/res/layout-port/keyguard_widget.xml +++ /dev/null @@ -1,60 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2012 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:id="@+id/camera_controls" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:background="@color/default_background" > - - <ImageView - android:id="@+id/shutter" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_alignParentBottom="true" - android:layout_centerHorizontal="true" - android:layout_marginBottom="@dimen/shutter_offset" - android:src="@drawable/btn_new_shutter" /> - - <include layout="@layout/menu_indicators_keyguard" - android:layout_width="64dip" - android:layout_height="64dip" - android:layout_toRightOf="@id/shutter" - android:layout_alignParentBottom="true" - android:layout_marginBottom="9dip" - android:layout_marginRight="-5dip" /> - - <ImageView - android:id="@+id/camera_switcher" - style="@style/SwitcherButton" - android:layout_toLeftOf="@id/shutter" - android:layout_alignParentBottom="true" - android:layout_marginBottom="3dip" - android:scaleType="center" - android:contentDescription="@string/accessibility_mode_picker" - android:src="@drawable/ic_switch_camera" /> - - <ImageView - android:id="@+id/camera_switcher_ind" - style="@style/SwitcherButton" - android:layout_toLeftOf="@id/shutter" - android:layout_alignParentBottom="true" - android:layout_marginBottom="3dip" - android:scaleType="center" - android:contentDescription="@string/accessibility_mode_picker" - android:src="@android:color/transparent" /> - -</RelativeLayout> diff --git a/res/layout/menu_indicators.xml b/res/layout/menu_indicators.xml deleted file mode 100644 index 037700349..000000000 --- a/res/layout/menu_indicators.xml +++ /dev/null @@ -1,57 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 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. ---> -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/on_screen_indicators" - android:layout_width="64dip" - android:layout_height="64dip" > - - <ImageView - android:id="@+id/menu_scenemode_indicator" - style="@style/MenuIndicator" - android:layout_gravity="left|top" - android:src="@drawable/ic_indicator_sce_off" /> - - <ImageView - android:id="@+id/menu_timer_indicator" - style="@style/MenuIndicator" - android:layout_gravity="center_horizontal|top" - android:src="@drawable/ic_indicator_timer_off" /> - - <ImageView - android:id="@+id/menu_flash_indicator" - style="@style/MenuIndicator" - android:layout_gravity="right|top" - android:src="@drawable/ic_indicator_flash_off" /> - - <ImageView - android:id="@+id/menu_exposure_indicator" - style="@style/MenuIndicator" - android:layout_gravity="left|bottom" - android:src="@drawable/ic_indicator_ev_0" /> - - <ImageView - android:id="@+id/menu_location_indicator" - style="@style/MenuIndicator" - android:layout_gravity="center_horizontal|bottom" - android:src="@drawable/ic_indicator_loc_on" /> - - <ImageView - android:id="@+id/menu_wb_indicator" - style="@style/MenuIndicator" - android:layout_gravity="right|bottom" - android:src="@drawable/ic_indicator_wb_off" /> - -</FrameLayout> diff --git a/res/layout/menu_indicators_keyguard.xml b/res/layout/menu_indicators_keyguard.xml deleted file mode 100644 index f3631f67e..000000000 --- a/res/layout/menu_indicators_keyguard.xml +++ /dev/null @@ -1,57 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- Copyright (C) 2012 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. ---> -<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android" - android:id="@+id/on_screen_indicators" - android:layout_width="64dip" - android:layout_height="64dip" > - - <ImageView - android:id="@+id/menu_scenemode_indicator" - style="@style/MenuIndicator" - android:layout_gravity="left|top" - android:src="@drawable/ic_indicator_sce_off" /> - - <ImageView - android:id="@+id/menu_timer_indicator" - style="@style/MenuIndicator" - android:layout_gravity="center_horizontal|top" - android:src="@drawable/ic_indicator_timer_off" /> - - <ImageView - android:id="@+id/menu_flash_indicator" - style="@style/MenuIndicator" - android:layout_gravity="right|top" - android:src="@drawable/ic_indicator_flash_off" /> - - <ImageView - android:id="@+id/menu_exposure_indicator" - style="@style/MenuIndicator" - android:layout_gravity="left|bottom" - android:src="@drawable/ic_indicator_ev_0" /> - - <ImageView - android:id="@+id/menu_location_indicator" - style="@style/MenuIndicator" - android:layout_gravity="center_horizontal|bottom" - android:src="@drawable/ic_indicator_loc_on" /> - - <ImageView - android:id="@+id/menu_wb_indicator" - style="@style/MenuIndicator" - android:layout_gravity="right|bottom" - android:src="@drawable/ic_indicator_wb_off" /> - -</FrameLayout> |