Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* limitations under the License.
*/

package com.duckduckgo.duckchat.impl.inputscreen.ui.view
package com.duckduckgo.browser.ui.inputmode

import android.content.Context
import android.graphics.Color
Expand All @@ -24,9 +24,9 @@ import android.view.ViewOutlineProvider
import android.widget.ImageView
import androidx.core.content.ContextCompat
import com.duckduckgo.anvil.annotations.InjectWith
import com.duckduckgo.browser.ui.R
import com.duckduckgo.common.ui.store.AppTheme
import com.duckduckgo.di.scopes.ViewScope
import com.duckduckgo.duckchat.impl.R
import com.google.android.material.color.MaterialColors
import com.google.android.material.shape.CornerFamily
import com.google.android.material.shape.MaterialShapeDrawable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
android:id="@+id/tab_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/input_screen_chat_tab"
android:text="@string/input_mode_chat_tab"
android:layout_marginStart="6dp"
app:typography="h4"
app:layout_constraintStart_toEndOf="@id/tab_icon"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
android:id="@+id/tab_title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/input_screen_search_tab"
android:text="@string/input_mode_search_tab"
android:layout_marginStart="6dp"
app:typography="h4"
app:layout_constraintStart_toEndOf="@id/tab_icon"
Expand Down
22 changes: 22 additions & 0 deletions browser/browser-ui/src/main/res/values-bg/strings-input-mode.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2025 DuckDuckGo
~
~ 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.
-->
<!-- smartling.entity_escaping = false -->
<!-- smartling.instruction_attributes = instruction -->
<resources>
<!-- Input Mode Tab Layout -->
<string name="input_mode_search_tab">Търсене</string>
<string name="input_mode_chat_tab">Duck.ai</string>
</resources>
22 changes: 22 additions & 0 deletions browser/browser-ui/src/main/res/values-cs/strings-input-mode.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2025 DuckDuckGo
~
~ 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.
-->
<!-- smartling.entity_escaping = false -->
<!-- smartling.instruction_attributes = instruction -->
<resources>
<!-- Input Mode Tab Layout -->
<string name="input_mode_search_tab">Vyhledávání</string>
<string name="input_mode_chat_tab">Duck.ai</string>
</resources>
22 changes: 22 additions & 0 deletions browser/browser-ui/src/main/res/values-da/strings-input-mode.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2025 DuckDuckGo
~
~ 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.
-->
<!-- smartling.entity_escaping = false -->
<!-- smartling.instruction_attributes = instruction -->
<resources>
<!-- Input Mode Tab Layout -->
<string name="input_mode_search_tab">Søg</string>
<string name="input_mode_chat_tab">Duck.ai</string>
</resources>
22 changes: 22 additions & 0 deletions browser/browser-ui/src/main/res/values-de/strings-input-mode.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2025 DuckDuckGo
~
~ 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.
-->
<!-- smartling.entity_escaping = false -->
<!-- smartling.instruction_attributes = instruction -->
<resources>
<!-- Input Mode Tab Layout -->
<string name="input_mode_search_tab">Suche</string>
<string name="input_mode_chat_tab">Duck.ai</string>
</resources>
22 changes: 22 additions & 0 deletions browser/browser-ui/src/main/res/values-el/strings-input-mode.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2025 DuckDuckGo
~
~ 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.
-->
<!-- smartling.entity_escaping = false -->
<!-- smartling.instruction_attributes = instruction -->
<resources>
<!-- Input Mode Tab Layout -->
<string name="input_mode_search_tab">Αναζήτηση</string>
<string name="input_mode_chat_tab">Duck.ai</string>
</resources>
22 changes: 22 additions & 0 deletions browser/browser-ui/src/main/res/values-es/strings-input-mode.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2025 DuckDuckGo
~
~ 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.
-->
<!-- smartling.entity_escaping = false -->
<!-- smartling.instruction_attributes = instruction -->
<resources>
<!-- Input Mode Tab Layout -->
<string name="input_mode_search_tab">Buscar</string>
<string name="input_mode_chat_tab">Duck.ai</string>
</resources>
22 changes: 22 additions & 0 deletions browser/browser-ui/src/main/res/values-et/strings-input-mode.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2025 DuckDuckGo
~
~ 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.
-->
<!-- smartling.entity_escaping = false -->
<!-- smartling.instruction_attributes = instruction -->
<resources>
<!-- Input Mode Tab Layout -->
<string name="input_mode_search_tab">Otsing</string>
<string name="input_mode_chat_tab">Duck.ai</string>
</resources>
22 changes: 22 additions & 0 deletions browser/browser-ui/src/main/res/values-fi/strings-input-mode.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2025 DuckDuckGo
~
~ 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.
-->
<!-- smartling.entity_escaping = false -->
<!-- smartling.instruction_attributes = instruction -->
<resources>
<!-- Input Mode Tab Layout -->
<string name="input_mode_search_tab">Hae</string>
<string name="input_mode_chat_tab">Duck.ai</string>
</resources>
22 changes: 22 additions & 0 deletions browser/browser-ui/src/main/res/values-fr/strings-input-mode.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2025 DuckDuckGo
~
~ 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.
-->
<!-- smartling.entity_escaping = false -->
<!-- smartling.instruction_attributes = instruction -->
<resources>
<!-- Input Mode Tab Layout -->
<string name="input_mode_search_tab">Rechercher</string>
<string name="input_mode_chat_tab">Duck.ai</string>
</resources>
22 changes: 22 additions & 0 deletions browser/browser-ui/src/main/res/values-hr/strings-input-mode.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2025 DuckDuckGo
~
~ 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.
-->
<!-- smartling.entity_escaping = false -->
<!-- smartling.instruction_attributes = instruction -->
<resources>
<!-- Input Mode Tab Layout -->
<string name="input_mode_search_tab">Pretraga</string>
<string name="input_mode_chat_tab">Duck.ai</string>
</resources>
22 changes: 22 additions & 0 deletions browser/browser-ui/src/main/res/values-hu/strings-input-mode.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2025 DuckDuckGo
~
~ 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.
-->
<!-- smartling.entity_escaping = false -->
<!-- smartling.instruction_attributes = instruction -->
<resources>
<!-- Input Mode Tab Layout -->
<string name="input_mode_search_tab">Keresés</string>
<string name="input_mode_chat_tab">Duck.ai</string>
</resources>
22 changes: 22 additions & 0 deletions browser/browser-ui/src/main/res/values-it/strings-input-mode.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2025 DuckDuckGo
~
~ 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.
-->
<!-- smartling.entity_escaping = false -->
<!-- smartling.instruction_attributes = instruction -->
<resources>
<!-- Input Mode Tab Layout -->
<string name="input_mode_search_tab">Ricerca</string>
<string name="input_mode_chat_tab">Duck.ai</string>
</resources>
22 changes: 22 additions & 0 deletions browser/browser-ui/src/main/res/values-lt/strings-input-mode.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2025 DuckDuckGo
~
~ 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.
-->
<!-- smartling.entity_escaping = false -->
<!-- smartling.instruction_attributes = instruction -->
<resources>
<!-- Input Mode Tab Layout -->
<string name="input_mode_search_tab">Paieška</string>
<string name="input_mode_chat_tab">Duck.ai</string>
</resources>
22 changes: 22 additions & 0 deletions browser/browser-ui/src/main/res/values-lv/strings-input-mode.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2025 DuckDuckGo
~
~ 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.
-->
<!-- smartling.entity_escaping = false -->
<!-- smartling.instruction_attributes = instruction -->
<resources>
<!-- Input Mode Tab Layout -->
<string name="input_mode_search_tab">Meklēt</string>
<string name="input_mode_chat_tab">Duck.ai</string>
</resources>
22 changes: 22 additions & 0 deletions browser/browser-ui/src/main/res/values-nb/strings-input-mode.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
<?xml version="1.0" encoding="utf-8"?><!--
~ Copyright (c) 2025 DuckDuckGo
~
~ 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.
-->
<!-- smartling.entity_escaping = false -->
<!-- smartling.instruction_attributes = instruction -->
<resources>
<!-- Input Mode Tab Layout -->
<string name="input_mode_search_tab">Søk</string>
<string name="input_mode_chat_tab">Duck.ai</string>
</resources>
Loading
Loading