목록Android Studio (1)
travel data science
[android] 1. 뷰
1. XML속성(보통 View클래스에서 상속 받음) ①id="@+id/아이디" ②layout_width="wrap_content" layout_height="match_parent" or laytout_height=30px ③background="#ff0000" ④padding='30dp'(레이아웃과 위젯 사이) layout_margin="20dp"(위젯 사이) ⑤visibility= invisible / visible / gone ⑥enabled= True / False clickable= True / False ⑦rotation="45" (45도로 회전) 2. button / edittext 를 java코딩 하기 package com.example.helloandroid; import androidx..
Android Studio
2021. 6. 10. 14:12