Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?xml version="1.0" encoding="utf-8"?>
- <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:orientation="vertical" >
- <LinearLayout
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:orientation="horizontal" >
- <TextView
- android:id="@+id/textView1"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:textSize="20sp"
- android:textColor="#ffffff"
- android:background="#19396a"
- />
- <TextView
- android:id="@+id/textView2"
- android:layout_weight="1"
- android:layout_width="0dp"
- android:layout_height="wrap_content"
- android:textSize="20sp"
- android:textColor="#ffffff"
- android:background="#19396a"
- />
- </LinearLayout>
- <ListView
- android:id="@+id/uilistView"
- android:layout_width="match_parent"
- android:layout_height="wrap_content" >
- </ListView>
- </LinearLayout>
- //used to initialize UI elements
- //called in oncreate() method
- public void initializeUIelements() {
- ......
- activity_listView = (ListView) findViewById(R.id.uilistView);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement