취미 기록용 블로그
에디트 텍스트 기본적으로 하단 선이 그어지는 경우가 있는데 (테마라던지 기타 요인에 의해) xml 에디트텍스트 항목에 background =”@null” 을 추가해주면 사라진다. “read more”
Button android:id=”@+id/button” android:layout_width=”wrap_content” android:layout_height=”wrap_content” android:text=”임시버튼” style=”?android:attr/borderlessButtonStyle” /> 버튼 속성에 style=”?android:attr/borderlessButtonStyle” 넣어주면 된다. “read more”
textView.setIncludeFontPadding(false); 텍스트뷰로 작업하다 보면 기본적으로 폰트랑 틀에 여백이 있는데 이걸 코드로 끄는 방법. (기본값은 true 이다) “read more”