본문 바로가기 메뉴 바로가기

IT GOGO

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

IT GOGO

검색하기 폼
  • Category (387)
    • Free Board (1)
    • Life (70)
      • IT (16)
      • NEWS (20)
      • Snowboard & Ski (8)
      • Camping & Climbing (3)
      • Camera (1)
      • Food & Cafe (6)
      • Investment (4)
      • Etc.. (12)
    • Computer (290)
      • Algorithms (9)
      • C (17)
      • JAVA (30)
      • Android (105)
      • HTML,PHP,Javascript (5)
      • Linux/Unix (14)
      • Tizen (3)
      • MFC (15)
      • Cocos2d-x (5)
      • Win32 API (3)
      • VBS (Visual Basic Sc.. (7)
      • OS (Windows, Linux, .. (38)
      • Python (3)
      • Tool (25)
      • Etc (10)
      • Google (Adsense,AdMo.. (1)
    • Project (21)
      • Remote (19)
      • Alarm & Weather (2)
  • 방명록

안드로이드 뷰 절대좌표 (1)
[Android] View 절대 좌표값

View 절대 좌표값 구하는 방법 View.getLocatioinOnScreen(int[]); 위와 같은 함수를 사용하면 전체 스크린상의 절대 위치의 좌표를 구할수 있다. 예시로 아래와 같이 사용하면 된다. public boolean chkTouchInside(View view, int x, int y) { int[] location = new int[2]; view.getLocationOnScreen(location); if (x >= location[0]) { if (x = location[1]) { if (y

Computer/Android 2017. 2. 21. 21:15
이전 1 다음
이전 다음

파트너스 활동을 통해 일정액의 수수료를 제공받을 수 있음



Total
Today
Yesterday
TAG
  • DTS
  • Android
  • C언어
  • device tree
  • VBS
  • 리눅스
  • 디바이스트리
  • 안드로이드
  • Linux
  • Java
more
최근에 달린 댓글


Blog is powered by Tistory / Designed by Tistory

티스토리툴바