开发者

Android - main app button text question

I'm very new to Android development and not sure yet how to solve this issue...

Is there a way to have the app launch button text set as a certain string, bu开发者_运维知识库t the app text bar (horizontal bar accross the top of the app) set as something different?

For example, say my app button is labeled "MyApp". Right now, the bar across the top also is labeled "MyApp". I'd like it so the bar across the top is labeled "MyApp Testing".

TIA!!


These titles are in the manifest file. There is one title on the application node and another title on the activity node. In this example app_name will be shown as the icon text, and win_name at the top of the window:

<application android:icon="@drawable/icon" android:label="@string/app_name">
    <activity android:name=".TestWin"
              android:screenOrientation="portrait"
              android:label="@string/win_name">
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