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,4 +3,4 @@
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:drawable="@drawable/poll_option_shape"
|
android:drawable="@drawable/poll_option_shape"
|
||||||
android:clipOrientation="horizontal"
|
android:clipOrientation="horizontal"
|
||||||
android:gravity="left|clip_horizontal|fill_vertical"/>
|
android:gravity="start|clip_horizontal|fill_vertical"/>
|
|
@ -2,5 +2,6 @@
|
||||||
<shape
|
<shape
|
||||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||||
android:shape="rectangle">
|
android:shape="rectangle">
|
||||||
|
<corners android:radius="6dp"/>
|
||||||
<solid android:color="?attr/pollOptionBackgroundColor" />
|
<solid android:color="?attr/pollOptionBackgroundColor" />
|
||||||
</shape>
|
</shape>
|
|
@ -17,6 +17,7 @@
|
||||||
android:paddingTop="2dp"
|
android:paddingTop="2dp"
|
||||||
android:paddingEnd="6dp"
|
android:paddingEnd="6dp"
|
||||||
android:paddingBottom="2dp"
|
android:paddingBottom="2dp"
|
||||||
|
android:textAlignment="viewStart"
|
||||||
android:textColor="?android:attr/textColorPrimary"
|
android:textColor="?android:attr/textColorPrimary"
|
||||||
android:textSize="?attr/status_text_medium"
|
android:textSize="?attr/status_text_medium"
|
||||||
tools:text="40%" />
|
tools:text="40%" />
|
||||||
|
|
Loading…
Reference in New Issue