This commit is contained in:
Tucan444 2021-04-27 07:53:03 +02:00
parent 0b6c193c64
commit 405fd7ba3e
18 changed files with 227 additions and 192 deletions

@ -5,6 +5,7 @@ import android.view.LayoutInflater
import android.view.View import android.view.View
import android.view.ViewGroup import android.view.ViewGroup
import androidx.recyclerview.widget.RecyclerView import androidx.recyclerview.widget.RecyclerView
import com.example.wikispot.GeneralVariables
import com.example.wikispot.R import com.example.wikispot.R
import com.example.wikispot.modelsForAdapters.LabeledValue import com.example.wikispot.modelsForAdapters.LabeledValue
import kotlinx.android.synthetic.main.labeled_value_item.view.* import kotlinx.android.synthetic.main.labeled_value_item.view.*
@ -19,9 +20,20 @@ class LabeledValuesAdapter(private val context: Context, private val labeledValu
fun setData(labeledValue: LabeledValue?, pos: Int) { fun setData(labeledValue: LabeledValue?, pos: Int) {
labeledValue?.let { labeledValue?.let {
if (labeledValue.label.startsWith(GeneralVariables.translatePrefix)) {
itemView.label.text = context.resources.getString(context.resources.getIdentifier(labeledValue.label.slice(GeneralVariables.translatePrefix.length until labeledValue.label.length),
"string", context.packageName))
} else {
itemView.label.text = labeledValue.label itemView.label.text = labeledValue.label
}
if (labeledValue.value.startsWith(GeneralVariables.translatePrefix)) {
itemView.value.text = context.resources.getString(context.resources.getIdentifier(labeledValue.value.slice(GeneralVariables.translatePrefix.length until labeledValue.value.length),
"string", context.packageName))
} else {
itemView.value.text = labeledValue.value itemView.value.text = labeledValue.value
} }
}
this.currentLabeledValue = labeledValue this.currentLabeledValue = labeledValue
this.pos = pos this.pos = pos

@ -82,7 +82,7 @@ class homeFragment : Fragment(R.layout.fragment_home) {
} catch (e: Throwable) { println(e) } } catch (e: Throwable) { println(e) }
} }
ServerManagement.serverManager.getData(dataReceiver, requireContext(), 0, "", "GET_WHOLE_ARRAY", 3) ServerManagement.serverManager.getData(dataReceiver, requireContext(), 0, "", "GET_WHOLE_ARRAY", 4)
} }

