简体   繁体   中英

Is Holo theme included in all 4.0 devices?

I'm using android:Theme.Holo in my activity and I'm wondering if there's any way this can be not recommended. I mean if it's possible that Holo theme is not present in the device (obviously in >=Honeycomb). In case it's not present, I guess the app would just crash, wouldn't it?

在运行Android Market的所有Android 4.0设备上,Holo主题都是必需的。

Yes Android 4.0 showcases the Holo theme family, further refined since its debut in Android 3.0 . Indeed, Google continues its approach to unify the user experience on various Android devices by imposing native Holo theme (and its variations: Holo Holo Light and Light DarkActionBar) to access the Marketplace. So to ask your question all devices that run Android 4.0 uses the Holo theme.

就像其他答案所说的那样,Holo在4.0中是必需的,但是如果您想在4.0之前的电话上支持Holo,请查看HoloEverywhere, 网址为https://github.com/ChristopheVersieux/HoloEverywhere

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM