diff options
author | Jorim Jaggi <jjaggi@google.com> | 2014-12-19 21:07:38 +0100 |
---|---|---|
committer | Jorim Jaggi <jjaggi@google.com> | 2015-01-07 15:20:28 +0100 |
commit | a9ef7929b87dc92cb9d4ed65abbaf4752886e613 (patch) | |
tree | f11fd220e4f7d03a3cc9a25b4d9613e58938b317 /packages/SystemUI/res/layout-land | |
parent | d61f2271c40cd7b3b10f39d8ffdaf8c527cb78be (diff) | |
download | frameworks_base-a9ef7929b87dc92cb9d4ed65abbaf4752886e613.zip frameworks_base-a9ef7929b87dc92cb9d4ed65abbaf4752886e613.tar.gz frameworks_base-a9ef7929b87dc92cb9d4ed65abbaf4752886e613.tar.bz2 |
Remove dead code #7: Remove unused SysUI resources
Change-Id: I6e338dee76063d7d200967bef0ed1122c2769d42
Diffstat (limited to 'packages/SystemUI/res/layout-land')
-rw-r--r-- | packages/SystemUI/res/layout-land/status_bar_recent_item.xml | 100 | ||||
-rw-r--r-- | packages/SystemUI/res/layout-land/status_bar_recent_panel.xml | 66 |
2 files changed, 0 insertions, 166 deletions
diff --git a/packages/SystemUI/res/layout-land/status_bar_recent_item.xml b/packages/SystemUI/res/layout-land/status_bar_recent_item.xml deleted file mode 100644 index 1257641..0000000 --- a/packages/SystemUI/res/layout-land/status_bar_recent_item.xml +++ /dev/null @@ -1,100 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- -/* apps/common/assets/default/default/skins/StatusBar.xml -** -** Copyright 2006, 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:layout_height="match_parent" - android:layout_width="wrap_content" - android:paddingStart="@dimen/status_bar_recents_item_padding" - android:paddingEnd="@dimen/status_bar_recents_item_padding" - android:importantForAccessibility="no" - android:clipChildren="false"> - - <RelativeLayout android:id="@+id/recent_item" - android:layout_gravity="center_vertical" - android:layout_height="wrap_content" - android:layout_width="wrap_content" - android:paddingTop="@*android:dimen/status_bar_height" - android:clipChildren="false" - android:clipToPadding="false"> - - <FrameLayout android:id="@+id/app_thumbnail" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_alignParentStart="true" - android:layout_alignParentTop="true" - android:layout_marginTop="@dimen/status_bar_recents_thumbnail_top_margin" - android:layout_marginStart="@dimen/status_bar_recents_thumbnail_left_margin" - android:background="@drawable/recents_thumbnail_bg" - android:foreground="@drawable/recents_thumbnail_fg" - android:visibility="invisible"> - <ImageView android:id="@+id/app_thumbnail_image" - android:layout_width="@dimen/status_bar_recents_thumbnail_width" - android:layout_height="@dimen/status_bar_recents_thumbnail_height" - /> - </FrameLayout> - - <ImageView android:id="@+id/app_icon" - android:layout_width="wrap_content" - android:layout_height="wrap_content" - android:layout_marginTop="@dimen/status_bar_recents_app_icon_top_margin" - android:layout_marginStart="@dimen/status_bar_recents_app_icon_left_margin" - android:layout_alignParentStart="true" - android:layout_alignParentTop="true" - android:maxWidth="@dimen/status_bar_recents_app_icon_max_width" - android:maxHeight="@dimen/status_bar_recents_app_icon_max_height" - android:scaleType="centerInside" - android:adjustViewBounds="true" - android:visibility="invisible" - /> - - <TextView android:id="@+id/app_label" - android:layout_width="@dimen/status_bar_recents_app_label_width" - android:layout_height="wrap_content" - android:textSize="@dimen/status_bar_recents_app_label_text_size" - android:fadingEdge="horizontal" - android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" - android:scrollHorizontally="true" - android:layout_alignStart="@id/app_thumbnail" - android:layout_below="@id/app_thumbnail" - android:layout_marginTop="@dimen/status_bar_recents_text_description_padding" - android:layout_marginStart="@dimen/status_bar_recents_app_label_left_margin" - android:singleLine="true" - android:ellipsize="marquee" - android:textColor="@color/status_bar_recents_app_label_color" - android:importantForAccessibility="no" - /> - - <TextView android:id="@+id/app_description" - android:layout_width="@dimen/status_bar_recents_app_label_width" - android:layout_height="wrap_content" - android:textSize="@dimen/status_bar_recents_app_description_text_size" - android:fadingEdge="horizontal" - android:fadingEdgeLength="@dimen/status_bar_recents_text_fading_edge_length" - android:scrollHorizontally="true" - android:layout_alignStart="@id/app_thumbnail" - android:layout_below="@id/app_label" - android:layout_marginTop="@dimen/status_bar_recents_text_description_padding" - android:singleLine="true" - android:ellipsize="marquee" - /> - - </RelativeLayout> -</FrameLayout> diff --git a/packages/SystemUI/res/layout-land/status_bar_recent_panel.xml b/packages/SystemUI/res/layout-land/status_bar_recent_panel.xml deleted file mode 100644 index b5d2f86..0000000 --- a/packages/SystemUI/res/layout-land/status_bar_recent_panel.xml +++ /dev/null @@ -1,66 +0,0 @@ -<?xml version="1.0" encoding="utf-8"?> -<!-- -/* apps/common/assets/default/default/skins/StatusBar.xml -** -** Copyright 2010, 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. -*/ ---> - -<com.android.systemui.recent.RecentsPanelView - xmlns:android="http://schemas.android.com/apk/res/android" - xmlns:systemui="http://schemas.android.com/apk/res-auto" - android:id="@+id/recents_root" - android:layout_height="match_parent" - android:layout_width="match_parent" - android:foreground="@drawable/bg_protect" - systemui:recentItemLayout="@layout/status_bar_recent_item" - > - <FrameLayout - android:id="@+id/recents_bg_protect" - android:background="@drawable/status_bar_recents_background" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:layout_alignParentBottom="true" - android:clipToPadding="false" - android:clipChildren="false"> - - <com.android.systemui.recent.RecentsHorizontalScrollView android:id="@+id/recents_container" - android:layout_width="wrap_content" - android:layout_height="match_parent" - android:fadingEdge="horizontal" - android:scrollbars="none" - android:layout_gravity="right" - android:fadingEdgeLength="@dimen/status_bar_recents_scroll_fading_edge_length"> - - <LinearLayout android:id="@+id/recents_linear_layout" - android:layout_width="wrap_content" - android:layout_height="match_parent" - android:layoutDirection="ltr" - android:layout_gravity="left" - android:orientation="horizontal" - android:fitsSystemWindows="true"> - </LinearLayout> - - </com.android.systemui.recent.RecentsHorizontalScrollView> - - </FrameLayout> - - <include layout="@layout/status_bar_no_recent_apps" - android:id="@+id/recents_no_apps" - android:layout_width="match_parent" - android:layout_height="match_parent" - android:visibility="invisible" /> - -</com.android.systemui.recent.RecentsPanelView> |