Commit 8771575c authored by Ahmed's avatar Ahmed
Browse files

- change checkbox spacing

parent 9750b97e
Showing with 49 additions and 41 deletions
+49 -41
......@@ -98,7 +98,7 @@ fun CheckBox.multiChoiceStyle(questionChoicesStyle: TitleStyle,focusColor:String
, Color.parseColor("#ffffff") //enabled
)
)
setPadding(64,8,64,8)
setPadding(64,0,64,0)
buttonTintList = colorStateList
layoutDirection = if (isRtl(this.context))
{
......@@ -127,7 +127,7 @@ fun CheckBox.multiChoiceImageStyle(questionChoicesStyle: TitleStyle,focusColor:S
, Color.parseColor("#ffffff") //enabled
)
)
setPadding(64,8,64,8)
setPadding(64,0,64,0)
buttonTintList = colorStateList
layoutDirection = if (isRtl(this.context))
{
......
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="65dp"
android:height="65dp"
android:viewportWidth="65"
android:viewportHeight="65">
<path
android:pathData="M37.6953,40.8125L27.3047,40.8125C25.582,40.8125 24.1875,39.418 24.1875,37.6953L24.1875,27.3047C24.1875,25.582 25.582,24.1875 27.3047,24.1875L37.6953,24.1875C39.418,24.1875 40.8125,25.582 40.8125,27.3047L40.8125,37.6953C40.8125,39.418 39.418,40.8125 37.6953,40.8125ZM29.7539,32.5664L28.4453,33.9375L31.2422,36.3281L36.5508,31.4023L35.4844,30.0195L31.2813,33.9727ZM29.7539,32.5664"
android:fillColor="#FFFFFF"
android:fillType="nonZero"
android:strokeColor="#00000000"/>
android:width="45dp"
android:height="45dp"
android:viewportWidth="45"
android:viewportHeight="45">
<group>
<clip-path
android:pathData="M0,0h45v45h-45z"/>
<path
android:pathData="M19.474,31.849L8.224,31.849A3.378,3.378 0,0 1,4.849 28.474L4.849,17.224A3.378,3.378 0,0 1,8.224 13.849h11.25A3.378,3.378 0,0 1,22.849 17.224v11.25A3.378,3.378 0,0 1,19.474 31.849ZM10.874,22.922L9.461,24.404l3.027,2.589 5.747,-5.33 -1.154,-1.5L12.531,24.449Z"
android:fillColor="#fff"/>
</group>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="65dp"
android:height="65dp"
android:viewportWidth="65"
android:viewportHeight="65">
<path
android:pathData="M27.3047,24.1875L37.6953,24.1875C39.418,24.1875 40.8125,25.582 40.8125,27.3047L40.8125,37.6953C40.8125,39.418 39.418,40.8125 37.6953,40.8125L27.3047,40.8125C25.582,40.8125 24.1875,39.418 24.1875,37.6953L24.1875,27.3047C24.1875,25.582 25.582,24.1875 27.3047,24.1875ZM27.3047,24.1875"
android:fillColor="#FFFFFF"
android:fillType="nonZero"
android:strokeColor="#00000000"/>
android:width="45dp"
android:height="45dp"
android:viewportWidth="45"
android:viewportHeight="45">
<group>
<clip-path
android:pathData="M0,0h45v45h-45z"/>
<path
android:pathData="M8.224,13.849h11.25A3.375,3.375 0,0 1,22.849 17.224v11.25A3.375,3.375 0,0 1,19.474 31.849L8.224,31.849A3.375,3.375 0,0 1,4.849 28.474L4.849,17.224A3.375,3.375 0,0 1,8.224 13.849Z"
android:fillColor="#fff"/>
</group>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="65dp"
android:height="65dp"
android:viewportWidth="65"
android:viewportHeight="65">
<path
android:pathData="M32.5,40.8125C29.1367,40.8125 26.1055,38.7891 24.8203,35.6797C23.5313,32.5742 24.2422,29 26.6211,26.6211C29.8672,23.375 35.1328,23.375 38.3789,26.6211C41.625,29.8672 41.625,35.1328 38.3789,38.3789C36.8242,39.9414 34.707,40.8203 32.5,40.8125ZM29.9375,32.1875L28.7227,33.4609L31.3281,35.6914L36.2773,31.1016L35.2852,29.8164L31.3672,33.5ZM29.9375,32.1875"
android:fillColor="#FFFFFF"
android:fillType="nonZero"
android:strokeColor="#00000000"/>
android:width="45dp"
android:height="45dp"
android:viewportWidth="45"
android:viewportHeight="45">
<group>
<clip-path
android:pathData="M0,0h45v45h-45z"/>
<path
android:pathData="M13.849,31.849a9,9 0,1 1,6.364 -2.636A9,9 0,0 1,13.849 31.849ZM11.075,22.512 L9.758,23.889l2.823,2.414 5.358,-4.969L16.862,19.943 12.622,23.931Z"
android:fillColor="#fff"/>
</group>
</vector>
<vector xmlns:android="http://schemas.android.com/apk/res/android"
android:width="65dp"
android:height="65dp"
android:viewportWidth="65"
android:viewportHeight="65">
<path
android:pathData="M32.5,24.1875C37.0898,24.1875 40.8125,27.9102 40.8125,32.5C40.8125,37.0898 37.0898,40.8125 32.5,40.8125C27.9102,40.8125 24.1875,37.0898 24.1875,32.5C24.1875,27.9102 27.9102,24.1875 32.5,24.1875ZM32.5,24.1875"
android:fillColor="#FFFFFF"
android:fillType="nonZero"
android:strokeColor="#00000000"/>
android:width="45dp"
android:height="45dp"
android:viewportWidth="45"
android:viewportHeight="45">
<group>
<clip-path
android:pathData="M0,0h45v45h-45z"/>
<path
android:pathData="M15.485,13.849L15.485,13.849A9,9 0,0 1,24.485 22.849L24.485,22.849A9,9 0,0 1,15.485 31.849L15.485,31.849A9,9 0,0 1,6.485 22.849L6.485,22.849A9,9 0,0 1,15.485 13.849z"
android:fillColor="#fff"/>
</group>
</vector>
......@@ -18,7 +18,7 @@
<include
android:id="@+id/hve_header"
android:layout_height="wrap_content"
android:layout_width="wrap_content"
android:layout_width="match_parent"
layout="@layout/survey_header"
app:layout_constraintBottom_toTopOf="@id/hve_cl_question_holder"
android:layout_marginBottom="@dimen/size_16"/>
......
......@@ -33,8 +33,8 @@
android:layout_height="0dp"
android:layout_marginTop="4dp"
android:layout_marginBottom="4dp"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:layout_marginStart="@dimen/card_margin"
android:layout_marginEnd="@dimen/card_margin"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="@id/hve_header"
app:layout_constraintStart_toStartOf="@id/hve_header"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment