일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 리버싱핵심원리
- swing
- 모바일프로그래밍
- upx
- disk
- tar
- ctf-d
- Multimedia
- 파일해시생성
- shadow
- crack
- Reversing
- K-sheild Jr
- Interceptor
- 디스크
- Frida
- 안티디버깅
- SW에듀서포터즈
- 써니나타스
- Mobile
- ZIP
- CodeEngn
- K-shield Jr 10기
- 포렌식
- 침해사고대응
- 케쉴주
- John the ripper
- Autoware
- Android
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 |