diff options
author | nebkat <nebkat@teamhacksung.org> | 2012-12-22 10:46:58 +0000 |
---|---|---|
committer | nebkat <nebkat@teamhacksung.org> | 2012-12-22 20:10:14 +0000 |
commit | 1a9d397e9d8f432d6a8acfc96a6378cff57e753a (patch) | |
tree | 7581c076b96e3265592a209c8072b90e79005394 /res/layout | |
parent | 229ac203294898445ce64e2f9ccd2163d681c276 (diff) | |
download | packages_apps_trebuchet-1a9d397e9d8f432d6a8acfc96a6378cff57e753a.zip packages_apps_trebuchet-1a9d397e9d8f432d6a8acfc96a6378cff57e753a.tar.gz packages_apps_trebuchet-1a9d397e9d8f432d6a8acfc96a6378cff57e753a.tar.bz2 |
AppsCustomizePagedView: Filtering
Change-Id: I829fc4b1a54e348d3c13da602d133dc20d315cca
Diffstat (limited to 'res/layout')
-rw-r--r-- | res/layout/hidden_apps_list.xml | 8 | ||||
-rw-r--r-- | res/layout/hidden_apps_list_item.xml | 34 |
2 files changed, 42 insertions, 0 deletions
diff --git a/res/layout/hidden_apps_list.xml b/res/layout/hidden_apps_list.xml new file mode 100644 index 0000000..cc94472 --- /dev/null +++ b/res/layout/hidden_apps_list.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="utf-8"?> +<ListView xmlns:android="http://schemas.android.com/apk/res/android" + android:id="@android:id/list" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginLeft="5dp" + android:choiceMode="multipleChoice" + android:layout_alignParentTop="true"/>
\ No newline at end of file diff --git a/res/layout/hidden_apps_list_item.xml b/res/layout/hidden_apps_list_item.xml new file mode 100644 index 0000000..88fa8b0 --- /dev/null +++ b/res/layout/hidden_apps_list_item.xml @@ -0,0 +1,34 @@ +<?xml version="1.0" encoding="utf-8"?> +<com.cyanogenmod.trebuchet.widget.CheckableLinearLayout 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/actionBarItemBackground"> + + <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="wrap_content" + 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"/> + + <com.cyanogenmod.trebuchet.widget.InertCheckBox android:id="@+id/checkbox" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center" + android:gravity="center_vertical"/> + +</com.cyanogenmod.trebuchet.widget.CheckableLinearLayout>
\ No newline at end of file |