diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:06:44 +0000 |
commit | ed5640d8b587fbcfed7dd7967f3de04b37a76f26 (patch) | |
tree | 7a5f7c6c9d02226d7471cb3cc8fbbf631b415303 /android/source/res/values | |
parent | Initial commit. (diff) | |
download | libreoffice-ed5640d8b587fbcfed7dd7967f3de04b37a76f26.tar.xz libreoffice-ed5640d8b587fbcfed7dd7967f3de04b37a76f26.zip |
Adding upstream version 4:7.4.7.upstream/4%7.4.7upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'android/source/res/values')
-rw-r--r-- | android/source/res/values/arrays.xml | 15 | ||||
-rw-r--r-- | android/source/res/values/colors.xml | 127 | ||||
-rw-r--r-- | android/source/res/values/dimens.xml | 18 | ||||
-rw-r--r-- | android/source/res/values/ids.xml | 4 | ||||
-rw-r--r-- | android/source/res/values/strings.xml | 172 | ||||
-rw-r--r-- | android/source/res/values/themes.xml | 32 |
6 files changed, 368 insertions, 0 deletions
diff --git a/android/source/res/values/arrays.xml b/android/source/res/values/arrays.xml new file mode 100644 index 000000000..832bca781 --- /dev/null +++ b/android/source/res/values/arrays.xml @@ -0,0 +1,15 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + <string-array name="SupportedLanguagesValues"> + <item>SYSTEM_DEFAULT_LANGUAGE</item> + <item >de</item> + <item >en</item> + <item >tr</item> + </string-array> + <string-array name="SupportedLanguages"> + <item>(System Default)</item> + <item>Deutsch</item> + <item>English</item> + <item>Turkçe</item> + </string-array> +</resources> diff --git a/android/source/res/values/colors.xml b/android/source/res/values/colors.xml new file mode 100644 index 000000000..3defb9a3e --- /dev/null +++ b/android/source/res/values/colors.xml @@ -0,0 +1,127 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- This Source Code Form is subject to the terms of the Mozilla Public + - License, v. 2.0. If a copy of the MPL was not distributed with this + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> + +<resources> + <color name="background_light">#FAFAFA</color> <!--Material Grey 50--> + <color name="background_normal">#F5F5F5</color> <!--Material Grey 100--> + <color name="background_private">#FF292C29</color> + <color name="background_tabs">#FF363B40</color> + <color name="highlight">#33000000</color> + <color name="highlight_focused">#1A000000</color> + <color name="highlight_dark">#33FFFFFF</color> + <color name="highlight_dark_focused">#1AFFFFFF</color> + + <!-- highlight on shaped button: 20% white over background_tabs --> + <color name="highlight_shaped">#FF696D71</color> + + <!-- highlight-focused on shaped button: 10% white over background_tabs --> + <color name="highlight_shaped_focused">#FF565B60</color> + + <!-- highlight on nav button: 20% black over background_normal --> + <color name="highlight_nav">#FFA5ACB2</color> + + <!-- highlight-focused on nav button: 10% black over background_normal --> + <color name="highlight_nav_focused">#FFB9C1C7</color> + + <!-- highlight on private nav button: 20% white over background_private --> + <color name="highlight_nav_pb">#FF545654</color> + + <!-- highlight-focused on private nav button: 10% white over background_private --> + <color name="highlight_nav_focused_pb">#FF3F423F</color> + + <!-- + Application theme colors + --> + <!-- Default colors --> + <color name="text_color_primary">#222222</color> + <color name="text_color_secondary">#777777</color> + <color name="text_color_tertiary">#9198A1</color> + + <!-- Default inverse colors --> + <color name="text_color_primary_inverse">#FFFFFF</color> + <color name="text_color_secondary_inverse">#DDDDDD</color> + <color name="text_color_tertiary_inverse">#A4A7A9</color> + + <!-- Disabled colors --> + <color name="text_color_primary_disable_only">#999999</color> + + <!-- Hint colors --> + <color name="text_color_hint">#666666</color> + <color name="text_color_hint_inverse">#7F828A</color> + + <!-- Highlight colors --> + <color name="text_color_highlight">#FF9500</color> + <color name="text_color_highlight_inverse">#D06BFF</color> + + <!-- Link colors --> + <color name="text_color_link">#22629E</color> + + <color name="splash_background">#000000</color> + <color name="splash_msgfont">#ffffff</color> + <color name="splash_urlfont">#000000</color> + <color name="splash_content">#ffffff</color> + + <color name="doorhanger_text">#FF222222</color> + <color name="doorhanger_link">#FF2AA1FE</color> + <color name="doorhanger_divider_light">#FFD1D5DA</color> + <color name="doorhanger_divider_dark">#FFB3C2CE</color> + <color name="doorhanger_background_dark">#FFDDE4EA</color> + + <color name="validation_message_text">#ffffff</color> + <color name="url_bar_text_highlight">#FFFF9500</color> + <color name="url_bar_text_highlight_pb">#FFD06BFF</color> + <color name="suggestion_primary">#dddddd</color> + <color name="suggestion_pressed">#bbbbbb</color> + <color name="tab_row_pressed">#4D000000</color> + <color name="dialogtitle_textcolor">#ffffff</color> + + <color name="textbox_background">#FFF</color> + <color name="textbox_background_disabled">#DDD</color> + <color name="textbox_stroke">#000</color> + <color name="textbox_stroke_disabled">#666</color> + + <color name="url_bar_urltext">#A6A6A6</color> + <color name="url_bar_domaintext">#000</color> + <color name="url_bar_domaintext_private">#FFF</color> + <color name="url_bar_blockedtext">#b14646</color> + <color name="url_bar_shadow">#12000000</color> + + <color name="home_last_tab_bar_bg">#FFF5F7F9</color> + + <color name="panel_grid_item_image_background">#D1D9E1</color> + + <color name="toolbar_foreground">#3e3e3e</color> + <color name="toolbar_background">#ffffff</color> + + <color name="handle_color">#26a69a</color> + + <color name="button_selected_background">#33000000</color> + <color name="fontBlack">#000000</color> + <color name="fontDarkRed">#990000</color> + <color name="fontRed">#FF0000</color> + <color name="fontOrange">#FF8000</color> + <color name="fontYellow">#FFFF00</color> + <color name="fontGreen">#00FF00</color> + <color name="fontCyan">#00FFFF</color> + <color name="fontLightBlue">#0080FF</color> + <color name="fontBlue">#0000FF</color> + <color name="fontPurple">#990099</color> + <color name="fontPink">#FF00FF</color> + + <integer-array name="fontcolors"> + <item>@color/fontBlack</item> + <item>@color/fontDarkRed</item> + <item>@color/fontRed</item> + <item>@color/fontOrange</item> + <item>@color/fontYellow</item> + <item>@color/fontGreen</item> + <item>@color/fontCyan</item> + <item>@color/fontLightBlue</item> + <item>@color/fontBlue</item> + <item>@color/fontPurple</item> + <item>@color/fontPink</item> + </integer-array> +</resources> + diff --git a/android/source/res/values/dimens.xml b/android/source/res/values/dimens.xml new file mode 100644 index 000000000..ca91a2f30 --- /dev/null +++ b/android/source/res/values/dimens.xml @@ -0,0 +1,18 @@ +<resources> + <!-- Default screen margins, per the Android Design guidelines. --> + <dimen name="activity_horizontal_margin">16dp</dimen> + <dimen name="activity_vertical_margin">16dp</dimen> + <dimen name="text_selection_handle_width">30dp</dimen> + <dimen name="text_selection_handle_height">44dp</dimen> + <dimen name="text_selection_handle_shadow">2dp</dimen> + <dimen name="file_icon_margin_end">8dp</dimen> + <dimen name="list_item_margin">8dp</dimen> + <dimen name="file_icon_width">32dp</dimen> + <dimen name="toolbar_height">256dp</dimen> + <dimen name="calc_header_width">48dp</dimen> + <dimen name="calc_header_height">24dp</dimen> + <dimen name="calc_toolbar_height">40dp</dimen> + <dimen name="calc_address_bar_width">96dp</dimen> + <dimen name="new_doc_fab_tweak_top">-11dp</dimen> + <dimen name="new_doc_fab_tweak_bottom">-7dp</dimen> +</resources> diff --git a/android/source/res/values/ids.xml b/android/source/res/values/ids.xml new file mode 100644 index 000000000..e57595b74 --- /dev/null +++ b/android/source/res/values/ids.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources xmlns:android="http://schemas.android.com/apk/res/android"> + <item name="dummy_id_for_package_name_resolution" type="id"/> +</resources> diff --git a/android/source/res/values/strings.xml b/android/source/res/values/strings.xml new file mode 100644 index 000000000..207be1c2c --- /dev/null +++ b/android/source/res/values/strings.xml @@ -0,0 +1,172 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources> + + <string name="app_name">LibreOffice Viewer</string> + <string name="app_name_settings">LibreOffice Viewer Settings</string> + + <string name="app_about_name"><b>LibreOffice Viewer \'Beta\'</b></string> + <string name="app_version">Version: %1$s\nBuild ID: %2$s</string> + <string name="app_description">LibreOffice Viewer is a document viewer based on LibreOffice.</string> + <string name="app_credits">https://www.libreoffice.org</string> + <string name="app_vendor">This release was supplied by $VENDOR.</string> + <string name="readonly_file">This file is read-only.</string> + + <string name="about_license">Show License</string> + <string name="about_notice">Show Notice</string> + <string name="about_moreinfo">More Info</string> + + <string name="new_textdocument">New Text Document</string> + <string name="new_presentation">New Presentation</string> + <string name="new_spreadsheet">New Spreadsheet</string> + <string name="new_drawing">New Drawing</string> + <string name="default_document_name">untitled</string> + + <string name="select_file_to_open">Select file to open</string> + + <string name="browser_app_name">LibreOffice Browser</string> + <string name="menu_search">Search</string> + <string name="search_not_found">Keyword not found</string> + <string name="menu_preferences">Preferences</string> + <string name="file_icon_desc">fileicon</string> + <string name="title_recents">Recent files</string> + <string name="title_browser">All files</string> + <string name="pref_category_general">General</string> + <string name="pref_experimental_editing">Experimental Mode</string> + <string name="pref_experimental_editing_summary">Enable the experimental editing mode. Use at your own risk.</string> + <string name="pref_developer_mode">Developer Mode</string> + <string name="pref_developer_mode_summary">Enable developer mode where you can send UNO commands within app. Use at your own risk.</string> + + <string name="action_about">About</string> + <string name="action_parts">Parts</string> + <string name="action_settings">Settings</string> + + <!-- Edit action names --> + <string name="action_bold">Bold</string> + <string name="action_underline">Underline</string> + <string name="action_italic">Italic</string> + <string name="action_strikeout">Strike Out</string> + <string name="action_keyboard">Show keyboard</string> + <string name="action_save">Save</string> + <string name="action_save_as">Save As...</string> + <string name="action_fromat">Enable Format</string> + <string name="action_search">Search</string> + <string name="action_UNO_commands">Send UNO Cmd</string> + + <!-- Feedback messages --> + <string name="message_saved">Save complete</string> + <string name="message_saving">Saving the document…</string> + <string name="message_saving_failed">Saving the document failed.</string> + <string name="message_save_incomplete">Save incomplete. Were there any changes?</string> + + <string name="password">Password</string> + <string name="action_undo">Undo</string> + <string name="action_redo">Redo</string> + + <!-- Save Alert dialog strings --> + <string name="save_alert_dialog_title">Save the document before closing?</string> + <string name="save_document">SAVE</string> + <string name="action_cancel">Cancel</string> + <string name="no_save_document">NO</string> + + <!-- Presentation Mode Strings --> + <string name="action_presentation">Slide show</string> + <string name="action_add_slide">Add Slide</string> + <string name="alert_copy_svg_slide_show_to_clipboard">Your Android device doesn\'t support in-app svg slideshow. We copied the slideshow link to clipboard. Please press home button, open a modern web browser, paste in the address bar, and go.</string> + <string name="alert_copy_svg_slide_show_to_clipboard_dismiss">OK</string> + <string name="slideshow_action_back">Back</string> + + <!-- Calc Header Menu Strings --> + <string name="calc_insert_before">Insert</string> + <string name="calc_delete">Delete</string> + <string name="calc_hide">Hide</string> + <string name="calc_show">Show</string> + <string name="calc_optimal_length">Optimal Length</string> + <string name="calc_adjust_length">Adjust Length</string> + <string name="calc_adjust_height">Adjust Height</string> + <string name="calc_adjust_width">Adjust Width</string> + <string name="calc_optimal_height">Optimal Height</string> + <string name="calc_optimal_width">Optimal Width</string> + <string name="calc_optimal_length_confirm">OK</string> + <string name="calc_optimal_length_default_text">Enter Extra Length in 100th/mm</string> + <string name="calc_alert_double_click_optimal_length">Hint: Double tap on a header sets optimal width/height.</string> + <string name="action_add_worksheet">Add Worksheet</string> + + <!-- Password dialog strings --> + <string name="action_pwd_dialog_OK">OK</string> + <string name="action_pwd_dialog_cancel">Cancel</string> + <string name="action_pwd_dialog_title">Please enter password</string> + + <!-- Insert Image Strings --> + <string name="take_photo">Take Photo</string> + <string name="select_photo">Select Photo</string> + <string name="select_photo_title">Select Picture</string> + <string name="no_camera_found">No Camera Found</string> + <string name="compress_photo_smallest_size">Smallest Size</string> + <string name="compress_photo_medium_size">Medium Size</string> + <string name="compress_photo_max_quality">Max Quality</string> + <string name="compress_photo_no_compress">Don\'t Compress</string> + <string name="compress_photo_title">Do you want to compress the photo?</string> + + <!-- Clipboard Actions --> + <string name="action_copy">Copy</string> + <string name="action_paste">Paste</string> + <string name="action_cut">Cut</string> + <string name="action_back">Back</string> + <string name="action_text_copied">Text copied to the clipboard</string> + <string name="insert_table">Insert table</string> + <string name="select_insert_options">Select insert options:</string> + <string name="select_delete_options">Select delete options:</string> + <string name="action_rename_worksheet">Rename worksheet</string> + <string name="action_delete_worksheet">Delete worksheet</string> + <string name="action_delete_slide">Delete slide</string> + <string name="name_already_used">Given name is already being used.</string> + <string name="part_name_changed">Part name has been changed.</string> + <string name="part_deleted">Part has been deleted.</string> + <string-array name="insertrowscolumns"> + <item>Insert Rows Before</item> + <item>Insert Rows After</item> + <item>Insert Columns Before</item> + <item>Insert Columns After</item> + <item>Insert Table</item> + </string-array> + <string-array name="deleterowcolumns"> + <item>Delete Rows</item> + <item>Delete Columns</item> + <item>Delete Table</item> + </string-array> + + <!-- UNO cmd controller Strings --> + <string name="UNO_commands_string_hint">UNO Command</string> + <string name="UNO_commands_string_type_hint">Type</string> + <string name="UNO_commands_string_value_hint">Value</string> + <string name="UNO_commands_string_parent_value_hint">Parent Value</string> + <string name="action_exportToPDF">Export To PDF</string> + <string name="action_print">Print</string> + <string name="tabhost_character">Character</string> + <string name="tabhost_paragraph">Paragraph</string> + <string name="tabhost_insert">Insert</string> + <string name="tabhost_style">Style</string> + <string name="alert_ok">OK</string> + <string name="alert_cancel">Cancel</string> + <string name="unable_to_go_further">Unable to go further.</string> + <string name="current_uno_command">Current UNO command</string> + <string name="display_language">Display Language</string> + <string name="display_language_summary">Set the default display language</string> + <string name="pdf_export_finished">PDF export finished</string> + <string name="unable_to_export_pdf">Unable to export to pdf</string> + <string name="unable_to_save">Unable to save file</string> + <string name="printing_not_supported">Your device does not support printing</string> + <string name="creating_new_files_not_supported">Creating new files not supported on this device, requires Android SDK version >= 19.</string> + <string name="error">Error</string> + <string name="enter_part_name">Enter a part name</string> + <string name="bmp_null">Bmp is null!</string> + <string name="directory_not_saved">Directory not saved.</string> + <string name="page">Page</string> + <string name="sheet">Sheet</string> + <string name="slide">Slide</string> + <string name="part">Part</string> + <string name="highlight_color">Highlight Color</string> + <string name="font_color">Font Color</string> + <string name="action_rename_slide">Rename Slide</string> + <string name="automatic">Automatic</string> +</resources> diff --git a/android/source/res/values/themes.xml b/android/source/res/values/themes.xml new file mode 100644 index 000000000..8576f9c22 --- /dev/null +++ b/android/source/res/values/themes.xml @@ -0,0 +1,32 @@ +<?xml version="1.0" encoding="utf-8"?> +<resources xmlns:tools="http://schemas.android.com/tools"> + <style name="LibreOfficeTheme" parent="LibreOfficeTheme.Base"/> + + <style name="LibreOfficeTheme.Base" parent="Theme.AppCompat.Light.NoActionBar"> + </style> + + <style name="ListItemText"> + <item name="android:gravity">center_vertical</item> + <item name="android:textColor">@android:color/black</item> + <item name="android:textSize">14sp</item> + </style> + + <style name="LibreOfficeTheme.Toolbar" parent="Theme.AppCompat.Light.NoActionBar"> + <item name="colorPrimary">@color/toolbar_background</item> + </style> + + <style name="LibreOfficeTheme.NavigationView"> + <item name="colorPrimary">@android:color/black</item> + </style> + + <style name="NewDocumentTextView"> + <item name="android:layout_width">wrap_content</item> + <item name="android:layout_height">wrap_content</item> + <item name="android:elevation" tools:ignore="NewApi">2dp</item> + <item name="android:textSize">16sp</item> + <item name="android:textStyle">bold</item> + <item name="android:typeface">normal</item> + <item name="android:padding">5dp</item> + <item name="android:background">@drawable/label_background</item> + </style> +</resources> |