1
0

3 Commity 9d2ae33da2 ... fd0ee01014

Autor SHA1 Správa Dátum
  wbspool fd0ee01014 017多语言处理 1 rok pred
  江天明 6240eeb5d3 提交人:jtm 1 rok pred
  江天明 b9d1763cfc 提交人:jtm 1 rok pred

+ 10 - 0
BusinessCommon/src/main/java/com/develop/common/tag/CommonTag.kt

@@ -38,6 +38,16 @@ const val EN = "EN"
 const val ZH = "ZH"
 const val JA = "JA"
 const val FR = "FR"
+const val CZ = "CZ"
+const val ES = "ES"
+const val HU = "HU"
+const val SK = "SK"
+const val DE = "DE"
+const val IT = "IT"
+const val PL = "PL"
+const val NL = "NL"
+const val PT = "PT"
+const val RU = "RU"
 
 const val TURN_UP_KEY_CODE = 19
 const val TURN_DOWN_KEY_CODE = 20

+ 8 - 0
BusinessCommon/src/main/java/com/develop/common/widget/HomeFunctionTopBar.kt

@@ -8,6 +8,7 @@ import android.widget.RelativeLayout
 import com.develop.base.ext.load
 import com.develop.base.R.*
 import com.develop.base.ext.background_drawable
+import com.develop.base.ext.isNightTheme
 import com.develop.base.ext.resId2Dimension
 import com.develop.base.ext.src
 import com.develop.base.ext.updateText
@@ -43,6 +44,12 @@ class HomeFunctionTopBar : RelativeLayout, View.OnClickListener {
         binding.ivWifi.setImageLevel(0)
         binding.ivFunction.background_drawable = R.drawable.ic_home
 
+        if (isNightTheme()) {
+            val params = binding.ivFunction.layoutParams as RelativeLayout.LayoutParams
+            params.width = dp50
+            params.height = dp50
+            binding.ivFunction.layoutParams = params
+        }
     }
 
     fun setHomeOrBack(type: HomeOrBack) {
@@ -120,6 +127,7 @@ class HomeFunctionTopBar : RelativeLayout, View.OnClickListener {
         var dp35 = (R.dimen.convert_35px).resId2Dimension().toInt()
         var dp60 = (R.dimen.convert_60px).resId2Dimension().toInt()
         var dp120 = (R.dimen.convert_120px).resId2Dimension().toInt()
+        var dp50 = (R.dimen.convert_50px).resId2Dimension().toInt()
     }
 }
 

BIN
app/src/main/assets/skins/night.skin


BIN
skin-support/src/main/res/drawable/ic_white_back.png