diff options
author | Vineet Patil <vpatil@cyngn.com> | 2015-11-24 15:43:37 -0800 |
---|---|---|
committer | Tom Powell <zifnab@zifnab06.net> | 2017-03-26 15:52:42 -0700 |
commit | 14e1bef375ccb9e719bac1877c53359fad8d9d47 (patch) | |
tree | c16d4ec2b9bfa92d6f41cce351e7b6a32a817a39 /res/layout/hidden_folder_apps_list_item.xml | |
parent | 466dd988f8b64651a3d0b3b517b2c2a24b160f41 (diff) | |
download | android_packages_apps_Trebuchet-14e1bef375ccb9e719bac1877c53359fad8d9d47.tar.gz android_packages_apps_Trebuchet-14e1bef375ccb9e719bac1877c53359fad8d9d47.tar.bz2 android_packages_apps_Trebuchet-14e1bef375ccb9e719bac1877c53359fad8d9d47.zip |
Re-Implementation of hidden folders
Change-Id: I2cdb881eb6a2608279d30a1cdfc1327a89ae7693
Diffstat (limited to 'res/layout/hidden_folder_apps_list_item.xml')
-rw-r--r-- | res/layout/hidden_folder_apps_list_item.xml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/res/layout/hidden_folder_apps_list_item.xml b/res/layout/hidden_folder_apps_list_item.xml new file mode 100644 index 000000000..33f9fa572 --- /dev/null +++ b/res/layout/hidden_folder_apps_list_item.xml @@ -0,0 +1,48 @@ +<?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/textAppearanceMedium" + 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> |