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"
- xmlns:tools="http://schemas.android.com/tools"
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:orientation="vertical"
- tools:context=".TomActivity" >
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="0"
- android:background="#1123f1"
- android:gravity="center"
- android:text="Top Banner"
- android:textColor="@android:color/white"
- android:textSize="20sp" />
- <RelativeLayout
- android:layout_width="match_parent"
- android:layout_height="match_parent"
- android:layout_margin="0dip"
- android:layout_weight="1"
- android:orientation="vertical" >
- <RelativeLayout
- android:id="@+id/spinnerbox"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:layout_alignParentRight="true"
- android:layout_alignParentTop="true"
- android:gravity="center_horizontal"
- android:onClick="left"
- android:orientation="horizontal" >
- <Button
- android:id="@+id/leftarrow"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentLeft="true"
- android:background="#888888"
- android:gravity="left"
- android:minHeight="0dip"
- android:minWidth="0dip"
- android:onClick="left"
- android:text="Button" />
- <TextView
- android:id="@+id/spintitle"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_centerInParent="true"
- android:layout_toEndOf="@+id/leftarrow"
- android:layout_toLeftOf="@+id/rightarrow"
- android:layout_toRightOf="@+id/leftarrow"
- android:layout_toStartOf="@+id/rightarrow"
- android:gravity="center"
- android:text="Label" />
- <Button
- android:id="@+id/rightarrow"
- android:layout_width="wrap_content"
- android:layout_height="wrap_content"
- android:layout_alignParentRight="true"
- android:background="#888888"
- android:gravity="right"
- android:minHeight="0dip"
- android:minWidth="0dip"
- android:onClick="right"
- android:text="Button" />
- </RelativeLayout>
- <ViewFlipper
- android:id="@+id/view_flipper"
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:layout_above="@+id/buttonbox"
- android:layout_alignParentLeft="true"
- android:layout_alignParentRight="true"
- android:layout_below="@+id/spinnerbox"
- android:layout_margin="0dip" >
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:layout_margin="0dip"
- android:gravity="center" >
- <ListView
- android:id="@+id/CoursesView"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="0dip"
- android:layout_weight="1"
- android:background="#ffffff" >
- </ListView>
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:layout_margin="0dip"
- android:gravity="center" >
- <ListView
- android:id="@+id/FutureCoursesView"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="0dip"
- android:layout_weight="1"
- android:background="#ffffff" >
- </ListView>
- </LinearLayout>
- <LinearLayout
- android:layout_width="fill_parent"
- android:layout_height="fill_parent"
- android:layout_margin="0dip"
- android:gravity="center" >
- <ListView
- android:id="@+id/MessagesView"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_margin="0dip"
- android:layout_weight="1"
- android:background="#ffffff" >
- </ListView>
- </LinearLayout>
- </ViewFlipper>
- <LinearLayout
- android:id="@+id/buttonbox"
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_alignParentBottom="true"
- android:layout_alignParentLeft="true"
- android:layout_alignParentRight="true"
- android:orientation="horizontal" >
- <Button
- android:id="@+id/CurrentCoursesButton"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="#888888"
- android:text="Button" />
- <Button
- android:id="@+id/FutureCoursesButton"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="#888888"
- android:text="Button" />
- <Button
- android:id="@+id/UnreadMessagesButton"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="#888888"
- android:text="Button" />
- <Button
- android:id="@+id/RefreshButton"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="#888888"
- android:onClick="refreshAll"
- android:text="Button" />
- <Button
- android:id="@+id/LogoffButton"
- android:layout_width="fill_parent"
- android:layout_height="wrap_content"
- android:layout_weight="1"
- android:background="#888888"
- android:onClick="logOff"
- android:text="Button" />
- </LinearLayout>
- </RelativeLayout>
- <TextView
- android:layout_width="match_parent"
- android:layout_height="wrap_content"
- android:layout_weight="0"
- android:background="#1123f1"
- android:gravity="center"
- android:text="Bottom Banner"
- android:textColor="@android:color/white"
- android:textSize="20sp" />
- </LinearLayout>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement