티스토리 툴바

구글 개발자 사이트에 잘 기술되어있음.

까먹어서 다시 검색한 김에 정리해 둔다.

나중에 번역해서 다시 글 수정할 예정.. 


android:windowSoftInputMode
How the main window of the activity interacts with the window containing the on-screen soft keyboard. The setting for this attribute affects two things:
  • The state of the soft keyboard — whether it is hidden or visible — when the activity becomes the focus of user attention.
  • The adjustment made to the activity's main window — whether it is resized smaller to make room for the soft keyboard or whether its contents pan to make the current focus visible when part of the window is covered by the soft keyboard.

The setting must be one of the values listed in the following table, or a combination of one "state..." value plus one "adjust..." value. Setting multiple values in either group — multiple "state..." values, for example — has undefined results. Individual values are separated by a vertical bar (|). For example:

<activity android:windowSoftInputMode="stateVisible|adjustResize" . . . >

Values set here (other than "stateUnspecified" and "adjustUnspecified") override values set in the theme.

ValueDescription
"stateUnspecified"The state of the soft keyboard (whether it is hidden or visible) is not specified. The system will choose an appropriate state or rely on the setting in the theme.

This is the default setting for the behavior of the soft keyboard.

"stateUnchanged"The soft keyboard is kept in whatever state it was last in, whether visible or hidden, when the activity comes to the fore.
"stateHidden"The soft keyboard is hidden when the user chooses the activity — that is, when the user affirmatively navigates forward to the activity, rather than backs into it because of leaving another activity.
"stateAlwaysHidden"The soft keyboard is always hidden when the activity's main window has input focus.
"stateVisible"The soft keyboard is visible when that's normally appropriate (when the user is navigating forward to the activity's main window).
"stateAlwaysVisible"The soft keyboard is made visible when the user chooses the activity — that is, when the user affirmatively navigates forward to the activity, rather than backs into it because of leaving another activity.
"adjustUnspecified"It is unspecified whether the activity's main window resizes to make room for the soft keyboard, or whether the contents of the window pan to make the current focus visible on-screen. The system will automatically select one of these modes depending on whether the content of the window has any layout views that can scroll their contents. If there is such a view, the window will be resized, on the assumption that scrolling can make all of the window's contents visible within a smaller area.

This is the default setting for the behavior of the main window.

"adjustResize"The activity's main window is always resized to make room for the soft keyboard on screen.
"adjustPan"The activity's main window is not resized to make room for the soft keyboard. Rather, the contents of the window are automatically panned so that the current focus is never obscured by the keyboard and users can always see what they are typing. This is generally less desirable than resizing, because the user may need to close the soft keyboard to get at and interact with obscured parts of the window.

This attribute was introduced in API Level 3.


저작자 표시 비영리 변경 금지
by Geng 2013/11/24 22:14

영상처리 글을 안올린지, 맷랩을 켜본지도 꽤 되었는데

많은분들이 영상처리/맷랩 관련하여 문의와, 글을 잘 보았다는 고마운 말씀들을 남겨주신다.

아무래도 영상처리 관련 글이 다른 분야 - 이를테면 안드로이드ㅎㅎ - 에 비하면 글이 상대적으로 적어서 그러한가보다.


도움이 되었다는 댓글을 한번씩보다보면, 

공부..를 해서 글을 다시 심혈을 기울여 계속해서 올리면 좋을 것 같다 . :) 



저작자 표시 비영리 변경 금지

'잡소리' 카테고리의 다른 글

잡소리  (0) 2013/11/24
부지런하게 사는것은.  (1) 2013/09/02
스키장을 다녀왔습니다.  (0) 2012/02/03
언행으로부터 느껴지는 그 사람의 가치  (1) 2011/12/07
온라인 판사 (자동채점기) 는 정말 이상하다 -_-  (0) 2011/11/21
[근황] 근래에는.  (0) 2011/10/05
by Geng 2013/11/24 21:52

이런식으로 attr에 접근이 가능하더라.


        android:background="?android:attr/selectableItemBackground"



저작자 표시 비영리 변경 금지
by Geng 2013/09/21 21:55
| 1 2 3 4 5 ... 27 |