Comments (8)
혹시 그건 style이나 dimens에 resources 태그 안에
값을 선언하고 난 다음에 그 값을 템플릿으로 사용하면 되지 않을까요? ㅎ
혹시 제가 잘못 이해하고 있다면, 알려주세요~
from scalablelayout.
자답입니다.^^
아래와 같이 사용하니까 되네요.
styles.xml
<style name="ScalableStyleTest">158138</style>
dimens.xml
<dimen name="logo_text_size">75</dimen>
from scalablelayout.
우와! 샘플까지 같이 올려주시고~~~ 감사합니다~!!! 👍
from scalablelayout.
br태그가 안없어지네요 ㅠㅠ
항상 잘쓰고 있습니다.
감사합니다.^^
from scalablelayout.
다시 클린 빌드해보니 styles은 잘되는데 dimen은 에러가 발생하네요.ㅠㅠ
dimen은 다른 방법을 한번 찾아봐야 겠습니다.
from scalablelayout.
http://blog.danlew.net/2015/01/06/handling-android-resources-with-non-standard-formats/
여기 참고해서 답을 찾았네요.
item으로 등록해서 사용했습니다.
logo_text_size 를 참고해서 보시면 될 것 같네요.
한번 테스트 해보시고 이상없으면 Readme에 추가되면 좋을 것 같네요.
감사합니다.
from scalablelayout.
감사합니다! Readme에 반영하도록 하겠습니다 ㅎ
from scalablelayout.
제가 기존의 코드를 다이나믹 뷰로 변환하는과정에 있는데, 레이아웃이 중첩되어 사용되는 경우에, scalableLayout도 중첩해서 사용이 가능할까요?
from scalablelayout.
Related Issues (20)
- spinner 질문드립니다. HOT 1
- WrapContent 에 대한 문의 입니다. HOT 3
- 안녕하세요! ScrollView 사용에 질문이 있어서 문의 드립니다. HOT 1
- scalablelayout 사용시 getLayoutParams.width 값 관련 HOT 1
- 안녕하세요 개인적인 부분이 있어서 연락드립니다.
- 안드로이드 스플래시 화면에 ScalableLayout을 적용하고 싶은데요 HOT 1
- dp 및 sp값의 비율 HOT 2
- ScalableLayout을 사용하려고하는 초보 개발자입니다. HOT 9
- CalendarView와 RecyclerView 사용 가능여부 질문 드립니다.
- Unexpected namespace prefix "app" found for tag Imageview HOT 1
- ConstraintLayout에서 사용이 가능한가요? HOT 2
- 문의드립니다. HOT 1
- setTextViewWrapContent에 대해 질문드립니다. HOT 2
- ScalableLayout을 xml에 사용하였을때 발생된 오류 문의 드리고 싶습니다 HOT 6
- Scalablelayout을 중첩해서 사용할 수 있나요? HOT 1
- Top and Left HOT 1
- Is it possible to use it in androidx version as well?
- textview에 다시 setText를 했을때 ellipsize가 먹지를 않아 문의드립니다. HOT 2
- ScalableLayout에서 Spinner, Radio Button, CheckBox 처리 HOT 1
- 안드로이드 스튜디오 error 질문 드립니다
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from scalablelayout.