| ページ一覧 | ブログ | twitter |  書式 | 書式(表) |

MyMemoWiki

差分

ナビゲーションに移動 検索に移動
編集の要約なし
==[[Android スタイル]]==[[Android]]|
*http://developer.android.com/reference/android/[[R]].style.html
===例===
<activity acti[[vi]]ty
android:theme="@android:style/Theme.NoTitleBar.Fullscreen" >
|Base style for animations.
|-
|Animation_ActivityAnimation_Acti[[vi]]ty|Standard animations for a full-screen window or activityacti[[vi]]ty.
|-
|Animation_Dialog
|Standard animations for a non-full-screen window or activityacti[[vi]]ty.
|-
|Animation_InputMethod
|-
|Animation_Translucent
|Standard animations for a translucent window or activityacti[[vi]]ty.
|-
|}
|
|-
|MediaButton_PreviousMediaButton_Pre[[vi]]ous
|
|-
|MediaButton_RewMediaButton_[[R]]ew
|
|-
|
|-
|TextAppearance_Widget_IconMenu_ItemTextAppearance_Widget_Icon[[Menu]]_Item
|
|-
|
|-
|TextAppearance_Widget_TextView_PopupMenuTextAppearance_Widget_TextView_Popup[[Menu]]
|
|-
|-
|Theme_Dialog
|Default theme for dialog windows and activitiesacti[[vi]]ties
| which is used by the Dialog class.
|-
|Theme_InputMethod
|Default theme for input methods
| which is used by the InputMethodService InputMethodSer[[vi]]ce class.
|-
|Theme_Light
|-
|Theme_Light_WallpaperSettings
|Theme for a wallpaper's setting activity acti[[vi]]ty that is designed to be on top of a light background.
|-
|Theme_NoDisplay
|Default theme for activities acti[[vi]]ties that don't actually display a UI; that is
| they finish themselves before being resumed.
|-
|-
|Theme_Translucent
|Default theme for translucent activitiesacti[[vi]]ties
| that is windows that allow you to see through them to the windows behind.
|-
|-
|Theme_WallpaperSettings
|Theme for a wallpaper's setting activity acti[[vi]]ty that is designed to be on top of a dark background.
|-
|Theme_Wallpaper_NoTitleBar
|
|-
|Widget_CompoundButton_RadioButtonWidget_CompoundButton_[[R]]adioButton
|
|-
|
|-
|Widget_ListView_MenuWidget_ListView_[[Menu]]
|
|-
|
|-
|Widget_RatingBarWidget_[[R]]atingBar
|
|-
|
|-
|Widget_TextView_PopupMenuWidget_TextView_Popup[[Menu]]
|
|-
==Window==
*http://developer.android.com/reference/android/view[[vi]]ew/Window.html
===例===
public class ColorChoiceActivity ColorChoiceActi[[vi]]ty extends Activity Acti[[vi]]ty {
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
requestWindowFeature(Window.FEATURE_NO_TITLEFEATU[[R]]E_NO_TITLE);
setContentView([[R]].layout.main);
}
}
!内容
|-
|DEFAULT_FEATURESDEFAULT_FEATU[[R]]ES
|The default features enabled
|-
|FEATURE_CONTEXT_MENUFEATU[[R]]E_CONTEXT_MENU
|Flag for the context menu.
|-
|FEATURE_CUSTOM_TITLEFEATU[[R]]E_CUSTOM_TITLE
|Flag for custom title.
|-
|FEATURE_INDETERMINATE_PROGRESSFEATU[[R]]E_INDETE[[R]]MINATE_P[[R]]OG[[R]]ESS
|Flag for indeterminate progress
|-
|FEATURE_LEFT_ICON
|Flag for having ha[[vi]]ng an icon on the left side of the title bar
|-
|FEATURE_NO_TITLEFEATU[[R]]E_NO_TITLE
|Flag for the "no title" feature
| turning off the title at the top of the screen.
|-
|FEATURE_OPTIONS_PANELFEATU[[R]]E_OPTIONS_PANEL
|Flag for the "options panel" feature.
|-
|FEATURE_PROGRESSFEATU[[R]]E_P[[R]]OG[[R]]ESS
|Flag for the progress indicator feature
|-
|FEATURE_RIGHT_ICON
|Flag for having ha[[vi]]ng an icon on the right side of the title bar
|-
|ID_ANDROID_CONTENT
|The ID that the main layout in the [[XML ]] layout file should have.
|-
|PROGRESS_ENDP[[R]]OG[[R]]ESS_END
|Ending value for the (primary) progress
|-
|PROGRESS_INDETERMINATE_OFFP[[R]]OG[[R]]ESS_INDETE[[R]]MINATE_OFF
|Flag for setting the progress bar's indeterminate mode off
|-
|PROGRESS_INDETERMINATE_ONP[[R]]OG[[R]]ESS_INDETE[[R]]MINATE_ON
|Flag for setting the progress bar's indeterminate mode on
|-
|PROGRESS_SECONDARY_ENDP[[R]]OG[[R]]ESS_SECONDA[[R]]Y_END
|Highest possible value for the secondary progress
|-
|PROGRESS_SECONDARY_STARTP[[R]]OG[[R]]ESS_SECONDA[[R]]Y_STA[[R]]T
|Lowest possible value for the secondary progress
|-
|PROGRESS_STARTP[[R]]OG[[R]]ESS_STA[[R]]T
|Starting value for the (primary) progress
|-
|PROGRESS_VISIBILITY_OFF
|Flag for setting the progress bar's visibility [[vi]]sibility to GONE
|-
|PROGRESS_VISIBILITY_ON
|Flag for setting the progress bar's visibility [[vi]]sibility to VISIBLE
|-

案内メニュー