diff options
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/attrs.xml | 61 | ||||
-rw-r--r-- | res/values/config.xml | 21 | ||||
-rw-r--r-- | res/values/strings.xml | 50 | ||||
-rw-r--r-- | res/values/styles.xml | 5 |
4 files changed, 126 insertions, 11 deletions
diff --git a/res/values/attrs.xml b/res/values/attrs.xml index 7839120..14a5e98 100644 --- a/res/values/attrs.xml +++ b/res/values/attrs.xml @@ -32,6 +32,10 @@ <declare-styleable name="Workspace"> <!-- The first screen the workspace should display. --> <attr name="defaultScreen" format="integer" /> + <!-- The number of horizontal cells in the CellLayout --> + <attr name="cellCountX" format="integer" /> + <!-- The number of vertical cells in the CellLayout --> + <attr name="cellCountY" format="integer" /> </declare-styleable> <!-- CellLayout specific attributes. These attributes are used to customize @@ -42,17 +46,58 @@ <!-- The height of a single cell --> <attr name="cellHeight" format="dimension" /> <!-- Padding to apply at the start of the long axis --> - <attr name="longAxisStartPadding" format="dimension" /> + <attr name="xAxisStartPadding" format="dimension" /> <!-- Padding to apply at the end of the long axis --> - <attr name="longAxisEndPadding" format="dimension" /> + <attr name="xAxisEndPadding" format="dimension" /> <!-- Padding to apply at the start of the short axis --> - <attr name="shortAxisStartPadding" format="dimension" /> + <attr name="yAxisStartPadding" format="dimension" /> <!-- Padding to apply at the end of the short axis --> - <attr name="shortAxisEndPadding" format="dimension" /> - <!-- Number of cells on the short axis of the CellLayout --> - <attr name="shortAxisCells" format="integer" /> - <!-- Number of cells on the long axis of the CellLayout --> - <attr name="longAxisCells" format="integer" /> + <attr name="yAxisEndPadding" format="dimension" /> + </declare-styleable> + + <!-- PagedViewIcon specific attributes. These attributes are used to customize + a PagedViewIcon view in XML files. --> + <declare-styleable name="PagedViewIcon"> + <!-- The blur color of the holographic outline --> + <attr name="blurColor" format="color" /> + <!-- The outline color of the holographic outline --> + <attr name="outlineColor" format="color" /> + <!-- The checked blur color of the holographic outline --> + <attr name="checkedBlurColor" format="color" /> + <!-- The checked outline color of the holographic outline --> + <attr name="checkedOutlineColor" format="color" /> + </declare-styleable> + + <!-- PagedViewWidgetIcon specific attributes. These attributes are used to + customize a PagedViewWidgetIcon view in XML files. --> + <declare-styleable name="PagedViewWidgetIcon"> + <!-- The checked blur color of the holographic outline --> + <attr name="checkedBlurColor" /> + <!-- The checked outline color of the holographic outline --> + <attr name="checkedOutlineColor" /> + </declare-styleable> + + <!-- PagedView specific attributes. These attributes are used to customize + a PagedView view in XML files. --> + <declare-styleable name="PagedView"> + <!-- The number of horizontal cells in a page --> + <attr name="cellCountX" /> + <!-- The number of vertical cells in a page --> + <attr name="cellCountY" /> + <!-- The padding of the pages that are dynamically created per page --> + <attr name="pageLayoutPaddingTop" format="dimension" /> + <attr name="pageLayoutPaddingBottom" format="dimension" /> + <attr name="pageLayoutPaddingLeft" format="dimension" /> + <attr name="pageLayoutPaddingRight" format="dimension" /> + <!-- The space between adjacent pages of the PagedView. --> + <attr name="pageSpacing" format="dimension" /> + </declare-styleable> + + <!-- CustomizePagedView specific attributes. These attributes are used to customize + a CustomizePagedView view in XML files. --> + <declare-styleable name="CustomizePagedView"> + <!-- The number of horizontal cells for the widget tab --> + <attr name="widgetCellCountX" format="integer" /> </declare-styleable> <!-- DeleteZone specific attributes. These attributes are used to customize diff --git a/res/values/config.xml b/res/values/config.xml index 15ec05b..b6d5037 100644 --- a/res/values/config.xml +++ b/res/values/config.xml @@ -3,4 +3,25 @@ <integer name="config_allAppsFadeOutTime">700</integer> <integer name="config_allAppsBatchLoadDelay">0</integer> <integer name="config_allAppsBatchSize">0</integer> + <bool name="config_hardwareAccelerated">false</bool> + + <integer name="config_crosshairsFadeInTime">600</integer> + + <!-- When dragging an item on the workspace, how much bigger (in pixels) the dragged view + should be, as compared to the original view. If 0, it will not be scaled at all. + Should be an even number, for pixel alignment. --> + <integer name="config_dragViewExtraPixels">40</integer> + + <!-- When dragging items on the workspace, the number of pixels by which the position of + the drag view should be offset from the position of the original view. + Setting to 1/2 of config_dragViewExtraPixels keeps it centered on its old position. --> + <integer name="config_dragViewOffsetX">20</integer> + <integer name="config_dragViewOffsetY">20</integer> + + <!-- The duration (in ms) of the fade animation on the object outlines, used when + we are dragging objects around on the home screen. --> + <integer name="config_dragOutlineFadeTime">900</integer> + + <!-- The alpha value at which to show the most recent drop visualization outline. --> + <integer name="config_dragOutlineMaxAlpha">180</integer> </resources> diff --git a/res/values/strings.xml b/res/values/strings.xml index bae50e4..bcb7e9a 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -43,6 +43,33 @@ <string name="activity_not_found">Application is not installed on your phone.</string> <!-- List item for configuring the current wallpaper --> <string name="configure_wallpaper">Configure...</string> + <!-- Labels for the tabs in the customize drawer --> + <string name="widgets_tab_label">Widgets</string> + <!-- Title of tab containing all possible folders (ie standard Folders and Live Folders) that + can be added to the home screen --> + <string name="folders_tab_label">Folders</string> + <!-- Title of tab containing all possible shortcuts (eg Contacts, Bookmarks) that can be + added to the home screen --> + <string name="shortcuts_tab_label">More</string> + <!-- Title of tab for configuring wallpapers --> + <string name="wallpapers_tab_label">Wallpapers</string> + <!-- Title of tab for configuring applications --> + <string name="applications_tab_label">App Shortcuts</string> + <!-- Placeholder text, will be removed --> + <string name="wallpapers_temp_tab_text">This will be the wallpapers tab</string> + <!-- Labels for the tabs in All Apps --> + <!-- Title of the tab for all applications (includes games and non-games) [CHAR_LIMIT=12] --> + <string name="all_apps_tab_all">All</string> + <!-- Title of the tab for all applications *except* games [CHAR_LIMIT=12] --> + <string name="all_apps_tab_apps">Apps</string> + <!-- Title of the tab for applications labeled as games [CHAR_LIMIT=12] --> + <string name="all_apps_tab_games">Games</string> + <!-- Tile of the tab for applications that were downloaded from market [CHAR_LIMIT=12] --> + <string name="all_apps_tab_downloaded">Downloaded</string> + + <!-- Customization Drawer --> + <!-- The format string for the dimensions of a widget in the drawer --> + <string name="widget_dims_format">%1$d x %2$d</string> <!-- Folders --> <skip /> @@ -93,8 +120,8 @@ <!-- Title of dialog when user is selecting live folder to add to homescreen --> <string name="title_select_live_folder">Select folder</string> - <!-- All applications label for accessibilty (spoken when the button gets focus). --> - <string name="all_apps_button_label">All applications</string> + <!-- All applications label --> + <string name="all_apps_button_label">Apps</string> <!-- Label for button in all applications label to go back home (to the workspace / desktop) for accessibilty (spoken when the button gets focus). --> <string name="all_apps_home_button_label">Home</string> @@ -116,6 +143,23 @@ <!-- Noun, menu item used to show the system settings --> <string name="menu_settings">Settings</string> + <!-- Strings for the contextual action bar (CAB) in All Apps --> + <skip /> + <!-- Describes the button for uninstalling the currently selected application. + Text is not displayed, but provided for accessibility. [CHAR_LIMIT=none] --> + <string name="cab_menu_delete_app">Uninstall application</string> + <!-- Describes the button for getting details/info about currently selected application. + Text is not displayed, but provided for accessibility. [CHAR_LIMIT=none] --> + <string name="cab_menu_app_info">Application details</string> + <!-- Appears in the CAB when an app is selected in All Apps or Customize mode. [CHAR_LIMIT=50] --> + <string name="cab_app_selection_text">1 application selected</string> + <!-- Appears in the CAB when a widget is selected in Customize mode. [CHAR_LIMIT=50] --> + <string name="cab_widget_selection_text">1 widget selected</string> + <!-- Appears in the CAB when a folder is selected in Customize mode. [CHAR_LIMIT=50] --> + <string name="cab_folder_selection_text">1 folder selected</string> + <!-- Appears in the CAB when a shortcut is selected in Customize mode. [CHAR_LIMIT=50] --> + <string name="cab_shortcut_selection_text">1 shortcut selected</string> + <!-- Permissions: --> <skip /> <!-- Permission short label --> @@ -151,4 +195,6 @@ <string name="default_browser_url" translatable="false"> http://www.google.com/m?client=ms-{CID}&source=android-home-hotseat</string> + <!-- Text to inform the user that they can't uninstall a system application --> + <string name="uninstall_system_app_text">This is a system application and cannot be uninstalled.</string> </resources> diff --git a/res/values/styles.xml b/res/values/styles.xml index c208211..a97b3c5 100644 --- a/res/values/styles.xml +++ b/res/values/styles.xml @@ -18,7 +18,10 @@ --> <resources> - <style name="Theme" parent="android:Theme.Wallpaper"> + <style name="Theme.Base" parent="android:Theme.Wallpaper"> + </style> + + <style name="Theme" parent="Theme.Base"> <item name="android:windowNoTitle">true</item> </style> |