0

我在我的应用程序中使用 zopim sdk 进行聊天,并且我正在尝试更改我的聊天活动的标题。我像这样自定义了标题字符串并重建了我的项目:

 <string name="chat_activity_title">My Custom Title</string>

当检查构建文件夹中 zopim 的清单时,它会像这样反映在那里。

<activity
            android:name="com.zopim.android.sdk.prechat.ZopimChatActivity"
            android:label="My Custom Title"
            android:theme="@style/ZopimChatTheme"
            android:windowSoftInputMode="stateUnspecified|adjustResize" >
            <intent-filter android:priority="-1000" >
                <action android:name="zopim.action.RESUME_CHAT" />

                <category android:name="android.intent.category.DEFAULT" />
            </intent-filter>
        </activity>

但是当我运行我的应用程序时,它总是显示以前的标题,为什么?有什么我想念的吗?

(我在这里标记 zendesk 是因为他们提供相同的支持)*

4

1 回答 1

1

请试试这个:

请尝试更换

tools:replace="android:theme, android:label"
于 2016-05-25T08:29:50.520 回答