summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorcretin45 <cretin45@gmail.com>2016-02-08 16:11:19 -0800
committercretin45 <cretin45@gmail.com>2016-02-10 14:15:24 -0800
commit51c8571933879a98be336d7a32b9f06a184d30de (patch)
treeb94e54993cd61c9caf59c9f47603b1bd3b86c9de /res
parent3bf013a1eb2764fb3c12dc55739cf3c78fd3c20c (diff)
downloadandroid_packages_apps_Trebuchet-51c8571933879a98be336d7a32b9f06a184d30de.tar.gz
android_packages_apps_Trebuchet-51c8571933879a98be336d7a32b9f06a184d30de.tar.bz2
android_packages_apps_Trebuchet-51c8571933879a98be336d7a32b9f06a184d30de.zip
Trebuchet: Revise protected app folders UI
Issue-id: CYNGNOS-1881 Change-Id: I5cbc5d9fe9358fdf2708376bfe5d7bf2108a0897
Diffstat (limited to 'res')
-rw-r--r--res/drawable/ic_remove.xml29
-rw-r--r--res/layout/hidden_folder.xml70
-rw-r--r--res/layout/hidden_folder_apps_list_item.xml48
3 files changed, 0 insertions, 147 deletions
diff --git a/res/drawable/ic_remove.xml b/res/drawable/ic_remove.xml
deleted file mode 100644
index e4e550a44..000000000
--- a/res/drawable/ic_remove.xml
+++ /dev/null
@@ -1,29 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2015 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.
--->
-<vector xmlns:android="http://schemas.android.com/apk/res/android"
- android:width="24dp"
- android:height="24dp"
- android:viewportWidth="24"
- android:viewportHeight="24">
-
- <path
- android:fillColor="#fafafa"
- android:pathData="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59
-19 19 17.59 13.41 12z" />
- <path
- android:pathData="M0 0h24v24H0z" />
-</vector>
diff --git a/res/layout/hidden_folder.xml b/res/layout/hidden_folder.xml
deleted file mode 100644
index fc336dde2..000000000
--- a/res/layout/hidden_folder.xml
+++ /dev/null
@@ -1,70 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2015 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.
--->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- xmlns:insettable="http://schemas.android.com/apk/res-auto"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:background="@color/settings_bg_color"
- android:orientation="vertical"
- android:paddingLeft="@dimen/overview_panel_button_spacing"
- android:paddingRight="@dimen/overview_panel_button_spacing"
- android:paddingTop="@dimen/overview_panel_bottom_padding"
- android:focusable="true"
- android:focusableInTouchMode="true"
- insettable:layout_ignoreInsets="true"
- android:clickable="true" >
-
- <RelativeLayout
- android:id="@+id/folder_title_lock"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <ImageView
- android:id="@+id/folder_lock_icon"
- android:layout_width="25dp"
- android:layout_height="25dp"
- android:layout_alignParentRight="true"
- android:layout_centerVertical="true"
- android:src="@drawable/folder_unlocked"
- android:background="@drawable/listitem_bg" />
-
- <EditText
- android:id="@+id/folder_name"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_toStartOf="@id/folder_lock_icon"
- android:paddingBottom="@dimen/folder_name_padding"
- android:paddingTop="@dimen/folder_name_padding"
- android:hint="@string/folder_hint_text"
- android:textColor="@color/workspace_icon_text_color"
- android:textSize="20sp"
- android:textColorHighlight="@color/folder_name_highlight_text_color"
- android:textColorHint="@color/folder_name_hint_text_color"
- android:textCursorDrawable="@null"
- android:singleLine="true"
- android:background="#00000000" />
- </RelativeLayout>
-
- <ListView
- xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@+id/hidden_apps_list"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_marginLeft="5dp" />
-
-</LinearLayout>
diff --git a/res/layout/hidden_folder_apps_list_item.xml b/res/layout/hidden_folder_apps_list_item.xml
deleted file mode 100644
index 483b46301..000000000
--- a/res/layout/hidden_folder_apps_list_item.xml
+++ /dev/null
@@ -1,48 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!--
- Copyright (C) 2015 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.
--->
-<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:minHeight="48dp"
- android:gravity="center_vertical"
- android:paddingRight="?android:attr/scrollbarSize"
- android:background="?android:attr/selectableItemBackground">
-
- <ImageView android:id="@+id/icon"
- android:layout_width="40dp"
- android:layout_height="40dp"
- android:layout_gravity="center" />
-
- <TextView android:id="@+id/title"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:layout_marginLeft="15dip"
- android:layout_marginRight="6dip"
- android:layout_marginTop="6dip"
- android:layout_marginBottom="6dip"
- android:layout_weight="1"
- android:singleLine="true"
- android:textAppearance="?android:attr/textAppearanceMediumInverse"
- android:ellipsize="marquee"
- android:fadingEdge="horizontal" />
-
- <ImageView android:id="@+id/remove"
- android:layout_width="40dp"
- android:layout_height="40dp"
- android:layout_gravity="center"
- android:src="@drawable/ic_remove"/>
-</LinearLayout>