开发者

change the style and theme of android app

开发者 https://www.devze.com 2023-01-16 21:42 出处:网络
From the beging The android app has开发者_StackOverflow中文版 black background, I want to make all these changes, How is that possibleIn your app\'s manifest, use something like

From the beging The android app has开发者_StackOverflow中文版 black background, I want to make all these changes, How is that possible


In your app's manifest, use something like

<activity android:name="com.troj.yourapp"
android:label="@string/app_name"
android:theme="@android:style/Theme.Light.NoTitleBar.Fullscreen">

if you want to apply a different standard Android (or even custom) theme.

Otherwise, you could just set the background-property of your layout in res/layout/yourlayout.xml

0

精彩评论

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