You need to provide the full stack trace, back to the origin of the exception that triggered the RunTimeException. Then the cause is usually fairly obvious, or at least you have a good start on debugging it.
On Jul 27, 9:42 am, pnk444 <sivareddy.ra...@gmail.com> wrote: > Hi, > > I have used sliding drawer in my code as follows. > > <LinearLayout android:layout_width="fill_parent" > android:layout_height="fill_parent" android:orientation="vertical"> > <FrameLayout android:layout_width="fill_parent" > android:layout_height="wrap_content" > android:measureAllChildren="true"> > //Some views here > </FrameLayout> > > <LinearLayout android:layout_width="fill_parent" > android:layout_height="wrap_content" > android:layout_weight="1" > android:orientation="horizontal"> > > <LinearLayout android:layout_height="fill_parent" > android:layout_width="0dip" > android:layout_weight="1" > android:orientation="vertical" > > > //Some views here > </LinearLayout> > > <LinearLayout android:layout_height="fill_parent" > android:layout_width="0dip" > android:layout_weight="1" > android:orientation="vertical" > > > <FrameLayout android:layout_width="fill_parent" > android:layout_height="fill_parent" android:measureAllChildren="true"> > <FrameLayout android:layout_width="fill_parent" > android:layout_height="fill_parent" android:id="@+id/keypad_drawer" > android:visibility="gone"> > > <SlidingDrawer android:id="@+id/dtmf_container" > android:layout_width="fill_parent" android:layout_height="fill_parent" > android:handle="@+id/dialer_tab" android:content="@+id/dtmf_dialer" > android:allowSingleTap="false"> > //Content and handle are here > </SlidingDrawer> > </FrameLayout > </FrameLayout>> > </LinearLayout> > </LinearLayout> > > When i set this as content i am getting RunTime Exception in > SlidingDrarwer onMeasure!. > > How can i prevent RunTimeException? > Where am i doing wrong? > > Thanks in advance. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en