반응형

Hide the navigation bar - Android

https://developer.android.com/training/system-ui/navigation#behind

 

Hide the navigation bar  |  Android Developers

This lesson describes how to hide the navigation bar, which was introduced in Android 4.0 (API level 14). Even though this lesson focuses on hiding the navigation bar, you should design your app to hide the status bar at the same time, as described in Hidi

developer.android.com

This lesson describes how to hide the navigation bar, which was introduced in Android 4.0 (API level 14).

Even though this lesson focuses on hiding the navigation bar, you should design your app to hide the status bar at the same time, as described in Hiding the Status Bar. Hiding the navigation and status bars (while still keeping them readily accessible) lets the content use the entire display space, thereby providing a more immersive user experience.

You can hide the navigation bar using the SYSTEM_UI_FLAG_HIDE_NAVIGATION flag. This snippet hides both the navigation bar and the status bar:

View decorView = getWindow().getDecorView();
// Hide both the navigation bar and the status bar.
// SYSTEM_UI_FLAG_FULLSCREEN is only available on Android 4.1 and higher, but as
// a general rule, you should design your app to hide the status bar whenever you
// hide the navigation bar.
int uiOptions = View.SYSTEM_UI_FLAG_HIDE_NAVIGATION
              | View.SYSTEM_UI_FLAG_FULLSCREEN;
decorView.setSystemUiVisibility(uiOptions);
반응형
반응형

골프 클럽을 잡을 때마다 신중한 판단을 하기 위해 노력한다.
경기 도중 ‘하고 싶은 샷’과 ‘할 수 있는 샷’, ‘해야 하는 샷’을 놓고
갈등 할 때가 많다.
그럴 때 마다 ‘하고 싶은 샷’은 우선 절제했다.
그러고 나서 나머지 선택지 중 한 개를 캐디와 함께 선택한 뒤 집중한 것이
좋은 결과로 이어진 것 같다.
- 고진영, LPGA 프로 골퍼 

“경기할 때 특히 신경을 쓰는 부분이 있다면?” 이라는 질문에 대한
LPGA 메이저 대회에서 우승한 24살 골퍼 고진영의 답입니다.
놀라운 삶의 지혜와 통찰이 담겨 있습니다.
‘하고 싶은 샷’을 절제하고 ‘해야 하는 샷’을 선택하는 지혜,
절제와 신중한 판단, 실행을 위한 집중 등 배울 점이 많습니다.

반응형
반응형

행복이란 
정원 가꾸기나 
남을 도울 때처럼 우리가 한 행동이나 
생각의 간접적인 결과물로 얻어지는 것이다. 
행복에 관해서라면 오히려 아주 사소한 방법들이 
큰 힘을 발휘한다. 이런 소소한 방법은 쉽게 
실천할 수 있을 뿐 아니라 차곡차곡 쌓여 
나가기 때문에 조금의 반동 없이도 
내 삶을 변화시키는 힘이 있다. 

- 레이첼 켈리의《내 마음의 균형을 찾아가는 연습》중에서 - 


* 아무리 작은 것도 쌓이면 커집니다.
아무리 소소한 행복도 하루하루 차곡차곡 쌓이면
태산처럼 피라미드처럼 거대해집니다. 어떤 변수가 
생겨도 흔들림 없이 행복한 인생길을 갈 수 있습니다. 
그러나 행복만 쌓이는 것 아닙니다. 자칫하면
불행도 차곡차곡 쌓일 수 있습니다.
이것을 늘 조심해야 합니다.

반응형

'생활의 발견 > 아침편지' 카테고리의 다른 글

대립 토론, 언어 훈련  (0) 2019.08.30
청년들의 스승  (0) 2019.08.30
지독한 피로감, 행복한 피로감  (0) 2019.08.27
지식과 지혜  (0) 2019.08.26
최고의 사랑  (0) 2019.08.26

+ Recent posts