give poll result backgrounds a rounded shape (#1626)
* give poll result backgrounds a rounded shape * fix rtl layout of poll options
This commit is contained in:
parent
441a1c1f95
commit
b87a1711f2
3 changed files with 3 additions and 1 deletions
|
@ -3,4 +3,4 @@
|
|||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:drawable="@drawable/poll_option_shape"
|
||||
android:clipOrientation="horizontal"
|
||||
android:gravity="left|clip_horizontal|fill_vertical"/>
|
||||
android:gravity="start|clip_horizontal|fill_vertical"/>
|
|
@ -2,5 +2,6 @@
|
|||
<shape
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<corners android:radius="6dp"/>
|
||||
<solid android:color="?attr/pollOptionBackgroundColor" />
|
||||
</shape>
|
|
@ -17,6 +17,7 @@
|
|||
android:paddingTop="2dp"
|
||||
android:paddingEnd="6dp"
|
||||
android:paddingBottom="2dp"
|
||||
android:textAlignment="viewStart"
|
||||
android:textColor="?android:attr/textColorPrimary"
|
||||
android:textSize="?attr/status_text_medium"
|
||||
tools:text="40%" />
|
||||
|
|
Loading…
Reference in a new issue