android系統中自帶的一些ThemeStyle

2021-07-23 11:36:19 字數 2424 閱讀 2081

1 android:theme="@android:style/theme.holo.light.noactionbar.fullscreen"

其他

在androidmanifest.xml檔案的activity中配置

1、android:theme="@android:style/theme"

預設狀態,即如果theme這裡不填任何屬性的時候,預設為theme

2、android:theme="@android:style/theme.nodisplay"

任何都不顯示。比較適用於只是執行了activity,但未顯示任何東西

3、android:theme="@android:style/theme.notitlebar「

背景主題的沒有標題欄的樣式,預設如果沒有設定的話,顯示黑背景

4、android:theme="@android:style/theme.notitlebar.fullscreen"

背景主題的沒有標題欄且全屏的樣式,預設為黑背景

5、android:theme="@android:style/theme.black"

預設狀態下黑背景

6、android:theme="@android:style/theme.black.notitlebar"

黑背景主題的沒有標題欄的樣式

7、android:theme="@android:style/theme.black.notitlebar.fullscreen"

黑背景主題的沒有標題欄且全屏的樣式

8、android:theme="@android:style/theme.light"

預設狀態下亮背景,與上述黑背景theme.black相反

9、android:theme="@android:style/theme.light.notitlebar"

亮背景主題的沒有標題欄的樣式,與theme.black.notitlebar相反

10、android:theme="@android:style/theme.light.notitlebar.fullscreen"

亮背景主題的沒有標題欄且全屏顯示的樣式,與theme.black.notitleba.fullscreenr相反

11、android:theme="@android:style/theme.dialog"

對話方塊樣式 將整個activity變成對話方塊樣式出現

12、android:theme="@android:style/theme.inputmethod"

13、android:theme="@android:style/theme.panel"

刪除掉所有多餘的視窗裝飾,在乙個空的矩形框中填充內容,作用範圍相當於把dialog中的所有元素全部去掉,只是乙個空的矩形框,且此為預設的樣式

14、android:theme="@android:style/theme.light.panel"

刪除掉所有多餘的視窗裝飾,在乙個空的矩形框中填充內容,作用範圍相當於把dialog中的所有元素全部去掉,只是乙個空的矩形框,且預設是light的樣式

15、android:theme="@android:style/theme.wall*****"

使用牆紙做主題,預設狀態。

16、android:theme="@android:style/theme.wall*****settings"

使用牆紙做主題,預設是使用將上乙個介面調暗之後作為主題

17、android:theme="@android:style/theme.light.wall*****settings"

使用牆紙做主題,預設light狀態

18、android:theme="@android:style/theme.wall*****.notitlebar"

使用牆紙做主題,且沒有標題欄

19、android:theme="@android:style/theme.wall*****.notitlebar.fullscreen"

使用牆紙做主題,且沒有標題欄,且全屏顯示

20、android:theme="@android:style/theme.translucent"

半透明狀態下的背景,將執行此activity之前的螢幕作為半透明狀態作為此activity執行時的樣式。

21、android:theme="@android:style/theme.translucent.notitlebar"

半透明狀態下沒有標題欄的背景,將執行此activity之前的螢幕作為半透明狀態作為此activity執行時的樣式。

22、android:theme="@android:style/theme.translucent.notitlebar.fullscreen"

半透明狀態下沒有標題欄且全屏的背景,將執行此activity之前的螢幕作為半透明狀態作為此activity執行時的樣式。

摘自:

sqlserver 一些系統自帶指令

exec sp databases 列出資料庫 exec sp server info exec sp stored procedures 環境中的儲存過程列表 exec sp tables 所有可以成為select物件的列表 exec sp password new newpassword log...

PHP使用到的一些系統自帶常量

file 這個預設常量是 php 程式檔名。若引用檔案 include 或 require 則在引用檔案內的該常量為引用檔名,而不是引用它的檔名。line 這個預設常量是 php 程式行數。若引用檔案 include 或 require 則在引用檔案內的該常量為引用檔案的行,而不是引用它的檔案行。p...

Android一些系統路徑的使用

一 data data 路徑下處理 1 files 路徑 1 context.getfilesdir 該方法返回 data data 工程名 files的file物件。2 context.openfileinput 與context.openfileoutput 只能讀取和寫入files下的檔案,返...