Skip to content

Instantly share code, notes, and snippets.

@darthdeus
Created November 3, 2013 15:50
Show Gist options
  • Save darthdeus/08dce43c01b9b32ae244 to your computer and use it in GitHub Desktop.
Save darthdeus/08dce43c01b9b32ae244 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:p1="http://schemas.android.com/apk/res/android"
p1:background="@android:color/white"
p1:layout_width="fill_parent"
p1:layout_height="fill_parent">
<!-- ... some stuff here, but there's plenty of space -->
<LinearLayout
p1:orientation="vertical"
p1:id="@+id/ListWrapper"
p1:minWidth="25px"
p1:minHeight="25px"
p1:layout_width="fill_parent"
p1:layout_height="wrap_content"
p1:layout_marginTop="300dp"
p1:background="@color/green">
<Button
p1:text="Show List"
p1:id="@+id/btnToggleParkingList"
p1:background="@android:color/white"
p1:textColor="@color/normal_text"
p1:layout_width="fill_parent"
p1:layout_height="wrap_content" />
<ListView
p1:minWidth="25px"
p1:minHeight="25px"
p1:layout_width="wrap_content"
p1:layout_height="wrap_content"
p1:id="@+id/ParkingList" />
</LinearLayout>
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment