일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- Autoware
- CodeEngn
- disk
- 파일해시생성
- ZIP
- 디스크
- 리버싱핵심원리
- tar
- 케쉴주
- 침해사고대응
- swing
- 안티디버깅
- K-sheild Jr
- John the ripper
- crack
- Mobile
- shadow
- Multimedia
- Android
- 써니나타스
- ctf-d
- 포렌식
- upx
- K-shield Jr 10기
- Interceptor
- 모바일프로그래밍
- Frida
- SW에듀서포터즈
- Reversing
Archives
- Today
- Total
물먹는산세베리아
[4-1] 위젯: 텍스트뷰 TextView 본문
아직 strings.xml에서 지정 안해줘서 글자가 빨간색임
@string/hello: strings.xml 파일의 name="hello"
strings.xml에서 지정한 문자열이 나옴(Hello world)
Ctrl+Space바 누르면 선택지 나옴
singleLine
singleLine="true"
singleLine="false" (default)
자바코드에서 수정하기
xml 파일에 반드시 id 추가해줘야 함
변수명 선언하는데 앞에 TextView가 빨간색이 되면 위에 import 안해줘서 그런거니까 Alt+Enter 입력해서 import하기
앞에 했둔 것과 연결
'OS > Android' 카테고리의 다른 글
[4-3] 위젯: TextView, CheckBox, RadioButton, ImageView, ImageButton (0) | 2021.10.11 |
---|---|
[4-2] 위젯: Button, EditText (0) | 2021.10.11 |
[3-3] Constraint Layout (0) | 2021.10.10 |
[3-2] LinearLayout (0) | 2021.10.09 |
[3-1] android:background, padding, clickcable, enabled속성 (0) | 2021.10.08 |