Skip to content

Instantly share code, notes, and snippets.

@tatuas
Created January 20, 2014 03:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tatuas/8514657 to your computer and use it in GitHub Desktop.
Save tatuas/8514657 to your computer and use it in GitHub Desktop.
AndroidのRelativeLayoutの要素下に行くほどZ-INDEXは上にくる 以下の場合buttton1 - listview1が順番になる。
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="match_parent" >
<ListView
android:id="@+id/listView1"
android:layout_width="match_parent"
android:layout_height="match_parent" >
</ListView>
<Button
android:id="@+id/button1"
android:layout_width="match_parent"
android:layout_height="wrap_content">
</Button>
</RelativeLayout>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment