Improve pitch accent rendering
app/src/main/res/drawable/ic_pitch_border.xml
| 1 | 1 | <?xml version="1.0" encoding="utf-8"?> | |
| 2 | - | <shape xmlns:android="http://schemas.android.com/apk/res/android"> | |
| 3 | - | ||
| 2 | + | <shape xmlns:android="http://schemas.android.com/apk/res/android" android:shape="rectangle"> | |
| 3 | + | <solid android:color="@android:color/white" /> | |
| 4 | + | <stroke android:width="1dip" android:color="#ddd"/> | |
| 4 | 5 | </shape> | |
| 4 | 5 | = | |
| 5 | 6 | = | \ No newline at end of file |
app/src/main/res/layout/layout_result.xml
| 22 | 22 | android:layout_width="wrap_content" | |
| 23 | 23 | android:layout_height="wrap_content" | |
| 24 | 24 | android:id="@+id/pitch_view" | |
| 25 | - | android:visibility="gone"/> | |
| 25 | + | android:visibility="gone" | |
| 26 | + | android:layout_gravity="center" | |
| 27 | + | android:background="@drawable/ic_pitch_border" | |
| 28 | + | android:layout_margin="8dp" | |
| 29 | + | android:paddingBottom="4dp" | |
| 30 | + | android:paddingTop="4dp" | |
| 31 | + | android:paddingLeft="8dp" | |
| 32 | + | android:paddingRight="8dp" /> | |
| 26 | 33 | ||
| 27 | 34 | <LinearLayout | |
| 28 | 35 | android:layout_width="wrap_content" |