Merge "Removing obsolete resources" into ub-launcher3-burnaby
This commit is contained in:
commit
e2f7268df9
|
@ -1,25 +0,0 @@
|
|||
<?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.
|
||||
-->
|
||||
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="?android:attr/listPreferredItemHeight"
|
||||
android:textAppearance="?android:attr/textAppearanceLarge"
|
||||
android:gravity="center_vertical"
|
||||
android:drawablePadding="14dip"
|
||||
android:paddingLeft="15dip"
|
||||
android:paddingRight="15dip" />
|
|
@ -1,42 +0,0 @@
|
|||
<?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.
|
||||
-->
|
||||
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="20dip"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/label"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:text="@string/rename_folder_label"
|
||||
android:gravity="start"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||
|
||||
<EditText
|
||||
android:id="@+id/folder_name"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="match_parent"
|
||||
android:scrollHorizontally="true"
|
||||
android:autoText="false"
|
||||
android:capitalize="none"
|
||||
android:gravity="fill_horizontal"
|
||||
android:maxLength="30"
|
||||
android:textAppearance="?android:attr/textAppearanceMedium" />
|
||||
|
||||
</LinearLayout>
|
|
@ -34,8 +34,6 @@
|
|||
<string name="application_name">Launcher3</string>
|
||||
<!-- Accessibility-facing application name -->
|
||||
<string name="home">Home</string>
|
||||
<!-- Name for all applications running as this uid. -->
|
||||
<string name="uid_name">Android Core Apps</string>
|
||||
<!-- Default folder name -->
|
||||
<string name="folder_name"></string>
|
||||
<!-- Work folder name -->
|
||||
|
@ -48,10 +46,6 @@
|
|||
<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>
|
||||
<!-- Labels for the tabs in the customize drawer -->
|
||||
<string name="widgets_tab_label">Widgets</string>
|
||||
|
||||
<string name="widget_adder">Widgets</string>
|
||||
|
||||
<string name="toggle_weight_watcher">Show Mem</string>
|
||||
|
||||
|
@ -62,17 +56,6 @@
|
|||
<!-- There is a special version of this format string for Farsi -->
|
||||
<string name="widget_dims_format">%1$d \u00d7 %2$d</string>
|
||||
|
||||
<!-- External-drop widget pick label format string [CHAR_LIMIT=25] -->
|
||||
<string name="external_drop_widget_pick_format" translatable="false">%1$s (%2$d \u00d7 %3$d)</string>
|
||||
<!-- External-drop widget error string. This is the error that is shown
|
||||
when you drag and item into the homescreen and it is unable to fit,
|
||||
or an error is encountered. [CHAR_LIMIT=50] -->
|
||||
<string name="external_drop_widget_error">Couldn\'t drop item on this Home screen.</string>
|
||||
<!-- External-drop widget pick title. This is shown as the title of the
|
||||
dialog which allows you to pick which widgets to handle a particular
|
||||
drop if there are multiple choices. [CHAR_LIMIT=35] -->
|
||||
<string name="external_drop_widget_pick_title">Choose widget to create</string>
|
||||
|
||||
<!-- Apps view -->
|
||||
<!-- Search bar text in the apps view. [CHAR_LIMIT=50] -->
|
||||
<string name="apps_view_search_bar_hint">Search Apps</string>
|
||||
|
@ -81,54 +64,18 @@
|
|||
<!-- No-search-results text. [CHAR_LIMIT=50] -->
|
||||
<string name="apps_view_no_search_results">No Apps found matching \"<xliff:g id="query" example="Android">%1$s</xliff:g>\"</string>
|
||||
|
||||
<!-- Folders -->
|
||||
<!-- Drag and drop -->
|
||||
<skip />
|
||||
<!-- Label of Folder name field in Rename folder dialog box -->
|
||||
<string name="rename_folder_label">Folder name</string>
|
||||
<!-- Title of dialog box -->
|
||||
<string name="rename_folder_title">Rename folder</string>
|
||||
<!-- Buttons in Rename folder dialog box -->
|
||||
<string name="rename_action">OK</string>
|
||||
<!-- Buttons in Rename folder dialog box -->
|
||||
<string name="cancel_action">Cancel</string>
|
||||
|
||||
<!-- Shortcuts -->
|
||||
<skip />
|
||||
<!-- Title of dialog box -->
|
||||
<string name="menu_item_add_item">Add to Home screen</string>
|
||||
<!-- Options in "Add to Home" dialog box; Title of the group containing the list of all apps -->
|
||||
<string name="group_applications">Apps</string>
|
||||
<!-- Options in "Add to Home" dialog box; Title of the group containing the list of all shortcut
|
||||
s -->
|
||||
<string name="group_shortcuts">Shortcuts</string>
|
||||
<!-- Options in "Add to Home" dialog box; Title of the group containing the list of all widgets/gadgets -->
|
||||
<string name="group_widgets">Widgets</string>
|
||||
<!-- Error message when user has filled all their home screens -->
|
||||
<string name="completely_out_of_space">No more room on your Home screens.</string>
|
||||
<!-- 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>
|
||||
<!-- Error message when user tries to drop an invalid item on the hotseat -->
|
||||
<string name="invalid_hotseat_item">This widget is too large for the Favorites tray</string>
|
||||
<!-- Message displayed when a shortcut is created by an external application -->
|
||||
<string name="shortcut_installed">Shortcut \"<xliff:g id="name" example="Browser">%s</xliff:g>\" created.</string>
|
||||
<!-- Message displayed when an external application attemps to create a shortcut that already exists -->
|
||||
<string name="shortcut_duplicate">Shortcut \"<xliff:g id="name" example="Browser">%s</xliff:g>\" already exists.</string>
|
||||
|
||||
<!-- Title of dialog when user is selecting shortcut to add to homescreen -->
|
||||
<string name="title_select_shortcut">Choose shortcut</string>
|
||||
<!-- Title of dialog when user is selecting an application to add to homescreen -->
|
||||
<string name="title_select_application">Choose app</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>
|
||||
<!-- Label for trash icon in All Apps. The icon/widget will become completely unavailable on the
|
||||
device. [CHAR_LIMIT=30]-->
|
||||
<string name="delete_zone_label_all_apps">Uninstall</string>
|
||||
|
||||
<!-- Label for delete drop target. [CHAR_LIMIT=20] -->
|
||||
<string name="delete_target_label">Remove</string>
|
||||
|
@ -137,35 +84,6 @@ s -->
|
|||
<!-- Label for the info icon. [CHAR_LIMIT=20] -->
|
||||
<string name="info_target_label">App info</string>
|
||||
|
||||
<!-- Accessibility: AllApps button -->
|
||||
<string name="accessibility_all_apps_button">Apps</string>
|
||||
<!-- Accessibility: Delete button -->
|
||||
<string name="accessibility_delete_button">Remove</string>
|
||||
|
||||
<!-- Label for trash icon in All Apps, when an updated system app is selected. The update will
|
||||
be uninstalled. [CHAR_LIMIT=30] -->
|
||||
<string name="delete_zone_label_all_apps_system_app">Uninstall update</string>
|
||||
|
||||
<!-- URL pointing to help text. If empty, no link to help will be created [DO NOT TRANSLATE] -->
|
||||
<string name="help_url" translatable="false"></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 app</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">App 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 app 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 -->
|
||||
|
@ -196,9 +114,6 @@ s -->
|
|||
<!-- 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>
|
||||
|
||||
<!-- Title of the Android Dreams (screensaver) module -->
|
||||
<string name="dream_name">Rocket Launcher</string>
|
||||
|
||||
<!-- Default folder title -->
|
||||
<string name="folder_hint_text">Unnamed Folder</string>
|
||||
|
||||
|
@ -212,22 +127,10 @@ s -->
|
|||
<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>
|
||||
<!-- The format string for AppsCustomize Apps page scroll text [CHAR_LIMIT=none] -->
|
||||
<string name="apps_customize_apps_scroll_format">Apps page %1$d of %2$d</string>
|
||||
<!-- The format string for AppsCustomize Apps page scroll text [CHAR_LIMIT=none] -->
|
||||
<string name="apps_customize_widgets_scroll_format">Widgets page %1$d of %2$d</string>
|
||||
|
||||
<!-- Clings -->
|
||||
<!-- The title text for the workspace cling [CHAR_LIMIT=30] -->
|
||||
<string name="first_run_cling_title">Welcome</string>
|
||||
<!-- The description of how to use the workspace [CHAR_LIMIT=60] -->
|
||||
<string name="first_run_cling_description">Make yourself at home.</string>
|
||||
<!-- The description of how to use the workspace [CHAR_LIMIT=60] -->
|
||||
<string name="first_run_cling_custom_content_hint"></string>
|
||||
<!-- The description of how to use the workspace [CHAR_LIMIT=60] -->
|
||||
<string name="first_run_cling_search_bar_hint"></string>
|
||||
<!-- The description of how to use the workspace [CHAR_LIMIT=60] -->
|
||||
<string name="first_run_cling_create_screens_hint">Create more screens for apps and folders</string>
|
||||
<!-- The title text for the migration cling [CHAR_LIMIT=30] -->
|
||||
<string name="migration_cling_title">Copy your app icons</string>
|
||||
<!-- The description of what migration does [CHAR_LIMIT=70] -->
|
||||
|
@ -236,24 +139,14 @@ s -->
|
|||
<string name="migration_cling_copy_apps">COPY ICONS</string>
|
||||
<!-- The description of the button to use the default launcher layout [CHAR_LIMIT=30] -->
|
||||
<string name="migration_cling_use_default">START FRESH</string>
|
||||
<!-- The title text for the workspace cling [CHAR_LIMIT=30] -->
|
||||
<string name="workspace_cling_title">Organize your space</string>
|
||||
<!-- The description of how to use the workspace [CHAR_LIMIT=70] -->
|
||||
<string name="workspace_cling_move_item">Touch & hold background to manage wallpaper, widgets and settings.</string>
|
||||
<!-- The title text for workspace longpress action [CHAR_LIMIT=40] -->
|
||||
<string name="workspace_cling_longpress_title">Wallpapers, widgets, & settings</string>
|
||||
<!-- The description of how to use the workspace [CHAR_LIMIT=70] -->
|
||||
<string name="workspace_cling_longpress_description">Touch & hold background to customize</string>
|
||||
<!-- The description of the button to dismiss the cling [CHAR_LIMIT=30] -->
|
||||
<string name="workspace_cling_longpress_dismiss">GOT IT</string>
|
||||
<!-- The title text for the Folder cling [CHAR_LIMIT=30] -->
|
||||
<string name="folder_cling_title">Here\'s a folder</string>
|
||||
<!-- The description of how to create a folder [CHAR_LIMIT=70] -->
|
||||
<string name="folder_cling_create_folder">To create one like this, touch & hold an app, then move it over another.</string>
|
||||
<!-- The text on the button to dismiss a cling [CHAR_LIMIT=30] -->
|
||||
<string name="cling_dismiss">OK</string>
|
||||
<!-- Error message on dummy custom cling layout [DO NOT TRANSLATE] -->
|
||||
<string name="dummy_custom_cling_error_message">Error: custom workspace layout passed in but custom cling was not overwritten</string>
|
||||
|
||||
<!-- Folder accessibility -->
|
||||
<!-- The format string for when a folder is opened, speaks the dimensions -->
|
||||
|
|
|
@ -3546,9 +3546,9 @@ public class Launcher extends Activity
|
|||
text.clear();
|
||||
// Populate event with a fake title based on the current state.
|
||||
if (mState == State.APPS) {
|
||||
text.add("Apps");
|
||||
text.add(getString(R.string.all_apps_button_label));
|
||||
} else if (mState == State.WIDGETS) {
|
||||
text.add("Widgets");
|
||||
text.add(getString(R.string.widget_button_text));
|
||||
} else {
|
||||
text.add(getString(R.string.all_apps_home_button_label));
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue