Comments (18)
You can include ,values folders inside your project instead lib.that might help you
from sdp.
Did you add ssp or only sdp?
To add also ssp, please use:
dependencies {
compile 'com.intuit.ssp:ssp-android:1.0.4'
}
from sdp.
Yah. I missed the point of separate lib for non text and text views. Thanks !!
from sdp.
I got one more crash in textview. It is again 7.0 device moto G5 Plus.
Binary XML file line #36: Binary XML file line #36: Error inflating class TextView.
Code:
Already include compile 'com.intuit.ssp:ssp-android:1.0.4' line in code.
from sdp.
Code:
TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center"
android:textColor="@color/app_text_color"
android:text="@string/verify_phone_number_reason_message"
android:id="@+id/textView4"
android:textSize="@dimen/_12ssp"
from sdp.
I don't think so it was because of ssp !! May be binding error I guess !!
from sdp.
Can you try rebuilding the project? I just tried a similar code on android 7.0 emulator and it worked well.
from sdp.
This is not an always. Crash is happening on few android 7.0 devices ( mainly on moto G). Even I also tested it for nexus and pixal and samsung device, it is working fine. Do you know why it is not working for few devices ?
from sdp.
Is it possible that you will try to fix it and send back a pull request?
I have only few devices and no moto G...
If it's not possible please send the list of devices with the issue and I will buy one.
from sdp.
Yah , i am working on this issue. Today i found that this could be because of memory leak mentioned on this stackoverflow page : http://stackoverflow.com/questions/4512981/android-view-inflateexception-binary-xml-file-line-12-error-inflating-class.
I am also working on fixing memory leak issues and let you if i face this crash again.
from sdp.
Please update your textview xml tag here, this will help to fix the inflate issue. @hmittal1
from sdp.
Seems like it doesn't relate to sdp, please let me know if I'm wrong.
from sdp.
Hi,
I get this issue too on Android 7 when user use split-screen mode
I think you should create new dimens folder for split-screen mode
How do you think about that @elhanan-mishraky ?
Thanks a lot
from sdp.
@vankhoa01 is it possible that you will create a pull request with the required fix?
from sdp.
I just duplicate values-sw300dp and named is values for fixing.
But I think it's not good solution
Could you give me some hint for this case ?
from sdp.
@vankhoa01 I will try to fix it this week.
from sdp.
Great
from sdp.
@vankhoa01 the fix is published, please use 1.0.5 and let me know if it goes well :)
from sdp.
Related Issues (20)
- How to use this library Programatically ? HOT 1
- Foldable device Support HOT 3
- when i use 1.0.6 version studio does't recognise @dimen/_Anysdp but when i use 1.0.0 it is working HOT 1
- Intuit/SDP not working - Not Scaling Vertically HOT 3
- what is new in 1.1.0 HOT 1
- Fractional "sdp" values would be very nice to have. HOT 1
- Smaller devices screen not working ? HOT 1
- Display differences have very different values HOT 2
- Can you also add the positive values ββfor 320 and 411dp widths? HOT 6
- Any thought on supporting compose? HOT 3
- Incremental build issue with sdp plugin HOT 4
- sdp is not Working in Tablet and Desktop version HOT 6
- Lag when using layout editor attributes tab HOT 1
- Plz fix size unit dp which causing Accessibility issue in Play console Pre-launch report HOT 2
- Not supporting after gradle 8.3.0 HOT 2
- ho to use negative values in sdp ? thanks HOT 1
- Different text size on landscape and portrait HOT 1
- how we use sdp for dynamic layout HOT 2
- After implementing this Library, Language is not being translated. While it used to do perfectly before. HOT 1
- Reusing same values with key HOT 1
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 sdp.