处理style和color不生效的问题
This commit is contained in:
parent
f1bf86f6ac
commit
51ba0d5a79
26
plugin.xml
26
plugin.xml
@ -231,30 +231,8 @@
|
||||
<string name="videocall_roomid">房间号:</string>
|
||||
</config-file>
|
||||
|
||||
<config-file target="res/values/colors.xml" parent="/resources">
|
||||
<color name="rl_main_bg">#1B1B1B</color>
|
||||
<color name="videocall_green_bg">#00A66B</color>
|
||||
<color name="videocall_title_bg">#B7B7B7</color>
|
||||
<color name="common_green_bg">#34c759</color>
|
||||
<color name="common_edit_solid">#EFEFEF</color>
|
||||
<color name="common_edit_stroke">#FFFFFF</color>
|
||||
<color name="common_radio_select">#34c759</color>
|
||||
<color name="common_raido_select_off">#999999</color>
|
||||
<color name="colorPrimary">#008577</color>
|
||||
<color name="colorPrimaryDark">#00574B</color>
|
||||
<color name="colorAccent">#D81B60</color>
|
||||
</config-file>
|
||||
<config-file target="res/values/styles.xml" parent="/resources">
|
||||
<!-- Base application theme. -->
|
||||
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
|
||||
<!-- Customize your theme here. -->
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
<item name="colorAccent">@color/colorAccent</item>
|
||||
<item name="android:windowActionBar">false</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
</style>
|
||||
</config-file>
|
||||
<resource-file src="src/android/res/values/colors.xml" target="res/values/trtc-colors.xml"/>
|
||||
<resource-file src="src/android/res/values/styles.xml" target="res/values/trtc-styles.xml"/>
|
||||
|
||||
<config-file target="AndroidManifest.xml" parent="/manifest/application">
|
||||
<activity android:name="com.chuwa.cordova.trtc.CreateActivity" android:launchMode="singleTask" android:screenOrientation="portrait">
|
||||
|
14
src/android/res/values/colors.xml
Normal file
14
src/android/res/values/colors.xml
Normal file
@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<color name="rl_main_bg">#1B1B1B</color>
|
||||
<color name="videocall_green_bg">#00A66B</color>
|
||||
<color name="videocall_title_bg">#B7B7B7</color>
|
||||
<color name="common_green_bg">#34c759</color>
|
||||
<color name="common_edit_solid">#EFEFEF</color>
|
||||
<color name="common_edit_stroke">#FFFFFF</color>
|
||||
<color name="common_radio_select">#34c759</color>
|
||||
<color name="common_raido_select_off">#999999</color>
|
||||
<color name="colorPrimary">#008577</color>
|
||||
<color name="colorPrimaryDark">#00574B</color>
|
||||
<color name="colorAccent">#D81B60</color>
|
||||
</resources>
|
13
src/android/res/values/styles.xml
Normal file
13
src/android/res/values/styles.xml
Normal file
@ -0,0 +1,13 @@
|
||||
<resources>
|
||||
|
||||
<!-- Base application theme. -->
|
||||
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
|
||||
<!-- Customize your theme here. -->
|
||||
<item name="colorPrimary">@color/colorPrimary</item>
|
||||
<item name="colorPrimaryDark">@color/colorPrimaryDark</item>
|
||||
<item name="colorAccent">@color/colorAccent</item>
|
||||
<item name="android:windowActionBar">false</item>
|
||||
<item name="android:windowNoTitle">true</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
Loading…
Reference in New Issue
Block a user