add jumping between layout hierarchy and layout bounds view
This commit is contained in:
7
app/src/main/res/drawable/bubble.xml
Normal file
7
app/src/main/res/drawable/bubble.xml
Normal 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>
|
||||
19
app/src/main/res/drawable/little_triangle.xml
Normal file
19
app/src/main/res/drawable/little_triangle.xml
Normal 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>
|
||||
Reference in New Issue
Block a user