Android(Java)

xml이 아닌 java코드에서 dp값으로 LayoutParams 설정

E.I.T.U 2021. 11. 11. 17:05

https://stackoverflow.com/questions/35354032/how-to-set-layout-params-to-units-dp-android

 

https://leesh217.tistory.com/entry/LayoutParams%EC%97%90%EC%84%9C-dp-%EB%8B%A8%EC%9C%84-%EC%93%B0%EA%B8%B0