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,7 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android">
<solid android:color="@color/bubble_bg"/>
<corners android:radius="16dp"/>
</shape>

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<rotate
android:fromDegrees="45"
android:pivotX="0"
android:pivotY="100%"
android:toDegrees="45">
<shape android:shape="rectangle">
<size
android:width="12dp"
android:height="12dp"/>
<solid android:color="@color/bubble_bg"/>
</shape>
</rotate>
</item>
</layer-list>