Skip to content

Instantly share code, notes, and snippets.

@marklin-latte
Created September 8, 2015 06:46
Show Gist options
  • Save marklin-latte/0d86b6517f241e143338 to your computer and use it in GitHub Desktop.
Save marklin-latte/0d86b6517f241e143338 to your computer and use it in GitHub Desktop.
Test Layout
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical"
android:layout_width="fill_parent"
android:layout_height="fill_parent">
<TextView
android:id="@+id/listCardTitle"
android:layout_width="fill_parent"
android:layout_alignParentTop="true"
android:layout_height="26dip"
android:text="我是Title"
android:typeface="sans"
style="@style/CommonText" />
<ListView
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/listCardTitle"
android:id="@+id/cardlist"
android:listSelector="@drawable/background_listview" />
<Button
android:id="@+id/listCardFooter"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/cardlist"
android:text="我是Footer Button"
android:typeface="sans"
style="@style/CommonText" />
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment