Click here to Skip to main content
15,914,500 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi Guys
I'm trying to develop android program and i need to place a text view inside FrameLayout,But When i do my app. is force closed!Here is my Code and any idea about how to write text inside FrameLayout is welcomed!:
Java
<RelativeLayout 
        android:layout_marginTop="10dip"
	    android:layout_width="250dip"
	    android:layout_height="200dip"
	    android:layout_marginLeft="35dip">
	    <FrameLayout 
	        android:background="@drawable/rounded1"
	        android:layout_width="250dip"
	    	android:layout_height="20dip">
		
	        
	    </FrameLayout>
	    <TextView android:text="@string/Search"/>
       	<Button
	        android:id="@+id/btnNexxt"
	        android:layout_width="wrap_content"
	        android:layout_height="wrap_content"
	        android:text="@string/ContinueBtn"
	        android:gravity="bottom" 
	        android:layout_alignParentBottom="true"/>
       
       
       
   </RelativeLayout>
Posted

1 solution

Check this article[^].
It may help.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900