본문 바로가기
728x90

안드로이드3

안드로이드 custom app bar left margin 없애는 법 안드로이드 스튜디오에서 custom toolbar를 만들 시 아래 사진처럼 left margin이 생기게 됩니다. 이럴 때 left margin을 없애고 싶다면 위 코드처럼 contentInsertLeft, contentInsertStart를 0dp로 설정해주세요 그러면 손쉽게 custom toolbar에서 left margin을 없앨 수 있습니다. 2020. 8. 17.
안드로이드 글꼴 적용하는 방법 안드로이드 스튜디오에서 글꼴 적용하는 방법에 대해서 알아보겠습니다. 1. 글꼴 추가 res 폴더 하위에 font 폴더를 만들어주시고 그 font 폴더 안에 적용을 원하는 글꼴을 복사 붙여 넣기 하여 넣어주세요. 따라 하시면 위 사진처럼 font 폴더 안에 적용하고 싶은 폰트들이 보일 것입니다. 2. font.xml font 폴더를 우클릭한 후 New->Font Resource File을 통해 font. xml을 생성합니다. filename은 원하시는 대로 만드시면 됩니다. 그 뒤 위 사진과 같이 font.xml을 작성해 주시면 됩니다. android:font -> font를 지정합니다 android:fontWeight -> font의 두께입니다. 100~900 사이의 100의 배수의 수가 가능하며 100.. 2020. 8. 12.
안드로이드 로드맵 2020 Roadmap Programming Java Kotlin Android Studio Android Studio IDE Overview Project Structure Java/Kotlin XML .gradle files Android Component Activity Activity Lifecycle Tasks & Back Stack Service Broadcast Receiver Content Provider Intents Types of Intent Implicit Explicit Intent Filter Static User Interface View Button, ImageView, TextView, EditText etc ViewGroup LinearLayout, RelativeLayout, F.. 2020. 7. 1.
728x90