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

blog

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

blog

검색하기 폼
  • 분류 전체보기 (81)
    • JSP (8)
    • SQL (2)
    • JAVA (4)
      • GUI(Swing) (0)
      • Error (0)
      • Programing (1)
      • 정리 (3)
    • Android (54)
      • Fragment (2)
      • Camera (3)
      • ViewPager (5)
      • RecyclerView (2)
      • Notification (3)
      • Layout (2)
      • Room ( Database ) (1)
      • CusomView (1)
      • Etc (20)
      • ReactiveX (1)
      • Firebase (4)
      • Coroutine (0)
      • Wear (3)
      • Sensor (1)
      • Widget (2)
      • CICD (4)
    • Flutter (1)
    • 일상 (12)
  • 방명록

반응형
SMALL
Android (54)
반응형
LIST
[ Layout #3 ] ConstraintLayout BaseLine ( TextView 라인 맞추기 )

app:layout_constraintBaseline_toBaselineOf="@id/tv_1"

Android/Layout 2020. 1. 7. 22:57
[ ViewPager #2 ] WrapContent ViewPager

ViewPager 의 Wrap Content 를 적용하기 위함. 페이지마다 높이값이 다를 경우 ( 그 전 페이지 보다 지금 페이지가 높이가 더 높을 경우 ) 높이가 바뀜. 약간의 Custom 이 필요. class WrapViewPager(context: Context) : ViewPager(context) { override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) { var heightMeasureSpec = heightMeasureSpec val mode = MeasureSpec.getMode(heightMeasureSpec) if (mode == MeasureSpec.UNSPECIFIED || mode == MeasureSpec.A..

Android/ViewPager 2019. 12. 17. 22:32
[ CustomView #1 ] DrawerLayout Custom View

https://jihunstudy.tistory.com/20?category=807405 기본적인 DrawerLayout 에서 + 전체 화면 + RecyclerView 가로 스크롤 Intercept 조건. cs class MenuView @JvmOverloads constructor ( context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : LinearLayout(context, attrs, defStyleAttr) { init { LayoutInflater.from(context).inflate(R.layout.view_menu, this, true) setList() } private fun setList() { list.lay..

Android/CusomView 2019. 4. 26. 16:57
[ RecyclerView #1 ] ItemMoveToSwipe ( ItemTouchHelper )

1234public interface ItemTouchHelperListener { void onItemMove(int fromPosition, int toPosition); void onItemDismiss(int position);}Colored by Color Scriptercs 1234567891011121314151617181920212223242526272829303132333435363738394041public class SwipeController extends ItemTouchHelper.Callback { private ItemTouchHelperListener itemTouchHelperListener; public SwipeController(ItemTouchHelperListen..

Android/RecyclerView 2018. 12. 20. 18:25
이전 1 ··· 8 9 10 11 다음
이전 다음
반응형
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
  • 공부방
TAG
  • github actions
  • 쏘렌토 하이브리드 시그니처
  • 기름잡아주는
  • api key 관리
  • 폴더블 상태 유지
  • local.properties
  • wear os
  • 안드로이드 폴드 대응
  • aos img url bitmap
  • android widget 만들기
  • github
  • 쏘렌토 하이브리드
  • 갤럭시 워치
  • 테스트 배포
  • widget 이미지 로딩
  • 테스트 앱 배포
  • widget onreceive
  • 폴더블 이벤트 받기
  • flutter web
  • widget glide
  • github secrets
  • firebase distribution
  • 웨어러블
  • 오브제썬스틱
  • 안드로이드 플립 대응
  • 맥 전용
  • widget onupdate
  • 풀배열 키보드
  • Android
  • widget 만들기
more
«   2025/10   »
일 월 화 수 목 금 토
1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30 31
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바