Closed GoogleCodeExporter closed 9 years ago
are you trying to keep a live card or immersion screen (activity) on? I am able
to keep the immersion screen on with "android:keepScreenOn="true"". If you are
talking about a live card, I dont live card is design in such way that you
should keep it on.
Original comment by so.jacky...@gmail.com
on 10 Mar 2014 at 1:52
yes, i am using live card and a thread to draw on a view. I try also
"android:keepScreenOn="true"" in my layout xml.
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/black"
android:keepScreenOn="true" >
<com.examle.exampleView
android:id="@+id/drawView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
</FrameLayout>
But it wont work.
is there any way?
Original comment by rafitsab...@gmail.com
on 10 Mar 2014 at 2:19
As mentioned by comment #1, LiveCard's main feature is to let the device
handles the screen timeout and being able to wakeup to this card while
remaining in the timeline.
If you need more advanced features, such as the ability to keep the screen on,
I would suggest using an Immersion for your integration.
Original comment by ala...@google.com
on 10 Mar 2014 at 3:49
Original issue reported on code.google.com by
rafitsab...@gmail.com
on 10 Mar 2014 at 1:02