diff options
author | Sunny Goyal <sunnygoyal@google.com> | 2016-11-18 23:44:48 -0800 |
---|---|---|
committer | Sunny Goyal <sunnygoyal@google.com> | 2016-11-21 15:20:16 +0530 |
commit | c13403c612748bfdf06436510600230c4c4b55ec (patch) | |
tree | b6b8266eb906cb7f4a2c920f7924d1801de1b97e /res/values/attrs.xml | |
parent | aa8a871e337fe42e9339b96833eaf37bf2b64b2f (diff) | |
download | android_packages_apps_Trebuchet-c13403c612748bfdf06436510600230c4c4b55ec.tar.gz android_packages_apps_Trebuchet-c13403c612748bfdf06436510600230c4c4b55ec.tar.bz2 android_packages_apps_Trebuchet-c13403c612748bfdf06436510600230c4c4b55ec.zip |
Defining various modes for CellLayout: Workspace, Hotseat & Folder
> Moving the definition of modes to xml
> Defining attributes in xml
Change-Id: I7a569fdbeb833d569eeeef2f2cbc8214e608ad11
Diffstat (limited to 'res/values/attrs.xml')
-rw-r--r-- | res/values/attrs.xml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 32bccb82c..1e34c0f22 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -112,4 +112,12 @@ <attr name="defaultLayoutId" format="reference" /> </declare-styleable> + <declare-styleable name="CellLayout"> + <attr name="containerType" format="integer"> + <enum name="workspace" value="0" /> + <enum name="hotseat" value="1" /> + <enum name="folder" value="2" /> + </attr> + </declare-styleable> + </resources> |