android10_Launcher3_original
This commit is contained in:
174
res/values/attrs.xml
Normal file
174
res/values/attrs.xml
Normal file
@@ -0,0 +1,174 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/* Copyright 2008, 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<resources xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<!-- Attributes used for launcher theme -->
|
||||
<attr name="allAppsScrimColor" format="color" />
|
||||
<attr name="allAppsInterimScrimAlpha" format="integer" />
|
||||
<attr name="allAppsNavBarScrimColor" format="color" />
|
||||
<attr name="popupColorPrimary" format="color" />
|
||||
<attr name="popupColorSecondary" format="color" />
|
||||
<attr name="popupColorTertiary" format="color" />
|
||||
<attr name="isMainColorDark" format="boolean" />
|
||||
<attr name="isWorkspaceDarkText" format="boolean" />
|
||||
<attr name="workspaceTextColor" format="color" />
|
||||
<attr name="workspaceShadowColor" format="color" />
|
||||
<attr name="workspaceAmbientShadowColor" format="color"/>
|
||||
<attr name="workspaceKeyShadowColor" format="color" />
|
||||
<attr name="workspaceStatusBarScrim" format="reference" />
|
||||
<attr name="widgetsTheme" format="reference" />
|
||||
<attr name="loadingIconColor" format="color" />
|
||||
|
||||
<attr name="folderDotColor" format="color" />
|
||||
<attr name="folderFillColor" format="color" />
|
||||
<attr name="folderIconRadius" format="float" />
|
||||
<attr name="folderIconBorderColor" format="color" />
|
||||
<attr name="folderTextColor" format="color" />
|
||||
|
||||
<!-- BubbleTextView specific attributes. -->
|
||||
<declare-styleable name="BubbleTextView">
|
||||
<attr name="layoutHorizontal" format="boolean" />
|
||||
<attr name="iconSizeOverride" format="dimension" />
|
||||
<attr name="iconDisplay" format="integer">
|
||||
<enum name="workspace" value="0" />
|
||||
<enum name="all_apps" value="1" />
|
||||
<enum name="folder" value="2" />
|
||||
<enum name="widget_section" value="3" />
|
||||
<enum name="shortcut_popup" value="4" />
|
||||
</attr>
|
||||
<attr name="centerVertically" format="boolean" />
|
||||
</declare-styleable>
|
||||
|
||||
<!-- BubbleTextView specific attributes. -->
|
||||
<declare-styleable name="FolderIconPreview">
|
||||
<attr name="folderFillColor" />
|
||||
<attr name="folderIconBorderColor" />
|
||||
<attr name="folderDotColor" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="ShadowInfo">
|
||||
<attr name="ambientShadowColor" format="color" />
|
||||
<attr name="ambientShadowBlur" format="dimension" />
|
||||
<attr name="keyShadowColor" format="color" />
|
||||
<attr name="keyShadowBlur" format="dimension" />
|
||||
<attr name="keyShadowOffset" format="dimension" />
|
||||
</declare-styleable>
|
||||
|
||||
<!-- PagedView specific attributes. These attributes are used to customize
|
||||
a PagedView view in XML files. -->
|
||||
<declare-styleable name="PagedView">
|
||||
<!-- The page indicator for this workspace -->
|
||||
<attr name="pageIndicator" format="reference" />
|
||||
</declare-styleable>
|
||||
|
||||
<!-- XML attributes used by default_workspace.xml -->
|
||||
<declare-styleable name="Favorite">
|
||||
<attr name="className" format="string" />
|
||||
<attr name="packageName" format="string" />
|
||||
<attr name="container" format="string" />
|
||||
<attr name="screen" format="string" />
|
||||
<attr name="x" format="string" />
|
||||
<attr name="y" format="string" />
|
||||
<attr name="spanX" format="string" />
|
||||
<attr name="spanY" format="string" />
|
||||
<attr name="icon" format="reference" />
|
||||
<attr name="title" format="string" />
|
||||
<attr name="uri" format="string" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="Extra">
|
||||
<attr name="key" format="string" />
|
||||
<attr name="value" format="string" />
|
||||
</declare-styleable>
|
||||
<declare-styleable name="Include">
|
||||
<attr name="workspace" format="reference" />
|
||||
<attr name="folderItems" format="reference" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="InsettableFrameLayout_Layout">
|
||||
<attr name="layout_ignoreInsets" format="boolean" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="GridDisplayOption">
|
||||
<attr name="name" format="string" />
|
||||
|
||||
<attr name="numRows" format="integer" />
|
||||
<attr name="numColumns" format="integer" />
|
||||
<!-- numFolderRows & numFolderColumns defaults to numRows & numColumns, if not specified -->
|
||||
<attr name="numFolderRows" format="integer" />
|
||||
<attr name="numFolderColumns" format="integer" />
|
||||
<!-- numHotseatIcons defaults to numColumns, if not specified -->
|
||||
<attr name="numHotseatIcons" format="integer" />
|
||||
|
||||
<attr name="defaultLayoutId" format="reference" />
|
||||
<attr name="demoModeLayoutId" format="reference" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="ProfileDisplayOption">
|
||||
<attr name="name" />
|
||||
<attr name="minWidthDps" format="float" />
|
||||
<attr name="minHeightDps" format="float" />
|
||||
|
||||
<attr name="iconImageSize" format="float" />
|
||||
<!-- landscapeIconSize defaults to iconSize, if not specified -->
|
||||
<attr name="landscapeIconSize" format="float" />
|
||||
<attr name="iconTextSize" format="float" />
|
||||
<!-- If true, this display option is used to determine the default grid -->
|
||||
<attr name="canBeDefault" format="boolean" />
|
||||
</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>
|
||||
|
||||
<declare-styleable name="ShadowDrawable">
|
||||
<attr name="android:src" />
|
||||
<attr name="android:shadowColor" />
|
||||
<attr name="android:elevation" />
|
||||
<attr name="darkTintColor" format="color"/>
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="RecyclerViewFastScroller">
|
||||
<attr name="canThumbDetach" format="boolean" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="CustomAppWidgetProviderInfo">
|
||||
<attr name="providerId" format="integer" />
|
||||
|
||||
<attr name="android:label" />
|
||||
<attr name="android:initialLayout" />
|
||||
<attr name="android:icon" />
|
||||
<attr name="android:previewImage" />
|
||||
<attr name="android:resizeMode" />
|
||||
|
||||
<attr name="numRows" />
|
||||
<attr name="numColumns" />
|
||||
<attr name="numMinRows" format="integer" />
|
||||
<attr name="numMinColumns" format="integer" />
|
||||
</declare-styleable>
|
||||
|
||||
<declare-styleable name="PreviewFragment">
|
||||
<attr name="android:name" />
|
||||
<attr name="android:id" />
|
||||
</declare-styleable>
|
||||
</resources>
|
||||
23
res/values/bools.xml
Normal file
23
res/values/bools.xml
Normal file
@@ -0,0 +1,23 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/* Copyright 2017, 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<bool name="notification_dots_enabled">false</bool>
|
||||
|
||||
<bool name="enable_install_shortcut_api">true</bool>
|
||||
</resources>
|
||||
40
res/values/colors.xml
Normal file
40
res/values/colors.xml
Normal file
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/* //device/apps/common/assets/res/any/colors.xml
|
||||
**
|
||||
** Copyright 2008, 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.
|
||||
*/
|
||||
-->
|
||||
<resources>
|
||||
<!-- The color tints to apply to the text and drag view when hovering
|
||||
over the delete target or the info target -->
|
||||
<color name="delete_target_hover_tint">#FFC1C1C1</color>
|
||||
<color name="uninstall_target_hover_tint">#FFF0592B</color>
|
||||
|
||||
<color name="focused_background">#80c6c5c5</color>
|
||||
|
||||
<color name="default_shadow_color_no_alpha">#FF000000</color>
|
||||
|
||||
<color name="spring_loaded_panel_color">#40FFFFFF</color>
|
||||
<color name="spring_loaded_highlighted_panel_border_color">#FFF</color>
|
||||
|
||||
<!-- Popup container -->
|
||||
<color name="notification_icon_default_color">#757575</color> <!-- Gray 600 -->
|
||||
|
||||
<color name="icon_background">#E0E0E0</color> <!-- Gray 300 -->
|
||||
|
||||
<color name="all_apps_bg_hand_fill">#E5E5E5</color>
|
||||
<color name="all_apps_bg_hand_fill_dark">#9AA0A6</color>
|
||||
</resources>
|
||||
120
res/values/config.xml
Normal file
120
res/values/config.xml
Normal file
@@ -0,0 +1,120 @@
|
||||
<resources>
|
||||
<!-- Miscellaneous -->
|
||||
<bool name="config_largeHeap">false</bool>
|
||||
<bool name="is_tablet">false</bool>
|
||||
<bool name="is_large_tablet">false</bool>
|
||||
<bool name="allow_rotation">false</bool>
|
||||
|
||||
<integer name="extracted_color_gradient_alpha">153</integer>
|
||||
|
||||
<!-- A string pointer to the original app name string. This allows derived projects to
|
||||
easily override the app name without providing all translations -->
|
||||
<string name="derived_app_name" translatable="false">@string/app_name</string>
|
||||
|
||||
<!-- String representing the intent for search on the apps market. To specify a query, add
|
||||
q=<query> to the data to the intent -->
|
||||
<string name="market_search_intent" translatable="false">market://search?c=apps</string>
|
||||
|
||||
<!-- String representing the intent to delete a package.-->
|
||||
<string name="delete_package_intent" translatable="false">#Intent;action=android.intent.action.DELETE;launchFlags=0x10800000;end</string>
|
||||
|
||||
<!-- String representing the fragment class for settings activity.-->
|
||||
<string name="settings_fragment_name" translatable="false">com.android.launcher3.settings.SettingsActivity$LauncherSettingsFragment</string>
|
||||
|
||||
<!-- DragController -->
|
||||
<item type="id" name="drag_event_parity" />
|
||||
|
||||
<!-- AllApps & Launcher transitions -->
|
||||
<!-- Out of 100, the percent to shrink the workspace during spring loaded mode. -->
|
||||
<integer name="config_workspaceSpringLoadShrinkPercentage">90</integer>
|
||||
|
||||
<!-- The duration of the animation from search hint to text entry -->
|
||||
<integer name="config_searchHintAnimationDuration">50</integer>
|
||||
|
||||
<!-- View tag key used to store SpringAnimation data. -->
|
||||
<item type="id" name="spring_animation_tag" />
|
||||
|
||||
<!-- Workspace -->
|
||||
<!-- 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">128</integer>
|
||||
|
||||
<!-- Parameters controlling the animation for when an item is dropped on the home screen,
|
||||
and it animates from its old position to the new one. -->
|
||||
<integer name="config_dropAnimMinDuration">100</integer>
|
||||
<integer name="config_dropAnimMaxDuration">500</integer>
|
||||
|
||||
<!-- The duration of the UserFolder opening and closing animation -->
|
||||
<integer name="config_materialFolderExpandDuration">200</integer>
|
||||
<integer name="config_folderDelay">30</integer>
|
||||
|
||||
<!-- The distance at which the animation should take the max duration -->
|
||||
<integer name="config_dropAnimMaxDist">800</integer>
|
||||
|
||||
<!-- The duration of the caret animation -->
|
||||
<integer name="config_caretAnimationDuration">200</integer>
|
||||
|
||||
<!-- Hotseat -->
|
||||
<bool name="hotseat_transpose_layout_with_orientation">true</bool>
|
||||
|
||||
<!-- Various classes overriden by projects/build flavors. -->
|
||||
<string name="app_filter_class" translatable="false"></string>
|
||||
<string name="icon_provider_class" translatable="false"></string>
|
||||
<string name="drawable_factory_class" translatable="false"></string>
|
||||
<string name="user_event_dispatcher_class" translatable="false"></string>
|
||||
<string name="stats_log_manager_class" translatable="false"></string>
|
||||
<string name="app_transition_manager_class" translatable="false"></string>
|
||||
<string name="instant_app_resolver_class" translatable="false"></string>
|
||||
<string name="main_process_initializer_class" translatable="false"></string>
|
||||
<string name="system_shortcut_factory_class" translatable="false"></string>
|
||||
<string name="app_launch_tracker_class" translatable="false"></string>
|
||||
<string name="test_information_handler_class" translatable="false"></string>
|
||||
|
||||
<!-- Package name of the default wallpaper picker. -->
|
||||
<string name="wallpaper_picker_package" translatable="false"></string>
|
||||
|
||||
<!-- Whitelisted package to retrieve packagename for badge. Can be empty. -->
|
||||
<string name="shortcutinfo_badgepkg_whitelist" translatable="false"></string>
|
||||
|
||||
<!-- View ID to use for QSB widget -->
|
||||
<item type="id" name="qsb_widget" />
|
||||
|
||||
<!-- View ID used by cell layout to jail its content -->
|
||||
<item type="id" name="cell_layout_jail_id" />
|
||||
|
||||
<!-- View IDs to store item highlight information -->
|
||||
<item type="id" name="view_unhighlight_background" />
|
||||
|
||||
<!-- Menu id for feature flags -->
|
||||
<item type="id" name="menu_apply_flags" />
|
||||
|
||||
<!-- Popup items -->
|
||||
<integer name="config_popupOpenCloseDuration">150</integer>
|
||||
<integer name="config_popupArrowOpenCloseDuration">40</integer>
|
||||
<integer name="config_removeNotificationViewDuration">300</integer>
|
||||
|
||||
<!-- Accessibility actions -->
|
||||
<item type="id" name="action_remove" />
|
||||
<item type="id" name="action_uninstall" />
|
||||
<item type="id" name="action_reconfigure" />
|
||||
<item type="id" name="action_add_to_workspace" />
|
||||
<item type="id" name="action_move" />
|
||||
<item type="id" name="action_move_to_workspace" />
|
||||
<item type="id" name="action_move_screen_backwards" />
|
||||
<item type="id" name="action_move_screen_forwards" />
|
||||
<item type="id" name="action_resize" />
|
||||
<item type="id" name="action_deep_shortcuts" />
|
||||
<item type="id" name="action_shortcuts_and_notifications"/>
|
||||
<item type="id" name="action_dismiss_notification" />
|
||||
<item type="id" name="action_remote_action_shortcut" />
|
||||
|
||||
<!-- QSB IDs. DO not change -->
|
||||
<item type="id" name="search_container_workspace" />
|
||||
<item type="id" name="search_container_all_apps" />
|
||||
|
||||
<!-- Recents -->
|
||||
<item type="id" name="overview_panel"/>
|
||||
</resources>
|
||||
238
res/values/dimens.xml
Normal file
238
res/values/dimens.xml
Normal file
@@ -0,0 +1,238 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2009 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.
|
||||
-->
|
||||
|
||||
<resources>
|
||||
|
||||
<dimen name="click_shadow_elevation">4dp</dimen>
|
||||
|
||||
<!-- Dynamic Grid -->
|
||||
<dimen name="dynamic_grid_edge_margin">8dp</dimen>
|
||||
<dimen name="dynamic_grid_page_indicator_line_height">1dp</dimen>
|
||||
<dimen name="dynamic_grid_icon_drawable_padding">8dp</dimen>
|
||||
<!-- Minimum space between workspace and hotseat in spring loaded mode -->
|
||||
<dimen name="dynamic_grid_min_spring_loaded_space">8dp</dimen>
|
||||
|
||||
<dimen name="dynamic_grid_cell_layout_padding">5.5dp</dimen>
|
||||
<dimen name="dynamic_grid_cell_padding_x">8dp</dimen>
|
||||
|
||||
<!-- Hotseat -->
|
||||
<dimen name="dynamic_grid_hotseat_top_padding">8dp</dimen>
|
||||
<dimen name="dynamic_grid_hotseat_bottom_padding">2dp</dimen>
|
||||
<!-- Extra bottom padding for non-tall devices. -->
|
||||
<dimen name="dynamic_grid_hotseat_bottom_non_tall_padding">0dp</dimen>
|
||||
<dimen name="dynamic_grid_hotseat_extra_vertical_size">34dp</dimen>
|
||||
<dimen name="dynamic_grid_hotseat_side_padding">0dp</dimen>
|
||||
|
||||
<!-- Hotseat/all-apps scrim -->
|
||||
<dimen name="all_apps_scrim_blur">4dp</dimen>
|
||||
<dimen name="vertical_drag_handle_size">24dp</dimen>
|
||||
<dimen name="vertical_drag_handle_overlap_workspace">0dp</dimen>
|
||||
|
||||
<!-- Drop target bar -->
|
||||
<dimen name="dynamic_grid_drop_target_size">48dp</dimen>
|
||||
<dimen name="drop_target_vertical_gap">20dp</dimen>
|
||||
|
||||
<!-- App Widget resize frame -->
|
||||
<dimen name="widget_handle_margin">13dp</dimen>
|
||||
<dimen name="resize_frame_background_padding">24dp</dimen>
|
||||
|
||||
<!-- Fast scroll -->
|
||||
<dimen name="fastscroll_track_min_width">6dp</dimen>
|
||||
<dimen name="fastscroll_track_max_width">8dp</dimen>
|
||||
<dimen name="fastscroll_thumb_padding">1dp</dimen>
|
||||
<dimen name="fastscroll_thumb_height">52dp</dimen>
|
||||
<dimen name="fastscroll_thumb_touch_inset">-24dp</dimen>
|
||||
|
||||
<dimen name="fastscroll_popup_width">75dp</dimen>
|
||||
<dimen name="fastscroll_popup_height">62dp</dimen>
|
||||
<dimen name="fastscroll_popup_padding">13dp</dimen>
|
||||
<dimen name="fastscroll_popup_text_size">32dp</dimen>
|
||||
<dimen name="fastscroll_popup_margin">19dp</dimen>
|
||||
|
||||
<!--
|
||||
Fast scroller draws the content horizontally centered. The end of the track should be
|
||||
aligned at the end of the container.
|
||||
fastscroll_end_margin = - (fastscroll_width - fastscroll_track_min_width) / 2
|
||||
-->
|
||||
<dimen name="fastscroll_width">58dp</dimen>
|
||||
<dimen name="fastscroll_end_margin">-26dp</dimen>
|
||||
|
||||
<!-- All Apps -->
|
||||
<dimen name="all_apps_search_bar_field_height">48dp</dimen>
|
||||
<dimen name="all_apps_search_bar_bottom_padding">30dp</dimen>
|
||||
<dimen name="all_apps_empty_search_message_top_offset">40dp</dimen>
|
||||
<dimen name="all_apps_empty_search_bg_top_offset">144dp</dimen>
|
||||
<dimen name="all_apps_background_canvas_width">700dp</dimen>
|
||||
<dimen name="all_apps_background_canvas_height">475dp</dimen>
|
||||
<dimen name="all_apps_header_tab_height">50dp</dimen>
|
||||
<dimen name="all_apps_tabs_indicator_height">2dp</dimen>
|
||||
<dimen name="all_apps_header_top_padding">36dp</dimen>
|
||||
<dimen name="all_apps_work_profile_tab_footer_top_padding">16dp</dimen>
|
||||
<dimen name="all_apps_work_profile_tab_footer_bottom_padding">20dp</dimen>
|
||||
<dimen name="all_apps_tabs_side_padding">12dp</dimen>
|
||||
<dimen name="all_apps_divider_height">1dp</dimen>
|
||||
|
||||
<!-- Search bar in All Apps -->
|
||||
<dimen name="all_apps_header_max_elevation">3dp</dimen>
|
||||
<dimen name="all_apps_header_scroll_to_elevation">16dp</dimen>
|
||||
<dimen name="all_apps_header_shadow_height">6dp</dimen>
|
||||
|
||||
<dimen name="all_apps_divider_margin_vertical">8dp</dimen>
|
||||
|
||||
<!-- Widget tray -->
|
||||
<dimen name="widget_preview_label_vertical_padding">8dp</dimen>
|
||||
<dimen name="widget_preview_label_horizontal_padding">16dp</dimen>
|
||||
|
||||
<dimen name="widget_preview_shadow_blur">0.5dp</dimen>
|
||||
<dimen name="widget_preview_key_shadow_distance">1dp</dimen>
|
||||
<dimen name="widget_preview_corner_radius">2dp</dimen>
|
||||
<dimen name="widget_preview_cell_divider_width">0.5dp</dimen>
|
||||
<dimen name="widget_preview_shortcut_padding">8dp</dimen>
|
||||
|
||||
<dimen name="widget_section_height">56dp</dimen>
|
||||
<dimen name="widget_section_icon_size">40dp</dimen>
|
||||
<dimen name="widget_section_vertical_padding">8dp</dimen>
|
||||
<dimen name="widget_section_horizontal_padding">16dp</dimen>
|
||||
<dimen name="widget_section_indent">0dp</dimen>
|
||||
|
||||
<dimen name="widget_row_padding">8dp</dimen>
|
||||
<dimen name="widget_row_divider">2dp</dimen>
|
||||
|
||||
<!-- Padding applied to shortcut previews -->
|
||||
<dimen name="shortcut_preview_padding_left">0dp</dimen>
|
||||
<dimen name="shortcut_preview_padding_right">0dp</dimen>
|
||||
<dimen name="shortcut_preview_padding_top">0dp</dimen>
|
||||
|
||||
<!-- Dragging -->
|
||||
<!-- Drag padding to add to the bottom of drop targets -->
|
||||
<dimen name="drop_target_drag_padding">14dp</dimen>
|
||||
<dimen name="drop_target_text_size">14sp</dimen>
|
||||
<dimen name="drop_target_shadow_elevation">2dp</dimen>
|
||||
|
||||
<!-- the distance an icon must be dragged before button drop targets accept it -->
|
||||
<dimen name="drag_distanceThreshold">30dp</dimen>
|
||||
|
||||
<!-- Elevation for the drag view. It should be larger than elevation of all other drag sources
|
||||
and drop targets like all-apps and folders -->
|
||||
<dimen name="drag_elevation">30dp</dimen>
|
||||
|
||||
<dimen name="drag_flingToDeleteMinVelocity">-1500dp</dimen>
|
||||
|
||||
<dimen name="spring_loaded_panel_border">1dp</dimen>
|
||||
|
||||
<!-- Folders -->
|
||||
<dimen name="page_indicator_dot_size">8dp</dimen>
|
||||
|
||||
<dimen name="folder_cell_x_padding">9dp</dimen>
|
||||
<dimen name="folder_cell_y_padding">6dp</dimen>
|
||||
<dimen name="folder_child_text_size">13sp</dimen>
|
||||
<dimen name="folder_label_padding_top">4dp</dimen>
|
||||
<dimen name="folder_label_padding_bottom">12dp</dimen>
|
||||
<dimen name="folder_label_text_size">14sp</dimen>
|
||||
|
||||
<!-- Sizes for managed profile badges -->
|
||||
<dimen name="profile_badge_size">24dp</dimen>
|
||||
<dimen name="profile_badge_margin">5dp</dimen>
|
||||
<dimen name="profile_badge_minimum_top">2dp</dimen>
|
||||
|
||||
<!-- Shadows and outlines -->
|
||||
<dimen name="blur_size_thin_outline">1dp</dimen>
|
||||
<dimen name="blur_size_medium_outline">2dp</dimen>
|
||||
<dimen name="blur_size_click_shadow">4dp</dimen>
|
||||
<dimen name="click_shadow_high_shift">2dp</dimen>
|
||||
|
||||
<!-- Pending widget -->
|
||||
<dimen name="pending_widget_min_padding">8dp</dimen>
|
||||
<dimen name="pending_widget_elevation">2dp</dimen>
|
||||
|
||||
<!-- Deep shortcuts -->
|
||||
<dimen name="deep_shortcuts_elevation">9dp</dimen>
|
||||
<dimen name="bg_popup_item_width">220dp</dimen>
|
||||
<dimen name="bg_popup_item_height">56dp</dimen>
|
||||
<dimen name="bg_popup_item_condensed_height">48dp</dimen>
|
||||
<dimen name="pre_drag_view_scale">6dp</dimen>
|
||||
<!-- an icon with shortcuts must be dragged this far before the container is removed. -->
|
||||
<dimen name="deep_shortcuts_start_drag_threshold">16dp</dimen>
|
||||
<dimen name="deep_shortcut_icon_size">36dp</dimen>
|
||||
<dimen name="deep_shortcut_drawable_padding">8dp</dimen>
|
||||
<dimen name="deep_shortcut_drag_handle_size">16dp</dimen>
|
||||
<dimen name="popup_padding_start">10dp</dimen>
|
||||
<dimen name="popup_padding_end">16dp</dimen>
|
||||
<dimen name="popup_vertical_padding">4dp</dimen>
|
||||
<dimen name="popup_arrow_width">10dp</dimen>
|
||||
<dimen name="popup_arrow_height">8dp</dimen>
|
||||
<dimen name="popup_arrow_vertical_offset">-2dp</dimen>
|
||||
<!-- popup_padding_start + deep_shortcut_icon_size / 2 -->
|
||||
<dimen name="popup_arrow_horizontal_center_start">28dp</dimen>
|
||||
<!-- popup_padding_end + deep_shortcut_drag_handle_size / 2 -->
|
||||
<dimen name="popup_arrow_horizontal_center_end">24dp</dimen>
|
||||
<dimen name="popup_arrow_corner_radius">2dp</dimen>
|
||||
<!-- popup_padding_start + icon_size + 10dp -->
|
||||
<dimen name="deep_shortcuts_text_padding_start">56dp</dimen>
|
||||
<!-- popup_item_width - deep_shortcuts_text_padding_start -->
|
||||
<dimen name="deep_shortcuts_divider_width">164dp</dimen>
|
||||
<dimen name="system_shortcut_icon_size">24dp</dimen>
|
||||
<!-- popup_arrow_center_start - system_shortcut_icon_size / 2 -->
|
||||
<dimen name="system_shortcut_margin_start">16dp</dimen>
|
||||
<dimen name="system_shortcut_header_height">40dp</dimen>
|
||||
<dimen name="system_shortcut_header_icon_touch_size">48dp</dimen>
|
||||
<!-- (touch_size - icon_size) / 2 -->
|
||||
<dimen name="system_shortcut_header_icon_padding">12dp</dimen>
|
||||
|
||||
<!-- Notifications -->
|
||||
<dimen name="bg_round_rect_radius">8dp</dimen>
|
||||
<dimen name="notification_padding_start">16dp</dimen>
|
||||
<dimen name="notification_padding_end">12dp</dimen>
|
||||
<!-- notification_padding_end + (icon_size - footer_icon_size) / 2 -->
|
||||
<dimen name="notification_footer_icon_row_padding">15dp</dimen>
|
||||
<dimen name="notification_header_height">36dp</dimen>
|
||||
<dimen name="notification_main_height">84dp</dimen>
|
||||
<dimen name="notification_footer_height">32dp</dimen>
|
||||
<!-- How much space to keep as padding for the last notification when the footer collapses -->
|
||||
<dimen name="notification_empty_footer_height">6dp</dimen>
|
||||
<dimen name="notification_header_text_size">13sp</dimen>
|
||||
<dimen name="notification_header_count_text_size">12sp</dimen>
|
||||
<dimen name="notification_main_title_size">16sp</dimen>
|
||||
<dimen name="notification_main_text_size">14sp</dimen>
|
||||
<dimen name="notification_icon_size">24dp</dimen>
|
||||
<dimen name="notification_footer_icon_size">18dp</dimen>
|
||||
<!-- notification_icon_size + notification_padding_end + 16dp padding between icon and text -->
|
||||
<dimen name="notification_main_text_padding_end">52dp</dimen>
|
||||
<dimen name="horizontal_ellipsis_size">18dp</dimen>
|
||||
<!-- arrow_horizontal_offset_start - (ellipsis_size - arrow_width) / 2 -->
|
||||
<dimen name="horizontal_ellipsis_offset">19dp</dimen>
|
||||
<dimen name="popup_item_divider_height">0.5dp</dimen>
|
||||
<dimen name="swipe_helper_falsing_threshold">70dp</dimen>
|
||||
|
||||
<!-- Overview -->
|
||||
<dimen name="options_menu_icon_size">24dp</dimen>
|
||||
<dimen name="options_menu_thumb_size">32dp</dimen>
|
||||
|
||||
<!-- Snackbar -->
|
||||
<dimen name="snackbar_height">48dp</dimen>
|
||||
<dimen name="snackbar_content_height">32dp</dimen>
|
||||
<dimen name="snackbar_padding">8dp</dimen>
|
||||
<dimen name="snackbar_min_margin_left_right">6dp</dimen>
|
||||
<dimen name="snackbar_max_margin_left_right">72dp</dimen>
|
||||
<dimen name="snackbar_margin_bottom">30dp</dimen>
|
||||
<dimen name="snackbar_elevation">3dp</dimen>
|
||||
<dimen name="snackbar_min_text_size">12sp</dimen>
|
||||
<dimen name="snackbar_max_text_size">14sp</dimen>
|
||||
|
||||
<!-- Theming related -->
|
||||
<dimen name="default_dialog_corner_radius">8dp</dimen>
|
||||
|
||||
</resources>
|
||||
20
res/values/drawables.xml
Normal file
20
res/values/drawables.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2017 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.
|
||||
-->
|
||||
<resources>
|
||||
<drawable name="ic_setup_shadow">@drawable/ic_setting</drawable>
|
||||
<drawable name="ic_remove_shadow">@drawable/ic_remove_no_shadow</drawable>
|
||||
<drawable name="ic_uninstall_shadow">@drawable/ic_uninstall_no_shadow</drawable>
|
||||
</resources>
|
||||
341
res/values/strings.xml
Normal file
341
res/values/strings.xml
Normal file
@@ -0,0 +1,341 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
* Copyright (C) 2008 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
|
||||
<!-- General -->
|
||||
<skip />
|
||||
|
||||
<!-- Application name -->
|
||||
<string name="app_name">Launcher3</string>
|
||||
<!-- Default folder name -->
|
||||
<string name="folder_name"></string>
|
||||
<!-- Work folder name -->
|
||||
<string name="work_folder_name">Work</string>
|
||||
<!-- Displayed when user selects a shortcut for an app that was uninstalled [CHAR_LIMIT=none]-->
|
||||
<string name="activity_not_found">App isn\'t installed.</string>
|
||||
<!-- Displayed when user selects a shortcut for an app that is current not available [CHAR_LIMIT=none]-->
|
||||
<string name="activity_not_available">App isn\'t available</string>
|
||||
<!-- SafeMode shortcut error string -->
|
||||
<string name="safemode_shortcut_error">Downloaded app disabled in Safe mode</string>
|
||||
<!-- SafeMode widget error string -->
|
||||
<string name="safemode_widget_error">Widgets disabled in Safe mode</string>
|
||||
<!-- Message shown when a shortcut is not available. It could have been temporarily disabled and may start working again after some time. -->
|
||||
<string name="shortcut_not_available">Shortcut isn\'t available</string>
|
||||
<!-- User visible name for the launcher/home screen. [CHAR_LIMIT=30] -->
|
||||
<string name="home_screen">Home screen</string>
|
||||
<!-- Label for showing custom action list of a shortcut or widget. [CHAR_LIMIT=30] -->
|
||||
<string name="custom_actions">Custom actions</string>
|
||||
|
||||
<!-- Widgets -->
|
||||
<!-- Message to tell the user to press and hold on a widget to add it [CHAR_LIMIT=50] -->
|
||||
<string name="long_press_widget_to_add">Touch & hold to pick up a widget.</string>
|
||||
<!-- Accessibility spoken hint message in widget picker, which allows user to add a widget. Custom action is the label for additional accessibility actions available in this mode [CHAR_LIMIT=100] -->
|
||||
<string name="long_accessible_way_to_add">Double-tap & hold to pick up a widget or use custom actions.</string>
|
||||
<!-- The format string for the dimensions of a widget in the drawer -->
|
||||
<!-- There is a special version of this format string for Farsi -->
|
||||
<string name="widget_dims_format">%1$d \u00d7 %2$d</string>
|
||||
<!-- Accessibility spoken message format for the dimensions of a widget in the drawer -->
|
||||
<string name="widget_accessible_dims_format">%1$d wide by %2$d high</string>
|
||||
<!-- Message to tell the user to press and hold a widget/icon to add it -->
|
||||
<string name="add_item_request_drag_hint">Touch & hold to place manually</string>
|
||||
<!-- Button label to automatically add icon on home screen [CHAR_LIMIT=50] -->
|
||||
<string name="place_automatically">Add automatically</string>
|
||||
|
||||
<!-- All Apps -->
|
||||
<!-- Search bar text in the apps view. [CHAR_LIMIT=50] -->
|
||||
<string name="all_apps_search_bar_hint">Search apps</string>
|
||||
<!-- Loading apps text. [CHAR_LIMIT=50] -->
|
||||
<string name="all_apps_loading_message">Loading apps…</string>
|
||||
<!-- No-search-results text. [CHAR_LIMIT=50] -->
|
||||
<string name="all_apps_no_search_results">No apps found matching \"<xliff:g id="query" example="Android">%1$s</xliff:g>\"</string>
|
||||
<!-- Label for the button which allows the user to get app search results. [CHAR_LIMIT=50] -->
|
||||
<string name="all_apps_search_market_message">Search for more apps</string>
|
||||
<!-- Label for an icon representing any generic app. [CHAR_LIMIT=50] -->
|
||||
<string name="label_application">App</string>
|
||||
|
||||
<!-- Popup items -->
|
||||
<!-- Text to display as the header above notifications. [CHAR_LIMIT=30] -->
|
||||
<string name="notifications_header">Notifications</string>
|
||||
|
||||
<!-- Drag and drop -->
|
||||
<!-- Message to tell the user to press and hold on a shortcut to add it [CHAR_LIMIT=50] -->
|
||||
<string name="long_press_shortcut_to_add">Touch & hold to pick up a shortcut.</string>
|
||||
<!-- Accessibility spoken hint message in deep shortcut menu, which allows user to add a shortcut. Custom action is the label for additional accessibility actions available in this mode [CHAR_LIMIT=200] -->
|
||||
<string name="long_accessible_way_to_add_shortcut">Double-tap & hold to pick up a shortcut or use custom actions.</string>
|
||||
|
||||
<skip />
|
||||
<!-- Error message when user has filled a home screen -->
|
||||
<string name="out_of_space">No more room on this Home screen.</string>
|
||||
<!-- Error message when user has filled the hotseat -->
|
||||
<string name="hotseat_out_of_space">No more room in the Favorites tray</string>
|
||||
|
||||
<!-- All applications label -->
|
||||
<string name="all_apps_button_label">Apps list</string>
|
||||
<string name="all_apps_button_personal_label">Personal apps list</string>
|
||||
<string name="all_apps_button_work_label">Work apps list</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>
|
||||
|
||||
<!-- Label for remove drop target (from the homescreen only).
|
||||
May appear next to uninstall_drop_target_label [CHAR_LIMIT=20] -->
|
||||
<string name="remove_drop_target_label">Remove</string>
|
||||
<!-- Label for uninstall drop target (from the device).
|
||||
May appear next to remove_drop_target_label [CHAR_LIMIT=20]-->
|
||||
<string name="uninstall_drop_target_label">Uninstall</string>
|
||||
<!-- Label for app info drop target. [CHAR_LIMIT=20] -->
|
||||
<string name="app_info_drop_target_label">App info</string>
|
||||
<!-- Label for install drop target. [CHAR_LIMIT=20] -->
|
||||
<string name="install_drop_target_label">Install</string>
|
||||
|
||||
<!-- Permissions: -->
|
||||
<skip />
|
||||
<!-- Permission short label -->
|
||||
<string name="permlab_install_shortcut">install shortcuts</string>
|
||||
<!-- Permission description -->
|
||||
<string name="permdesc_install_shortcut">Allows an app to add
|
||||
shortcuts without user intervention.</string>
|
||||
<!-- Permission short label -->
|
||||
<string name="permlab_read_settings">read Home settings and shortcuts</string>
|
||||
<!-- Permission description -->
|
||||
<string name="permdesc_read_settings">Allows the app to read the settings and
|
||||
shortcuts in Home.</string>
|
||||
<!-- Permission short label -->
|
||||
<string name="permlab_write_settings">write Home settings and shortcuts</string>
|
||||
<!-- Permission description -->
|
||||
<string name="permdesc_write_settings">Allows the app to change the settings and
|
||||
shortcuts in Home.</string>
|
||||
|
||||
<!-- Toast shown on clicking a direct call shortcut. [CHAR_LIMIT=80] -->
|
||||
<string name="msg_no_phone_permission"><xliff:g id="app_name" example="Launcher3">%1$s</xliff:g> is not allowed to make phone calls</string>
|
||||
|
||||
<!-- Widgets: -->
|
||||
<skip />
|
||||
|
||||
<!-- Text to show user in place of a gadget when we can't display it properly -->
|
||||
<string name="gadget_error_text">Problem loading widget</string>
|
||||
|
||||
<!-- Text to show user in place of a gadget when it is not yet initialized. -->
|
||||
<string name="gadget_setup_text">Setup</string>
|
||||
|
||||
<!-- Text to inform the user that they can't uninstall a system application -->
|
||||
<string name="uninstall_system_app_text">This is a system app and can\'t be uninstalled.</string>
|
||||
|
||||
<!-- Default folder title -->
|
||||
<string name="folder_hint_text">Unnamed Folder</string>
|
||||
|
||||
<!-- Accessibility -->
|
||||
<!-- The format string for when an app is temporarily disabled. -->
|
||||
<string name="disabled_app_label">Disabled <xliff:g id="app_name" example="Messenger">%1$s</xliff:g></string>
|
||||
<!-- The format string for when an app has a notification dot (meaning it has associated notifications). -->
|
||||
<plurals name="dotted_app_label">
|
||||
<item quantity="one"><xliff:g id="app_name" example="Messenger">%1$s</xliff:g>, has <xliff:g id="notification_count" example="1">%2$d</xliff:g> notification</item>
|
||||
<item quantity="other"><xliff:g id="app_name" example="Messenger">%1$s</xliff:g>, has <xliff:g id="notification_count" example="3">%2$d</xliff:g> notifications</item>
|
||||
</plurals>
|
||||
<skip />
|
||||
|
||||
<!-- The format string for default page scroll text [CHAR_LIMIT=none] -->
|
||||
<string name="default_scroll_format">Page %1$d of %2$d</string>
|
||||
<!-- The format string for Workspace page scroll text [CHAR_LIMIT=none] -->
|
||||
<string name="workspace_scroll_format">Home screen %1$d of %2$d</string>
|
||||
<!-- Description for a new page on homescreen[CHAR_LIMIT=none] -->
|
||||
<string name="workspace_new_page">New home screen page</string>
|
||||
|
||||
<!-- Folder accessibility -->
|
||||
<!-- The format string for when a folder is opened, speaks the dimensions -->
|
||||
<string name="folder_opened">Folder opened, <xliff:g id="width" example="5">%1$d</xliff:g> by <xliff:g id="height" example="3">%2$d</xliff:g></string>
|
||||
<!-- Instruction that clicking outside will close folder -->
|
||||
<string name="folder_tap_to_close">Tap to close folder</string>
|
||||
<!-- Instruction that clicking outside will commit folder rename -->
|
||||
<string name="folder_tap_to_rename">Tap to save rename</string>
|
||||
<!-- Indication that folder closed -->
|
||||
<string name="folder_closed">Folder closed</string>
|
||||
<!-- Folder renamed format -->
|
||||
<string name="folder_renamed">Folder renamed to <xliff:g id="name" example="Games">%1$s</xliff:g></string>
|
||||
<!-- Folder name format -->
|
||||
<string name="folder_name_format">Folder: <xliff:g id="name" example="Games">%1$s</xliff:g></string>
|
||||
|
||||
<!-- Strings for the customization mode -->
|
||||
<!-- Text for widget add button -->
|
||||
<string name="widget_button_text">Widgets</string>
|
||||
<!-- Text for wallpaper change button -->
|
||||
<string name="wallpaper_button_text">Wallpapers</string>
|
||||
<!-- Text for wallpaper change button -->
|
||||
<string name="styles_wallpaper_button_text">Styles & wallpapers</string>
|
||||
<!-- Text for settings button -->
|
||||
<string name="settings_button_text">Home settings</string>
|
||||
<!-- Message shown when a feature is disabled by the administrator -->
|
||||
<string name="msg_disabled_by_admin">Disabled by your admin</string>
|
||||
|
||||
<!-- Strings for settings -->
|
||||
<!-- Title for Allow Rotation setting. [CHAR LIMIT=50] -->
|
||||
<string name="allow_rotation_title">Allow Home screen rotation</string>
|
||||
<!-- Text explaining when the home screen will get rotated. [CHAR LIMIT=100] -->
|
||||
<string name="allow_rotation_desc">When phone is rotated</string>
|
||||
<!-- Title for Notification dots setting. Tapping this will link to the system Notifications settings screen where the user can turn off notification dots globally. [CHAR LIMIT=50] -->
|
||||
<string name="notification_dots_title">Notification dots</string>
|
||||
<!-- Text to indicate that the system notification dots setting is on [CHAR LIMIT=100] -->
|
||||
<string name="notification_dots_desc_on">On</string>
|
||||
<!-- Text to indicate that the system notification dots setting is off [CHAR LIMIT=100] -->
|
||||
<string name="notification_dots_desc_off">Off</string>
|
||||
<!-- Title for the dialog shown when the app does not has notification access, explaining the requirement for notification access [CHAR LIMIT=50] -->
|
||||
<string name="title_missing_notification_access">Notification access needed</string>
|
||||
<!-- Message explaining to the user that the notification access is required by the app for showing 'Notification dots' [CHAR LIMIT=NONE] -->
|
||||
<string name="msg_missing_notification_access">To show Notification Dots, turn on app notifications for <xliff:g id="name" example="My App">%1$s</xliff:g></string>
|
||||
<!-- Button text in the confirmation dialog which would take the user to the system settings [CHAR LIMIT=50] -->
|
||||
<string name="title_change_settings">Change settings</string>
|
||||
<!-- Summary for Notification dots setting. Tapping this will link enable/disable notification dots feature on the home screen. [CHAR LIMIT=50] -->
|
||||
<string name="notification_dots_service_title">Show notification dots</string>
|
||||
|
||||
<!-- Label for the setting that allows the automatic placement of launcher shortcuts for applications and games installed on the device [CHAR LIMIT=40] -->
|
||||
<string name="auto_add_shortcuts_label">Add icon to Home screen</string>
|
||||
<!-- Text description of the setting that allows the automatic placement of launcher shortcuts for applications and games installed on the device [CHAR LIMIT=NONE] -->
|
||||
<string name="auto_add_shortcuts_description">For new apps</string>
|
||||
|
||||
<!-- Label on an icon that references an uninstalled package, for which we have no information about when it might be installed. [CHAR_LIMIT=15] -->
|
||||
<string name="package_state_unknown">Unknown</string>
|
||||
|
||||
<!-- Button for abandoned promises dialog, to removes this abandoned promise icon. -->
|
||||
<string name="abandoned_clean_this">Remove</string>
|
||||
<!-- Button for abandoned promise dialog, to search in the market for the missing package. -->
|
||||
<string name="abandoned_search">Search</string>
|
||||
<!-- Title for abandoned promise dialog. -->
|
||||
<string name="abandoned_promises_title">This app is not installed</string>
|
||||
<!-- Explanation for abandoned promise dialog. "The first 'it' refers to the shortcut icon.
|
||||
The second "it" refers to the app. -->
|
||||
<string name="abandoned_promise_explanation">The app for this icon isn\'t installed.
|
||||
You can remove it, or search for the app and install it manually.
|
||||
</string>
|
||||
<!-- Title for an app which is being downloaded. -->
|
||||
<string name="app_downloading_title"><xliff:g id="name" example="Messenger">%1$s</xliff:g> downloading, <xliff:g id="progress" example="30%">%2$s</xliff:g> complete</string>
|
||||
<!-- Title for an app whose download has been started. -->
|
||||
<string name="app_waiting_download_title"><xliff:g id="name" example="Messenger">%1$s</xliff:g> waiting to install</string>
|
||||
|
||||
<!-- Strings for widgets & more in the popup container/bottom sheet -->
|
||||
<!-- Title for a bottom sheet that shows widgets for a particular app -->
|
||||
<string name="widgets_bottom_sheet_title"><xliff:g id="name" example="Messenger">%1$s</xliff:g> widgets</string>
|
||||
|
||||
<!-- Accessibility title for the popup containing a list of widgets. [CHAR_LIMIT=50] -->
|
||||
<string name="widgets_list">Widgets list</string>
|
||||
<!-- Text announced by accessibility when the popup containing the list of widgets is closed. [CHAR_LIMIT=100] -->
|
||||
<string name="widgets_list_closed">Widgets list closed</string>
|
||||
|
||||
<!-- Strings for accessibility actions -->
|
||||
<!-- Accessibility action to add an app to workspace. [CHAR_LIMIT=30] -->
|
||||
<string name="action_add_to_workspace">Add to Home screen</string>
|
||||
|
||||
<!-- Accessibility action to move item to the current location. [CHAR_LIMIT=30] -->
|
||||
<string name="action_move_here">Move item here</string>
|
||||
|
||||
<!-- Accessibility confirmation for item added to workspace. -->
|
||||
<string name="item_added_to_workspace">Item added to home screen</string>
|
||||
|
||||
<!-- Accessibility confirmation for item removed. [CHAR_LIMIT=50]-->
|
||||
<string name="item_removed">Item removed</string>
|
||||
|
||||
<!-- Action shown in snackbar to undo item removal. [CHAR_LIMIT=20] -->
|
||||
<string name="undo">Undo</string>
|
||||
|
||||
<!-- Accessibility action to move an item on the workspace. [CHAR_LIMIT=30] -->
|
||||
<string name="action_move">Move item</string>
|
||||
|
||||
<!-- Accessibility description to move item to empty cell. -->
|
||||
<string name="move_to_empty_cell">Move to row <xliff:g id="number" example="1">%1$s</xliff:g> column <xliff:g id="number" example="1">%2$s</xliff:g></string>
|
||||
|
||||
<!-- Accessibility description to move item inside a folder. -->
|
||||
<string name="move_to_position">Move to position <xliff:g id="number" example="1">%1$s</xliff:g></string>
|
||||
|
||||
<!-- Accessibility description to move item to the hotseat. -->
|
||||
<string name="move_to_hotseat_position">Move to favorites position <xliff:g id="number" example="1">%1$s</xliff:g></string>
|
||||
|
||||
<!-- Accessibility confirmation for item move. -->
|
||||
<string name="item_moved">Item moved</string>
|
||||
|
||||
<!-- Accessibility description to move item into an existing folder. -->
|
||||
<string name="add_to_folder">Add to folder: <xliff:g id="name" example="Games">%1$s</xliff:g></string>
|
||||
|
||||
<!-- Accessibility description to move item into an existing folder containing an app. -->
|
||||
<string name="add_to_folder_with_app">Add to folder with <xliff:g id="name" example="Messenger">%1$s</xliff:g></string>
|
||||
|
||||
<!-- Accessibility confirmation for item added to folder. -->
|
||||
<string name="added_to_folder">Item added to folder</string>
|
||||
|
||||
<!-- Accessibility description to create folder with another item. -->
|
||||
<string name="create_folder_with">Create folder with: <xliff:g id="name" example="Game">%1$s</xliff:g></string>
|
||||
|
||||
<!-- Accessibility confirmation for folder created. -->
|
||||
<string name="folder_created">Folder created</string>
|
||||
|
||||
<!-- Accessibility action to move an item from folder to workspace. [CHAR_LIMIT=30] -->
|
||||
<string name="action_move_to_workspace">Move to Home screen</string>
|
||||
|
||||
<!-- Accessibility action to resize a widget. [CHAR_LIMIT=30] -->
|
||||
<string name="action_resize">Resize</string>
|
||||
|
||||
<!-- Accessibility action to increase width of a widget. [CHAR_LIMIT=30] -->
|
||||
<string name="action_increase_width">Increase width</string>
|
||||
|
||||
<!-- Accessibility action to increase height of a widget. [CHAR_LIMIT=30] -->
|
||||
<string name="action_increase_height">Increase height</string>
|
||||
|
||||
<!-- Accessibility action to decrease width of a widget. [CHAR_LIMIT=30] -->
|
||||
<string name="action_decrease_width">Decrease width</string>
|
||||
|
||||
<!-- Accessibility action to decrease height of a widget. [CHAR_LIMIT=30] -->
|
||||
<string name="action_decrease_height">Decrease height</string>
|
||||
|
||||
<!-- Accessibility confirmation for widget resize. -->
|
||||
<string name="widget_resized">Widget resized to width <xliff:g id="number" example="2">%1$s</xliff:g> height <xliff:g id="number" example="1">%2$s</xliff:g></string>
|
||||
|
||||
<!-- Accessibility action to show quick actions menu for an icon. [CHAR_LIMIT=30] -->
|
||||
<string name="action_deep_shortcut">Shortcuts</string>
|
||||
<!-- Accessibility description when the context menu of a launcher icon that has notifications as well as shortcuts (providing quick access to app's actions). The "shortcuts" translation should be consistent with the one for action_deep_shortcut. [CHAR_LIMIT=50] -->
|
||||
<string name="shortcuts_menu_with_notifications_description">Shortcuts and notifications
|
||||
</string>
|
||||
|
||||
<!-- Accessibility action to dismiss a notification in the shortcuts menu for an icon. [CHAR_LIMIT=30] -->
|
||||
<string name="action_dismiss_notification">Dismiss</string>
|
||||
|
||||
<!-- Accessibility confirmation for notification being dismissed. -->
|
||||
<string name="notification_dismissed">Notification dismissed</string>
|
||||
|
||||
<!-- Label of tab to indicate personal apps -->
|
||||
<string name="all_apps_personal_tab">Personal</string>
|
||||
|
||||
<!-- Label of tab to indicate work apps -->
|
||||
<string name="all_apps_work_tab">Work</string>
|
||||
|
||||
<!-- This string is in the work profile tab when a user has All Apps open on their phone. This is a label for a toggle to turn the work profile on and off. "Work profile" means a separate profile on a user's phone that's specifically for their work apps and managed by their company. "Work" is used as an adjective.-->
|
||||
<string name="work_profile_toggle_label">Work profile</string>
|
||||
<!-- Title of an overlay in All Apps. This overlay is letting a user know about their work profile, which is managed by their employer. "Work apps" are apps in a user's work profile.-->
|
||||
<string name="bottom_work_tab_user_education_title">Find work apps here</string>
|
||||
<!-- Text in an overlay in All Apps. This overlay is letting a user know about their work profile, which is managed by their employer.-->
|
||||
<string name="bottom_work_tab_user_education_body">Each work app has a badge and is kept secure by your organization. Move apps to your Home screen for easier access.</string>
|
||||
<!-- This string is in the work profile tab when a user has All Apps open on their phone. It describes the label of a toggle, "Work profile," as being managed by the user's employer.
|
||||
"Organization" is used to represent a variety of businesses, non-profits, and educational institutions).-->
|
||||
<string name="work_mode_on_label">Managed by your organization</string>
|
||||
<!-- This string appears under a the label of a toggle in the work profile tab on a user's phone. It describes the status of the toggle, "Work profile," when it's turned off. "Work profile" means a separate profile on a user's phone that's speficially for their work apps and is managed by their company.-->
|
||||
<string name="work_mode_off_label">Notifications and apps are off</string>
|
||||
<string name="bottom_work_tab_user_education_close_button">Close</string>
|
||||
<string name="bottom_work_tab_user_education_closed">Closed</string>
|
||||
|
||||
<!-- Failed action error message: e.g. Failed: Pause -->
|
||||
<string name="remote_action_failed">Failed: <xliff:g id="what" example="Pause">%1$s</xliff:g></string>
|
||||
</resources>
|
||||
229
res/values/styles.xml
Normal file
229
res/values/styles.xml
Normal file
@@ -0,0 +1,229 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/*
|
||||
* Copyright (C) 2008 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.
|
||||
*/
|
||||
-->
|
||||
|
||||
<resources>
|
||||
<!-- Launcher theme -->
|
||||
<style name="BaseLauncherTheme" parent="@android:style/Theme.DeviceDefault.Light">
|
||||
<item name="android:colorBackgroundCacheHint">@null</item>
|
||||
<item name="android:colorEdgeEffect">#FF757575</item>
|
||||
<item name="android:windowActionBar">false</item>
|
||||
<item name="android:windowBackground">@android:color/transparent</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
<item name="android:windowShowWallpaper">true</item>
|
||||
<item name="folderTextColor">?attr/workspaceTextColor</item>
|
||||
</style>
|
||||
|
||||
<style name="LauncherTheme" parent="@style/BaseLauncherTheme">
|
||||
<item name="allAppsScrimColor">#EAFFFFFF</item>
|
||||
<item name="allAppsInterimScrimAlpha">46</item>
|
||||
<item name="allAppsNavBarScrimColor">#66FFFFFF</item>
|
||||
<item name="popupColorPrimary">#FFF</item>
|
||||
<item name="popupColorSecondary">#F5F5F5</item> <!-- Gray 100 -->
|
||||
<item name="popupColorTertiary">#E0E0E0</item> <!-- Gray 300 -->
|
||||
<item name="isMainColorDark">false</item>
|
||||
<item name="isWorkspaceDarkText">false</item>
|
||||
<item name="workspaceTextColor">@android:color/white</item>
|
||||
<item name="workspaceShadowColor">#B0000000</item>
|
||||
<item name="workspaceAmbientShadowColor">#33000000</item>
|
||||
<item name="workspaceKeyShadowColor">#44000000</item>
|
||||
<item name="workspaceStatusBarScrim">@drawable/workspace_bg</item>
|
||||
<item name="widgetsTheme">@style/WidgetContainerTheme</item>
|
||||
<item name="folderDotColor">?android:attr/colorPrimary</item>
|
||||
<item name="folderFillColor">#CDFFFFFF</item>
|
||||
<item name="folderIconBorderColor">?android:attr/colorPrimary</item>
|
||||
<item name="folderTextColor">#FF212121</item>
|
||||
<item name="loadingIconColor">#CCFFFFFF</item>
|
||||
|
||||
<item name="android:windowTranslucentStatus">false</item>
|
||||
<item name="android:windowTranslucentNavigation">false</item>
|
||||
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
|
||||
<item name="android:statusBarColor">#00000000</item>
|
||||
<item name="android:navigationBarColor">#00000000</item>
|
||||
</style>
|
||||
|
||||
<style name="LauncherTheme.DarkMainColor" parent="@style/LauncherTheme">
|
||||
<item name="folderFillColor">#FF3C4043</item> <!-- 100% GM2 800 -->
|
||||
<item name="folderTextColor">?attr/workspaceTextColor</item>
|
||||
</style>
|
||||
|
||||
<style name="LauncherTheme.DarkText" parent="@style/LauncherTheme">
|
||||
<item name="workspaceTextColor">#FF212121</item>
|
||||
<item name="allAppsInterimScrimAlpha">128</item>
|
||||
<item name="workspaceShadowColor">@android:color/transparent</item>
|
||||
<item name="workspaceAmbientShadowColor">@android:color/transparent</item>
|
||||
<item name="workspaceKeyShadowColor">@android:color/transparent</item>
|
||||
<item name="isWorkspaceDarkText">true</item>
|
||||
<item name="workspaceStatusBarScrim">@null</item>
|
||||
<item name="folderDotColor">#FF464646</item>
|
||||
<item name="folderFillColor">#CDFFFFFF</item>
|
||||
<item name="folderIconBorderColor">#FF80868B</item>
|
||||
<item name="folderTextColor">?attr/workspaceTextColor</item>
|
||||
</style>
|
||||
|
||||
<style name="LauncherTheme.Dark" parent="@style/LauncherTheme">
|
||||
<item name="android:textColorPrimary">#FFFFFFFF</item>
|
||||
<item name="android:textColorSecondary">#FFFFFFFF</item>
|
||||
<item name="android:textColorTertiary">#CCFFFFFF</item>
|
||||
<item name="android:textColorHint">#A0FFFFFF</item>
|
||||
<item name="android:colorControlHighlight">#A0FFFFFF</item>
|
||||
<item name="android:colorPrimary">#FF212121</item>
|
||||
<item name="allAppsScrimColor">#EA212121</item>
|
||||
<item name="allAppsInterimScrimAlpha">102</item>
|
||||
<item name="allAppsNavBarScrimColor">#80000000</item>
|
||||
<item name="popupColorPrimary">#3C4043</item> <!-- Gray 800 -->
|
||||
<item name="popupColorSecondary">#5F6368</item> <!-- Gray 700 -->
|
||||
<item name="popupColorTertiary">#757575</item> <!-- Gray 600 -->
|
||||
<item name="widgetsTheme">@style/WidgetContainerTheme.Dark</item>
|
||||
<item name="folderDotColor">#FF464646</item>
|
||||
<item name="folderFillColor">#DD3C4043</item> <!-- 87% GM2 800 -->
|
||||
<item name="folderIconBorderColor">#FF80868B</item>
|
||||
<item name="folderTextColor">@android:color/white</item>
|
||||
<item name="isMainColorDark">true</item>
|
||||
<item name="loadingIconColor">#99FFFFFF</item>
|
||||
</style>
|
||||
|
||||
<style name="LauncherTheme.Dark.DarkMainColor" parent="@style/LauncherTheme.Dark">
|
||||
<item name="folderFillColor">#FF3C4043</item> <!-- 100% GM2 800 -->
|
||||
<item name="folderTextColor">@android:color/white</item>
|
||||
</style>
|
||||
|
||||
<style name="LauncherTheme.Dark.DarkText" parent="@style/LauncherTheme.Dark">
|
||||
<item name="allAppsInterimScrimAlpha">25</item>
|
||||
<item name="folderFillColor">#CDFFFFFF</item>
|
||||
<item name="folderTextColor">?attr/workspaceTextColor</item>
|
||||
<item name="workspaceTextColor">#FF212121</item>
|
||||
<item name="workspaceShadowColor">@android:color/transparent</item>
|
||||
<item name="workspaceAmbientShadowColor">@android:color/transparent</item>
|
||||
<item name="workspaceKeyShadowColor">@android:color/transparent</item>
|
||||
<item name="isWorkspaceDarkText">true</item>
|
||||
<item name="workspaceStatusBarScrim">@null</item>
|
||||
</style>
|
||||
|
||||
<!-- A derivative project can extend these themes to customize the application theme without
|
||||
affecting the base theme -->
|
||||
<style name="AppTheme" parent="@style/LauncherTheme" />
|
||||
<style name="AppTheme.DarkMainColor" parent="@style/LauncherTheme.DarkMainColor" />
|
||||
<style name="AppTheme.DarkText" parent="@style/LauncherTheme.DarkText" />
|
||||
|
||||
<style name="AppTheme.Dark" parent="@style/LauncherTheme.Dark" />
|
||||
<style name="AppTheme.Dark.DarkMainColor" parent="@style/LauncherTheme.Dark.DarkMainColor" />
|
||||
<style name="AppTheme.Dark.DarkText" parent="@style/LauncherTheme.Dark.DarkText" />
|
||||
|
||||
<style name="AppItemActivityTheme" parent="@android:style/Theme.Material.Light.Dialog.Alert">
|
||||
<item name="widgetsTheme">@style/WidgetContainerTheme</item>
|
||||
</style>
|
||||
|
||||
<!--
|
||||
Theme overrides to element on homescreen, i.e., which are drawn on top on wallpaper.
|
||||
Various foreground colors are overridden to be workspaceTextColor so that they are properly
|
||||
visible on various wallpapers.
|
||||
-->
|
||||
<style name="HomeScreenElementTheme">
|
||||
<item name="android:colorEdgeEffect">?attr/workspaceTextColor</item>
|
||||
<item name="android:textColorPrimary">?attr/workspaceTextColor</item>
|
||||
<item name="android:textColorSecondary">?attr/workspaceTextColor</item>
|
||||
</style>
|
||||
|
||||
<!-- Theme for the widget container. Overridden on API 26. -->
|
||||
<style name="WidgetContainerTheme" parent="@android:style/Theme.DeviceDefault.Settings">
|
||||
<item name="android:colorEdgeEffect">?android:attr/textColorSecondaryInverse</item>
|
||||
<item name="android:textColorPrimary">?android:attr/textColorPrimaryInverse</item>
|
||||
<item name="android:textColorSecondary">?android:attr/textColorSecondaryInverse</item>
|
||||
</style>
|
||||
|
||||
<style name="WidgetContainerTheme.Dark" />
|
||||
|
||||
<style name="FastScrollerPopup" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle">
|
||||
<item name="android:layout_width">wrap_content</item>
|
||||
<item name="android:minWidth">@dimen/fastscroll_popup_width</item>
|
||||
<item name="android:layout_height">@dimen/fastscroll_popup_height</item>
|
||||
<item name="android:textSize">@dimen/fastscroll_popup_text_size</item>
|
||||
<item name="android:paddingEnd">@dimen/fastscroll_popup_padding</item>
|
||||
<item name="android:gravity">center</item>
|
||||
<item name="android:alpha">0</item>
|
||||
<item name="android:elevation">3dp</item>
|
||||
<item name="android:saveEnabled">false</item>
|
||||
<item name="android:textColor">@android:color/white</item>
|
||||
<item name="android:includeFontPadding">false</item>
|
||||
<item name="android:importantForAccessibility">no</item>
|
||||
</style>
|
||||
|
||||
<!-- Base theme for BubbleTextView and sub classes -->
|
||||
<style name="BaseIcon" parent="@android:style/TextAppearance.DeviceDefault">
|
||||
<item name="android:layout_width">match_parent</item>
|
||||
<item name="android:layout_height">match_parent</item>
|
||||
<item name="android:layout_gravity">center</item>
|
||||
<item name="android:focusable">true</item>
|
||||
<item name="android:gravity">center_horizontal</item>
|
||||
<item name="android:lines">1</item>
|
||||
<item name="android:textColor">?android:attr/textColorSecondary</item>
|
||||
<item name="android:defaultFocusHighlightEnabled">false</item>
|
||||
|
||||
<!-- No shadows in the base theme -->
|
||||
<item name="android:shadowRadius">0</item>
|
||||
</style>
|
||||
|
||||
<!-- Icon displayed on the workspace -->
|
||||
<style name="BaseIcon.Workspace" >
|
||||
<item name="android:shadowRadius">2.0</item>
|
||||
<item name="android:shadowColor">?attr/workspaceShadowColor</item>
|
||||
<item name="ambientShadowColor">?attr/workspaceAmbientShadowColor</item>
|
||||
<item name="ambientShadowBlur">2.5dp</item>
|
||||
<item name="keyShadowColor">?attr/workspaceKeyShadowColor</item>
|
||||
<item name="keyShadowBlur">1dp</item>
|
||||
<item name="keyShadowOffset">.5dp</item>
|
||||
</style>
|
||||
|
||||
<!-- Theme for the popup container -->
|
||||
<style name="PopupItem">
|
||||
<item name="android:colorControlHighlight">?attr/popupColorTertiary</item>
|
||||
</style>
|
||||
|
||||
<!-- Drop targets -->
|
||||
<style name="DropTargetButtonBase" parent="@android:style/TextAppearance.DeviceDefault">
|
||||
<item name="android:drawablePadding">7.5dp</item>
|
||||
<item name="android:paddingLeft">16dp</item>
|
||||
<item name="android:paddingRight">16dp</item>
|
||||
<item name="android:textColor">?attr/workspaceTextColor</item>
|
||||
<item name="android:textSize">@dimen/drop_target_text_size</item>
|
||||
<item name="android:singleLine">true</item>
|
||||
<item name="android:ellipsize">end</item>
|
||||
<item name="android:shadowColor">?attr/workspaceShadowColor</item>
|
||||
<item name="android:shadowDx">0.0</item>
|
||||
<item name="android:shadowDy">1.0</item>
|
||||
<item name="android:shadowRadius">4.0</item>
|
||||
</style>
|
||||
|
||||
<style name="DropTargetButton" parent="DropTargetButtonBase" />
|
||||
|
||||
<style name="TextHeadline" parent="@android:style/TextAppearance.DeviceDefault.DialogWindowTitle" />
|
||||
|
||||
<style name="TextTitle" parent="@android:style/TextAppearance.DeviceDefault" />
|
||||
|
||||
<style name="AllAppsEmptySearchBackground">
|
||||
<item name="android:colorPrimary">#E0E0E0</item>
|
||||
<item name="android:colorControlHighlight">#BDBDBD</item>
|
||||
<item name="android:colorForeground">@color/all_apps_bg_hand_fill</item>
|
||||
</style>
|
||||
<style name="AllAppsEmptySearchBackground.Dark">
|
||||
<item name="android:colorPrimary">#9AA0A6</item>
|
||||
<item name="android:colorControlHighlight">#DFE1E5</item>
|
||||
<item name="android:colorForeground">@color/all_apps_bg_hand_fill_dark</item>
|
||||
</style>
|
||||
</resources>
|
||||
Reference in New Issue
Block a user