直播帶貨原始碼,向左滑動自動返回上一個頁面
阿新 • • 發佈:2022-03-22
直播帶貨原始碼,向左滑動自動返回上一個頁面實現的相關程式碼
<style name="KaleTheme" parent="AppBaseTheme">
<!-- 解決activity切換時的黑屏問題 -->
<item name="android:windowIsTranslucent">true</item>
</style>
styles.xml中的全部檔案:
<resources>
<!--
Base application theme, dependent on API level. This theme is replaced
by AppBaseTheme from res/values-vXX/styles.xml on newer devices.
-->
<style name="AppBaseTheme" parent="Theme.AppCompat.Light">
<!--
Theme customizations available in newer API levels can go in
res/values-vXX/styles.xml, while customizations related to
backward-compatibility can go here.
-->
</style>
<!-- Application theme. -->
<style name="AppTheme" parent="AppBaseTheme">
<!-- All customizations that are NOT specific to a particular API-level can go here. -->
</style>
<style name="KaleTheme" parent="AppBaseTheme">
<!-- 解決activity切換時的黑屏問題 -->
<item name="android:windowIsTranslucent">true</item>
</style>
</resources>
<application
android:allowBackup="true"
android:icon="@drawable/ic_launcher"
android:label="@string/app_name"
android:theme="@style/KaleTheme" >
以上就是直播帶貨原始碼,向左滑動自動返回上一個頁面實現的相關程式碼,更多內容歡迎關注之後的文章