add jumping between layout hierarchy and layout bounds view

This commit is contained in:
hyb1996
2017-06-27 22:43:11 +08:00
parent 59a1b5dffb
commit 97ff7e49a1
28 changed files with 745 additions and 125 deletions

View File

@@ -0,0 +1,23 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="@android:color/transparent"
android:orientation="vertical">
<View
android:id="@+id/little_triangle"
android:layout_width="17dp"
android:layout_height="8.5dp"
android:layout_gravity="center_horizontal"
android:background="@drawable/little_triangle"/>
<android.support.v7.widget.RecyclerView
android:id="@+id/list"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/bubble"
app:layoutManager="android.support.v7.widget.LinearLayoutManager"/>
</LinearLayout>