KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
In my application, i want to display one TextView in Top of the Screen with screen width. next want to display graphical view below that TextView. next display one Text View below that Graphical View. I used following xml code. In my code TextView couldnt display in bottom of the screeen. <?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:orientation="vertical" android:layout_width="fill_parent" android:layout_height="fill_parent" > <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" > <TextView android:orientation="horizontal" android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="@string/hello" android:background="#FF8A11" android:padding="8dip" /> </LinearLayout> <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" > <com.game.viewdot.ViewDot android:id="@+id/DrawView" android:layout_width="fill_parent" android:layout_height="wrap_content" /> </LinearLayout> <LinearLayout android:layout_width="fill_parent" android:layout_height="wrap_content" android:orientation="horizontal" android:gravity="bottom" android:layout_gravity="bottom" > <TextView android:layout_width="fill_parent" android:layout_height="wrap_content" android:text="Another Text View" android:background="#FF8A11" android:padding="8dip" android:gravity="bottom" android:layout_gravity="bottom" /> </LinearLayout> What modification i want to put in this code to get my result??????
Tags (comma-separated)
Save Edits
Cancel