Comments (10)
It works fine on my side. Can you checkout the branch https://github.com/mmin18/FlexLayout/tree/tmp/test_chiragpurohit71085 and see if it works on your phone?
I've changed gradle build tool to 2.0.0, and I'm also using AndroidStudio 2.0
from flexlayout.
Hi
Thanks. I"ll check and keep you updated on this.
Regards
On Apr 13, 2016 8:09 PM, "Tu Yimin" [email protected] wrote:
It works fine on my side. Can you checkout the branch
https://github.com/mmin18/FlexLayout/tree/tmp/test_chiragpurohit71085 and
see if it works on your phone?I've changed gradle build tool to 2.0.0, and I'm also using AndroidStudio
2.0[image: device-2016-04-13-223528]
https://cloud.githubusercontent.com/assets/748883/14497134/5c355f9e-01c8-11e6-908a-92a4130d9416.png—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#4 (comment)
from flexlayout.
Hi
Sorry to bother you again.. But I am facing the same issue.
Here is the sequence.
- I have imported your project from given branch and opened layout
sample04_reference_other_views.xml.
*- *At this point there were no errors (but layout was not reflecting xml
code, all elements are overlapped on left side) - I have cleaned project and rebuild the project.(I start getting rendering
issue) - Manually deleted build folder from android project (& clean & rebuild),
but getting the same issue.
Let me know if I am missing anything.
java.lang.IllegalArgumentException: unknown identifier view1,
layout_top=view1.bottom
at
com.github.mmin18.widget.FlexLayout$TokenReader.parseStr(FlexLayout.java:1334)
at
com.github.mmin18.widget.FlexLayout$TokenReader.readToken(FlexLayout.java:1298)
at com.github.mmin18.widget.FlexLayout$RPN.parse(FlexLayout.java:1420)
at
com.github.mmin18.widget.FlexLayout$LayoutParams.(FlexLayout.java:78)
at
com.github.mmin18.widget.FlexLayout.generateLayoutParams(FlexLayout.java:325)
at
com.github.mmin18.widget.FlexLayout.generateLayoutParams(FlexLayout.java:32)
at android.view.LayoutInflater.rInflate_Original(LayoutInflater.java:837)
at
android.view.LayoutInflater_Delegate.rInflate(LayoutInflater_Delegate.java:70)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:811)
at android.view.LayoutInflater.rInflateChildren(LayoutInflater.java:798)
at android.view.LayoutInflater.inflate(LayoutInflater.java:515)
at android.view.LayoutInflater.inflate(LayoutInflater.java:394)
at
com.android.layoutlib.bridge.impl.RenderSessionImpl.inflate(RenderSessionImpl.java:229)
at com.android.layoutlib.bridge.Bridge.createSession(Bridge.java:426)
at
com.android.ide.common.rendering.LayoutLibrary.createSession(LayoutLibrary.java:350)
at
com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:510)
at
com.android.tools.idea.rendering.RenderTask$2.compute(RenderTask.java:498)
at
com.intellij.openapi.application.impl.ApplicationImpl.runReadAction(ApplicationImpl.java:967)
at
com.android.tools.idea.rendering.RenderTask.createRenderSession(RenderTask.java:498)
at
com.android.tools.idea.rendering.RenderTask.access$600(RenderTask.java:72)
at com.android.tools.idea.rendering.RenderTask$3.call(RenderTask.java:610)
at com.android.tools.idea.rendering.RenderTask$3.call(RenderTask.java:607)
at
com.android.tools.idea.rendering.RenderService.runRenderAction(RenderService.java:359)
at com.android.tools.idea.rendering.RenderTask.render(RenderTask.java:607)
at com.android.tools.idea.rendering.RenderTask.render(RenderTask.java:629)
at
com.intellij.android.designer.designSurface.AndroidDesignerEditorPanel$7.run(AndroidDesignerEditorPanel.java:519)
at
com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:337)
at
com.intellij.util.ui.update.MergingUpdateQueue.execute(MergingUpdateQueue.java:327)
at
com.intellij.util.ui.update.MergingUpdateQueue$3.run(MergingUpdateQueue.java:271)
at
com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:286)
at
com.intellij.util.ui.update.MergingUpdateQueue.flush(MergingUpdateQueue.java:244)
at
com.intellij.util.ui.update.MergingUpdateQueue.run(MergingUpdateQueue.java:234)
at
com.intellij.util.concurrency.QueueProcessor.runSafely(QueueProcessor.java:238)
at com.intellij.util.Alarm$Request$1.run(Alarm.java:352)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
at java.util.concurrent.FutureTask.run(FutureTask.java:138)
at
java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
at java.lang.Thread.run(Thread.java:695)
On Wed, Apr 13, 2016 at 8:36 PM, Chirag Purohit <
[email protected]> wrote:
Hi
Thanks. I"ll check and keep you updated on this.
Regards
On Apr 13, 2016 8:09 PM, "Tu Yimin" [email protected] wrote:It works fine on my side. Can you checkout the branch
https://github.com/mmin18/FlexLayout/tree/tmp/test_chiragpurohit71085
and see if it works on your phone?I've changed gradle build tool to 2.0.0, and I'm also using AndroidStudio
2.0[image: device-2016-04-13-223528]
https://cloud.githubusercontent.com/assets/748883/14497134/5c355f9e-01c8-11e6-908a-92a4130d9416.png—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#4 (comment)
from flexlayout.
Can you send me the apk file under yout FlexLayout/sample/build/output/apk/sample-debug.apk?
from flexlayout.
Hi
Thanks for your quick responses.
I think there is some confusion here.
If I run application it works perfect. I am getting issue in layout file (XML only). So if I create my view using % layout it shows perfectly in xml file (Design view), but when I use relative to another view, I am getting given error and can not visualize my view.
(I am from ios background and among all libraries or hacks I found, this is the best one. Even with % layout I am able to get started. Thank you very much for this.)
Regards,
from flexlayout.
Oh you mean the preview in AndroidStudio. Sorry I misunderstood.
I can't guarantee but I'll try to make it work in preview in later versions. Thanks for your suggestion.
from flexlayout.
Hi
Thanks...Waiting for your update.
Regards
On Apr 14, 2016 10:47 PM, "Tu Yimin" [email protected] wrote:
Oh you mean the preview in AndroidStudio. Sorry I misunderstood.
I can't guarantee but I'll try to make it work in preview in later
versions. Thanks for your suggestion.—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#4 (comment)
from flexlayout.
Fixed in v1.2.2. Check the update.
from flexlayout.
Hi
Thanks.I"ll check this and update you ASAP.
Thanks again
On Apr 17, 2016 12:08 PM, "Tu Yimin" [email protected] wrote:
Fixed in v1.2.2. Check the update.
—
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub
#4 (comment)
from flexlayout.
Hi
I have checked and its working fine. Thank you very much.
Regards,
from flexlayout.
Related Issues (14)
- MD里padding和margin最好是8的倍数 HOT 2
- Fail to preview in Android Studio 2.2 preview 3 HOT 1
- 关于TextViiew设置layout_top和layout_bottom后内容居中问题 HOT 2
- 动态布局并且定位在前后布局中间时不显示的BUG HOT 3
- TextView宽度测量不对的问题 HOT 2
- Anko feature
- Flexlayout隐藏子控件之后,子控件仍然占用空间 HOT 4
- Docs: Clarify prev/next Meaning HOT 2
- FlexLayout 性能测试 HOT 2
- Could it possible to support max_width/max_height/min_width/min_height ? HOT 8
- Always true conditions HOT 2
- `app:layout_width="min(wrap_content, 100% - 55dp)"` text clipped HOT 2
- @dimen 相关计算无法使用 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 flexlayout.