diff options
author | Winson Chung <winsonc@google.com> | 2013-07-18 15:18:25 -0700 |
---|---|---|
committer | Winson Chung <winsonc@google.com> | 2013-07-18 15:18:25 -0700 |
commit | 5bc865e787b51ebbdebb14bf1eefc3a91f5f7c8d (patch) | |
tree | dee52677ea4215c83329be45b30c557883048afe /res/values | |
parent | ea6772346e80bc9da677c0d3a7955b6b9ed953bb (diff) | |
download | android_packages_apps_Trebuchet-5bc865e787b51ebbdebb14bf1eefc3a91f5f7c8d.tar.gz android_packages_apps_Trebuchet-5bc865e787b51ebbdebb14bf1eefc3a91f5f7c8d.tar.bz2 android_packages_apps_Trebuchet-5bc865e787b51ebbdebb14bf1eefc3a91f5f7c8d.zip |
Adding workaround for page indicators to support many pages.
- Tweaking assets until we get something proper
Change-Id: Ie07946acb529ff747d76896ff38837f8db6a7258
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/attrs.xml | 7 | ||||
-rw-r--r-- | res/values/config.xml | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 154508379..09b880420 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -32,6 +32,13 @@ <attr name="drawIdentifier" format="string" /> </declare-styleable> + <!-- Page Indicator specific attributes. These attributes are used to customize + the cling in XML files. --> + <declare-styleable name="PageIndicator"> + <!-- Used to identify how to draw the cling bg --> + <attr name="windowSize" format="integer" /> + </declare-styleable> + <!-- Workspace specific attributes. These attributes are used to customize the workspace in XML files. --> <declare-styleable name="Workspace"> diff --git a/res/values/config.xml b/res/values/config.xml index 6aaca1ad5..cc3d4f0bf 100644 --- a/res/values/config.xml +++ b/res/values/config.xml @@ -3,6 +3,9 @@ <bool name="is_large_screen">false</bool> <bool name="allow_rotation">false</bool> + <!-- Max number of page indicators to show --> + <integer name="config_maxNumberOfPageIndicatorsToShow">21</integer> + <!-- DragController --> <integer name="config_flingToDeleteMinVelocity">-1500</integer> |