@ -18,6 +18,8 @@ object GeneralVariables {
const val max_amount_of_saved_messages = 32 const val max_amount_of_saved_messages = 32
const val variableMissingKeyword = "_[{(V,a,r,i,a,b,l,e, ,m,i,s,s,i,n,g)}]_" const val variableMissingKeyword = "_[{(V,a,r,i,a,b,l,e, ,m,i,s,s,i,n,g)}]_"
const val translatePrefix = "[translate]-"
} }
object IntentsKeys { object IntentsKeys {

@ -96,7 +96,7 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:layout_marginEnd="16dp" android:layout_marginEnd="16dp"
android:textColor="@color/secondaryTextColor" android:textColor="?attr/secondaryTextColor"
card_view:layout_constraintEnd_toStartOf="@+id/showFileBtn" card_view:layout_constraintEnd_toStartOf="@+id/showFileBtn"
card_view:layout_constraintStart_toStartOf="@+id/filenameText" card_view:layout_constraintStart_toStartOf="@+id/filenameText"
card_view:layout_constraintTop_toBottomOf="@+id/filenameText" card_view:layout_constraintTop_toBottomOf="@+id/filenameText"

@ -12,7 +12,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:text="@string/another_debug_fragment" android:text="another debug fragment"
android:textColor="#FFFFFF" android:textColor="#FFFFFF"
android:textSize="30sp" android:textSize="30sp"
android:textStyle="bold" android:textStyle="bold"
@ -27,7 +27,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:layout_marginEnd="32dp" android:layout_marginEnd="32dp"
android:text="@string/_1" android:textColor="@color/white"
android:text="1"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView3" /> app:layout_constraintTop_toBottomOf="@+id/textView3" />
@ -38,7 +39,8 @@
android:layout_marginStart="32dp" android:layout_marginStart="32dp"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:layout_marginEnd="16dp" android:layout_marginEnd="16dp"
android:text="@string/generate_and_save_data" android:textColor="@color/white"
android:text="generate and save data"
app:layout_constraintEnd_toStartOf="@+id/goFirstDegubFragmentBtn" app:layout_constraintEnd_toStartOf="@+id/goFirstDegubFragmentBtn"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView3" /> app:layout_constraintTop_toBottomOf="@+id/textView3" />
@ -49,7 +51,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="32dp" android:layout_marginStart="32dp"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:text="@string/load_and_show_data" android:textColor="@color/white"
android:text="load and show data"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/generateAndSaveDataBtn" /> app:layout_constraintTop_toBottomOf="@+id/generateAndSaveDataBtn" />
@ -68,7 +71,7 @@
android:id="@+id/dataContentView" android:id="@+id/dataContentView"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:text="@string/data_content" android:text="data content"
android:textAlignment="center" /> android:textAlignment="center" />
</ScrollView> </ScrollView>
@ -78,7 +81,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="50dp" android:layout_marginTop="50dp"
android:ems="10" android:ems="10"
android:hint="@string/attribute_path" android:textColor="@color/white"
android:hint="attribute path"
android:inputType="textPersonName" android:inputType="textPersonName"
app:layout_constraintStart_toStartOf="@+id/loadAndShowDataBtn" app:layout_constraintStart_toStartOf="@+id/loadAndShowDataBtn"
app:layout_constraintTop_toBottomOf="@+id/loadAndShowDataBtn" /> app:layout_constraintTop_toBottomOf="@+id/loadAndShowDataBtn" />
@ -88,7 +92,8 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="8dp" android:layout_marginTop="8dp"
android:text="@string/create_view_connection" android:textColor="@color/white"
android:text="create view connection"
android:textSize="12sp" android:textSize="12sp"
app:layout_constraintStart_toStartOf="@+id/attributePathInput" app:layout_constraintStart_toStartOf="@+id/attributePathInput"
app:layout_constraintTop_toBottomOf="@+id/attributePathInput" /> app:layout_constraintTop_toBottomOf="@+id/attributePathInput" />
@ -98,7 +103,8 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="8dp" android:layout_marginStart="8dp"
android:text="@string/stop_connection" android:textColor="@color/white"
android:text="stop connection"
android:textSize="13sp" android:textSize="13sp"
app:layout_constraintBottom_toBottomOf="@+id/attributePathInput" app:layout_constraintBottom_toBottomOf="@+id/attributePathInput"
app:layout_constraintStart_toEndOf="@+id/attributePathInput" app:layout_constraintStart_toEndOf="@+id/attributePathInput"
@ -109,7 +115,7 @@
android:layout_width="160dp" android:layout_width="160dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:ems="10" android:ems="10"
android:hint="@string/file_path" android:hint="file path"
android:inputType="textPersonName" android:inputType="textPersonName"
app:layout_constraintBottom_toTopOf="@+id/attributePathInput" app:layout_constraintBottom_toTopOf="@+id/attributePathInput"
app:layout_constraintStart_toStartOf="@+id/loadAndShowDataBtn" app:layout_constraintStart_toStartOf="@+id/loadAndShowDataBtn"

@ -13,8 +13,8 @@
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:layout_marginEnd="16dp" android:layout_marginEnd="16dp"
android:textColor="?attr/generalTextColor" android:textColor="@color/white"
android:text="@string/_2" android:text="2"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toBottomOf="@+id/debugFragmentTitle" /> app:layout_constraintTop_toBottomOf="@+id/debugFragmentTitle" />
@ -23,8 +23,8 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:textColor="?attr/generalTextColor" android:textColor="@color/white"
android:text="@string/get_number_of_sent_requests" android:text="get number of sent requests"
android:textSize="12sp" android:textSize="12sp"
app:layout_constraintEnd_toStartOf="@+id/goSecondDebugFragmentBtn" app:layout_constraintEnd_toStartOf="@+id/goSecondDebugFragmentBtn"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
@ -53,7 +53,7 @@
android:background="#6A5252" android:background="#6A5252"
android:backgroundTint="#E39595" android:backgroundTint="#E39595"
android:padding="4dp" android:padding="4dp"
android:text="@string/output" /> android:text="output" />
</LinearLayout> </LinearLayout>
</ScrollView> </ScrollView>
@ -62,8 +62,8 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:textColor="?attr/generalTextColor" android:textColor="@color/white"
android:text="@string/change_url" android:text="change url"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/editTextIp" /> app:layout_constraintTop_toBottomOf="@+id/editTextIp" />
@ -75,7 +75,6 @@
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:ems="10" android:ems="10"
android:inputType="textPersonName" android:inputType="textPersonName"
android:text="@string/name"
app:layout_constraintEnd_toEndOf="@+id/scrollView3" app:layout_constraintEnd_toEndOf="@+id/scrollView3"
app:layout_constraintStart_toStartOf="@+id/scrollView3" app:layout_constraintStart_toStartOf="@+id/scrollView3"
app:layout_constraintTop_toBottomOf="@+id/scrollView3" /> app:layout_constraintTop_toBottomOf="@+id/scrollView3" />
@ -85,8 +84,8 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:textColor="?attr/generalTextColor" android:textColor="@color/white"
android:text="@string/clear_server_connections" android:text="clear server connections"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5" app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
@ -97,8 +96,8 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:textColor="?attr/generalTextColor" android:textColor="@color/white"
android:text="@string/restart_app_partially" android:text="restart app partially"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5" app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
@ -109,7 +108,7 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="32dp" android:layout_marginTop="32dp"
android:text="@string/debug_fragment" android:text="debug fragment"
android:textColor="#FFFFFF" android:textColor="#FFFFFF"
android:textSize="30sp" android:textSize="30sp"
android:textStyle="bold" android:textStyle="bold"
@ -123,8 +122,8 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16dp" android:layout_marginTop="16dp"
android:textColor="?attr/generalTextColor" android:textColor="@color/white"
android:text="@string/close_app" android:text="close app"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.5" app:layout_constraintHorizontal_bias="0.5"
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"

@ -76,7 +76,7 @@
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="4dp" android:layout_margin="8dp"
android:background="@drawable/text_background_gradient" android:background="@drawable/text_background_gradient"
android:padding="4dp" android:padding="4dp"
android:text="@string/files" android:text="@string/files"

@ -3,27 +3,30 @@
xmlns:card_view="http://schemas.android.com/apk/res-auto" xmlns:card_view="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_margin="8dp" android:layout_margin="4dp"
card_view:cardCornerRadius="5dp" android:backgroundTint="@color/invisible"
android:backgroundTint="#00000000"> card_view:cardElevation="0dp"
card_view:cardCornerRadius="5dp">
<androidx.constraintlayout.widget.ConstraintLayout <androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
android:padding="4dp" android:background="@drawable/contrasting_gradient_background"
android:background="@drawable/contrasting_gradient_background"> android:padding="4dp">
<TextView <TextView
android:id="@+id/label" android:id="@+id/label"
android:layout_width="wrap_content" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="8dp" android:layout_marginStart="8dp"
android:layout_marginTop="16dp" android:layout_marginTop="8dp"
android:layout_marginBottom="16dp" android:layout_marginEnd="8dp"
android:textSize="40sp" android:layout_marginBottom="8dp"
android:textColor="?attr/generalTextColor" android:textColor="?attr/generalTextColor"
android:textSize="30sp"
card_view:layout_constraintBottom_toBottomOf="parent" card_view:layout_constraintBottom_toBottomOf="parent"
card_view:layout_constraintEnd_toStartOf="@+id/value"
card_view:layout_constraintStart_toStartOf="parent" card_view:layout_constraintStart_toStartOf="parent"
card_view:layout_constraintTop_toTopOf="parent" /> card_view:layout_constraintTop_toTopOf="parent" />
@ -31,11 +34,11 @@
android:id="@+id/value" android:id="@+id/value"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginTop="16dp" android:layout_marginTop="8dp"
android:layout_marginEnd="32dp" android:layout_marginEnd="32dp"
android:layout_marginBottom="16dp" android:layout_marginBottom="8dp"
android:textSize="40sp"
android:textColor="?attr/generalTextColor" android:textColor="?attr/generalTextColor"
android:textSize="30sp"
card_view:layout_constraintBottom_toBottomOf="parent" card_view:layout_constraintBottom_toBottomOf="parent"
card_view:layout_constraintEnd_toEndOf="parent" card_view:layout_constraintEnd_toEndOf="parent"
card_view:layout_constraintTop_toTopOf="parent" /> card_view:layout_constraintTop_toTopOf="parent" />

@ -8,4 +8,9 @@
<string name="settings">Einstellungen</string> <string name="settings">Einstellungen</string>
<string name="files">Dateien</string> <string name="files">Dateien</string>
<string name="dark_theme">Dunkles Thema</string> <string name="dark_theme">Dunkles Thema</string>
<string name="closed">Geschlossen</string>
<string name="open">Öffnen</string>
<string name="number_of_people">Anzahl der Personen :</string>
<string name="status">Status :</string>
<string name="temperature">Temperatur :</string>
</resources> </resources>

@ -8,4 +8,9 @@
<string name="settings">Ajustes</string> <string name="settings">Ajustes</string>
<string name="files">Archivos</string> <string name="files">Archivos</string>
<string name="dark_theme">Tema oscuro</string> <string name="dark_theme">Tema oscuro</string>
<string name="temperature">Temperatura :</string>
<string name="status">Estado :</string>
<string name="number_of_people">Número de personas:</string>
<string name="open">Abierto</string>
<string name="closed">Cerrado</string>
</resources> </resources>

@ -8,4 +8,9 @@
<string name="home">Domicile</string> <string name="home">Domicile</string>
<string name="explore">Explorer</string> <string name="explore">Explorer</string>
<string name="chat">Discuter</string> <string name="chat">Discuter</string>
<string name="status">Statut :</string>
<string name="temperature">Température :</string>
<string name="number_of_people">Nombre de personnes :</string>
<string name="open">Ouvert</string>
<string name="closed">Fermé</string>
</resources> </resources>

@ -8,4 +8,9 @@
<string name="files">ファイル</string> <string name="files">ファイル</string>
<string name="settings">設定</string> <string name="settings">設定</string>
<string name="dark_theme">暗いテーマ</string> <string name="dark_theme">暗いテーマ</string>
<string name="closed">閉まっている</string>
<string name="open">開いた</string>
<string name="number_of_people">人々の数 </string>
<string name="status">状態 </string>
<string name="temperature">温度:</string>
</resources> </resources>

@ -8,4 +8,9 @@
<string name="home">дом</string> <string name="home">дом</string>
<string name="explore">просматривать</string> <string name="explore">просматривать</string>
<string name="chat">чат</string> <string name="chat">чат</string>
<string name="temperature">Температура :</string>
<string name="status">Статус :</string>
<string name="number_of_people">Число людей :</string>
<string name="open">Открыть</string>
<string name="closed">Закрыто</string>
</resources> </resources>

@ -9,23 +9,9 @@
<string name="files">Súbory</string> <string name="files">Súbory</string>
<string name="dark_theme">Tmavá téma</string> <string name="dark_theme">Tmavá téma</string>
<string name="status">Status :</string>
<string name="get_number_of_sent_requests">Získať počet poslaných requestov</string> <string name="number_of_people">Počet ľudí :</string>
<string name="_2">2/2</string> <string name="open">Otvorené</string>
<string name="output">Výstup</string> <string name="closed">Zatvorené</string>
<string name="change_url">Zmeniť Url</string> <string name="temperature">Teplota :</string>
<string name="name" translatable="false">Meno</string>
<string name="clear_server_connections" translatable="false">Vyčistiť cache</string>
<string name="restart_app_partially" translatable="false">Reštartovať aplikáciu</string>
<string name="debug_fragment" translatable="false">Debug 1/2</string>
<string name="close_app" translatable="false">Zatvoriť aplikáciu</string>
<string name="another_debug_fragment" translatable="false">Debug 2/2</string>
<string name="_1" translatable="false">1/2</string>
<string name="generate_and_save_data" translatable="false">Vygenerovať a uložiť dáta</string>
<string name="load_and_show_data" translatable="false">Načítať dáta</string>
<string name="data_content" translatable="false">Obsah dát</string>
<string name="attribute_path" translatable="false">Cesta (atributes)</string>
<string name="create_view_connection" translatable="false">Vytvoriť test spojenie</string>
<string name="stop_connection" translatable="false">Zastaviť test spojenie</string>
<string name="file_path" translatable="false">Cesta (súbor)</string>
</resources> </resources>

@ -8,4 +8,9 @@
<string name="settings">设定值</string> <string name="settings">设定值</string>
<string name="files">档案文件</string> <string name="files">档案文件</string>
<string name="dark_theme">黑暗主题</string> <string name="dark_theme">黑暗主题</string>
<string name="closed">关闭</string>
<string name="open">打开</string>
<string name="number_of_people">人数 </string>
<string name="temperature">温度 </string>
<string name="status">地位 </string>
</resources> </resources>

@ -1,9 +1,10 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<resources> <resources>
<color name="black">#FF000000</color> <color name="black">#FF000000</color>
<color name="white">#FFFFFFFF</color> <color name="white">#FFFFFFFF</color>
<color name="invisible">#00000000</color>
<!-- Light Theme -->
<color name="primary">#4CAF50</color> <color name="primary">#4CAF50</color>
<color name="primaryVariant">#388E3C</color> <color name="primaryVariant">#388E3C</color>
<color name="onPrimary">@color/white</color> <color name="onPrimary">@color/white</color>
@ -57,64 +58,64 @@
<color name="contrastingGradientCenterColor">#D1FBA0</color> <color name="contrastingGradientCenterColor">#D1FBA0</color>
<color name="contrastingGradientEndColor">#F6FEBA</color> <color name="contrastingGradientEndColor">#F6FEBA</color>
<!-- Dark Theme -->
<color name="primaryDark">#000F9E</color>
<color name="primaryVariantDark">#000B75</color>
<color name="primaryDark">#020C3C</color>
<color name="primaryVariantDark">#0E144A</color>
<color name="onPrimaryDark">@color/black</color> <color name="onPrimaryDark">@color/black</color>
<color name="secondaryDark">#0320DA</color> <color name="secondaryDark">#E91E63</color>
<color name="secondaryVariantDark">#3954FF</color> <color name="secondaryVariantDark">#F48FB1</color>
<color name="onSecondaryDark">@color/black</color> <color name="onSecondaryDark">@color/black</color>
<color name="textOnTextBgColorDark">#E3E3E3</color> <color name="textOnTextBgColorDark">#F2F2F2</color>
<color name="generalIconsColorDark">#CCC5C5C5</color> <color name="generalIconsColorDark">#CCC5C5C5</color>
<color name="generalTextColorDark">#D6D6D6</color> <color name="generalTextColorDark">#D6D6D6</color>
<color name="secondaryTextColorDark">#EFFFFFFF</color> <color name="secondaryTextColorDark">#F0F5F5F5</color>
<color name="bottomNavBarCheckedItemColorDark">#003898</color> <color name="bottomNavBarCheckedItemColorDark">#2E6DDA</color>
<color name="bottomNavBarItemColorDark">#003DAC</color> <color name="bottomNavBarItemColorDark">#003DAC</color>
<color name="bottomNavBarRippleColorDark">#091961</color> <color name="bottomNavBarRippleColorDark">#604B4B4B</color>
<color name="statusBarColorDark">#00143A</color> <color name="statusBarColorDark">#EC000000</color>
<color name="textBackgroundGradientStartColorDark" >#80000C5C</color> <color name="textBackgroundGradientStartColorDark" >#CEB31111</color>
<color name="textBackgroundGradientEndColorDark" >#80001A5C</color> <color name="textBackgroundGradientEndColorDark" >#B99D2A2A</color>
<color name="bottomNavBarGradientStartColorDark" >#1B1B1B</color> <color name="bottomNavBarGradientStartColorDark" >#1A1C33</color>
<color name="bottomNavBarGradientEndColorDark" >#0E0E0E</color> <color name="bottomNavBarGradientEndColorDark" >#262040</color>
<color name="debugFragmentBgDark">#5E0000</color> <color name="debugFragmentBgDark">#6F3131</color>
<color name="chatFragmentGradientStartColorDark" >#00143A</color> <color name="chatFragmentGradientStartColorDark" >#5C1313</color>
<color name="chatFragmentGradientCenterColorDark" >#001235</color> <color name="chatFragmentGradientCenterColorDark" >#061D4B</color>
<color name="chatFragmentGradientEndColorDark" >#00143A</color> <color name="chatFragmentGradientEndColorDark" >#031029</color>
<color name="chatFragmentBgStrokeColorDark" >#00062C</color> <color name="chatFragmentBgStrokeColorDark" >#191021</color>
<color name="chatFragmentWriteBarBgColorDark">#BF1C1C1C</color> <color name="chatFragmentWriteBarBgColorDark">#BF323232</color>
<color name="exploreFragmentGradientStartColorDark" >#00143A</color> <color name="exploreFragmentGradientStartColorDark" >#091121</color>
<color name="exploreFragmentGradientCenterColorDark" >#001235</color> <color name="exploreFragmentGradientCenterColorDark" >#08133A</color>
<color name="exploreFragmentGradientEndColorDark" >#00143A</color> <color name="exploreFragmentGradientEndColorDark" >#FA481111</color>
<color name="exploreFragmentListItemBackgroundColorDark">#171717</color> <color name="exploreFragmentListItemBackgroundColorDark">#1B1A1F</color>
.
<color name="homeFragmentGradientStartColorDark" >#6F0F0F</color>
<color name="homeFragmentGradientCenterColorDark" >#0B204A</color>
<color name="homeFragmentGradientEndColorDark" >#001132</color>
<color name="homeFragmentGradientStartColorDark" >#00143A</color> <color name="settingsFragmentGradientStartColorDark" >#590710</color>
<color name="homeFragmentGradientCenterColorDark" >#001235</color> <color name="settingsFragmentGradientCenterColorDark" >#021A44</color>
<color name="homeFragmentGradientEndColorDark" >#00143A</color> <color name="settingsFragmentGradientEndColorDark" >#0B1528</color>
<color name="settingsFragmentGradientStartColorDark" >#00143A</color> <color name="infoFragmentGradientStartColorDark" >#0B1D4B</color>
<color name="settingsFragmentGradientCenterColorDark" >#001235</color> <color name="infoFragmentGradientCenterColorDark" >#0E1A33</color>
<color name="settingsFragmentGradientEndColorDark" >#00143A</color> <color name="infoFragmentGradientEndColorDark" >#710E0E</color>
<color name="infoFragmentGradientStartColorDark" >#001030</color> <color name="contrastingGradientStartColorDark">#8833374A</color>
<color name="infoFragmentGradientCenterColorDark" >#000D27</color> <color name="contrastingGradientCenterColorDark">#7932395E</color>
<color name="infoFragmentGradientEndColorDark" >#001030</color> <color name="contrastingGradientEndColorDark">#6F252D4E</color>
<color name="contrastingGradientStartColorDark">#132855</color> <!--
<color name="contrastingGradientCenterColorDark">#0E275C</color>
<color name="contrastingGradientEndColorDark">#132855</color>
</resources>
<!-- Light Theme --> <!--
<color name="primary">#A6BFFF</color> <color name="primary">#A6BFFF</color>
<color name="primaryVariant">#6994FF</color> <color name="primaryVariant">#6994FF</color>
<color name="onPrimary">@color/white</color> <color name="onPrimary">@color/white</color>
@ -126,6 +127,7 @@
<color name="textOnTextBgColor">#fff</color> <color name="textOnTextBgColor">#fff</color>
<color name="generalIconsColor">#CC000000</color> <color name="generalIconsColor">#CC000000</color>
<color name="generalTextColor">#CC000000</color> <color name="generalTextColor">#CC000000</color>
<color name="secondaryTextColor">#96262626</color>
<color name="bottomNavBarCheckedItemColor">#EC1D5CFD</color> <color name="bottomNavBarCheckedItemColor">#EC1D5CFD</color>
<color name="bottomNavBarItemColor">#EC5B89FF</color> <color name="bottomNavBarItemColor">#EC5B89FF</color>
@ -165,9 +167,11 @@
<color name="contrastingGradientStartColor">#63D9FF</color> <color name="contrastingGradientStartColor">#63D9FF</color>
<color name="contrastingGradientCenterColor">#44D2FF</color> <color name="contrastingGradientCenterColor">#44D2FF</color>
<color name="contrastingGradientEndColor">#59D7FF</color> --> <color name="contrastingGradientEndColor">#59D7FF</color>
<!-- Dark Theme --> <!--
<color name="primaryDark">#000F9E</color> <color name="primaryDark">#000F9E</color>
<color name="primaryVariantDark">#000B75</color> <color name="primaryVariantDark">#000B75</color>
<color name="onPrimaryDark">@color/black</color> <color name="onPrimaryDark">@color/black</color>
@ -179,7 +183,7 @@
<color name="textOnTextBgColorDark">#E3E3E3</color> <color name="textOnTextBgColorDark">#E3E3E3</color>
<color name="generalIconsColorDark">#CCC5C5C5</color> <color name="generalIconsColorDark">#CCC5C5C5</color>
<color name="generalTextColorDark">#D6D6D6</color> <color name="generalTextColorDark">#D6D6D6</color>
<color name="secondaryTextColor">#96262626</color> <color name="secondaryTextColorDark">#E3CDCDCD</color>
<color name="bottomNavBarCheckedItemColorDark">#003898</color> <color name="bottomNavBarCheckedItemColorDark">#003898</color>
<color name="bottomNavBarItemColorDark">#003DAC</color> <color name="bottomNavBarItemColorDark">#003DAC</color>
@ -221,4 +225,6 @@
<color name="contrastingGradientCenterColorDark">#0E275C</color> <color name="contrastingGradientCenterColorDark">#0E275C</color>
<color name="contrastingGradientEndColorDark">#132855</color> <color name="contrastingGradientEndColorDark">#132855</color>
</resources> --> -->
</resources>

@ -6,24 +6,15 @@
<string name="map">Map</string> <string name="map">Map</string>
<string name="settings">Settings</string> <string name="settings">Settings</string>
<!-- Labeled values translated labels -->
<string name="temperature">Temperature :</string>
<string name="status">Status :</string>
<string name="number_of_people">Number of people :</string>
<!-- Labeled values translated values -->
<string name="open">Open</string>
<string name="closed">Closed</string>
<string name="files">Files</string> <string name="files">Files</string>
<string name="dark_theme">Dark theme</string> <string name="dark_theme">Dark theme</string>
<string name="get_number_of_sent_requests" translatable="false">Get number of sent requests</string>
<string name="_2" translatable="false">2/2</string>
<string name="output" translatable="false">Output</string>
<string name="change_url" translatable="false">Change Url</string>
<string name="name" translatable="false">Name</string>
<string name="clear_server_connections" translatable="false">Clear server connections</string>
<string name="restart_app_partially" translatable="false">Restart app partially</string>
<string name="debug_fragment" translatable="false">Debug page 1/2</string>
<string name="close_app" translatable="false">Close app</string>
<string name="another_debug_fragment" translatable="false">Debug page 2/2</string>
<string name="_1" translatable="false">1/2</string>
<string name="generate_and_save_data" translatable="false">Generate and save data</string>
<string name="load_and_show_data" translatable="false">Load and Show data</string>
<string name="data_content" translatable="false">Data content</string>
<string name="attribute_path" translatable="false">Atributes path</string>
<string name="create_view_connection" translatable="false">Create test Connection</string>
<string name="stop_connection" translatable="false">Stop test Connection</string>
<string name="file_path" translatable="false">File path</string>
</resources> </resources>