Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Saad Ali
AndroidHiveFramework
Commits
8771575c
Commit
8771575c
authored
3 years ago
by
Ahmed
Browse files
Options
Download
Email Patches
Plain Diff
- change checkbox spacing
parent
9750b97e
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
hivesdk/src/main/java/com/istnetworks/hivesdk/presentation/surveyExtension/SurveyExtension.kt
+2
-2
...s/hivesdk/presentation/surveyExtension/SurveyExtension.kt
hivesdk/src/main/res/drawable/checkbox_checked.xml
+11
-9
hivesdk/src/main/res/drawable/checkbox_checked.xml
hivesdk/src/main/res/drawable/checkbox_notchecked.xml
+11
-9
hivesdk/src/main/res/drawable/checkbox_notchecked.xml
hivesdk/src/main/res/drawable/radiobutton_checked.xml
+11
-9
hivesdk/src/main/res/drawable/radiobutton_checked.xml
hivesdk/src/main/res/drawable/radiobutton_notchecked.xml
+11
-9
hivesdk/src/main/res/drawable/radiobutton_notchecked.xml
hivesdk/src/main/res/layout/fragment_bottom_sheet.xml
+1
-1
hivesdk/src/main/res/layout/fragment_bottom_sheet.xml
hivesdk/src/main/res/layout/fragment_vertical_main.xml
+2
-2
hivesdk/src/main/res/layout/fragment_vertical_main.xml
with
49 additions
and
41 deletions
+49
-41
hivesdk/src/main/java/com/istnetworks/hivesdk/presentation/surveyExtension/SurveyExtension.kt
+
2
-
2
View file @
8771575c
...
...
@@ -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
))
{
...
...
This diff is collapsed.
Click to expand it.
hivesdk/src/main/res/drawable/checkbox_checked.xml
+
11
-
9
View file @
8771575c
<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>
This diff is collapsed.
Click to expand it.
hivesdk/src/main/res/drawable/checkbox_notchecked.xml
+
11
-
9
View file @
8771575c
<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>
This diff is collapsed.
Click to expand it.
hivesdk/src/main/res/drawable/radiobutton_checked.xml
+
11
-
9
View file @
8771575c
<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>
This diff is collapsed.
Click to expand it.
hivesdk/src/main/res/drawable/radiobutton_notchecked.xml
+
11
-
9
View file @
8771575c
<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>
This diff is collapsed.
Click to expand it.
hivesdk/src/main/res/layout/fragment_bottom_sheet.xml
+
1
-
1
View file @
8771575c
...
...
@@ -18,7 +18,7 @@
<include
android:id=
"@+id/hve_header"
android:layout_height=
"wrap_content"
android:layout_width=
"
wrap_cont
ent"
android:layout_width=
"
match_par
ent"
layout=
"@layout/survey_header"
app:layout_constraintBottom_toTopOf=
"@id/hve_cl_question_holder"
android:layout_marginBottom=
"@dimen/size_16"
/>
...
...
This diff is collapsed.
Click to expand it.
hivesdk/src/main/res/layout/fragment_vertical_main.xml
+
2
-
2
View file @
8771575c
...
...
@@ -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"
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help