This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<resources> | |
<color name="colorPrimary">#280E79</color> | |
<color name="colorPrimaryDark">#280E79</color> | |
<color name="colorAccent">#FDA829</color> | |
<color name="colorAccentDark">#F84301</color> | |
<color name="text_hint">#8C8C8B</color> | |
<color name="star_grey">#A3A3A3</color> | |
<color name="line">#E5E5E5</color> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Options: | |
DataSnapshot { key = options, value = {1={next_question_id=2, option_type=10, question_id=1, option=Yes}, 2={next_question_id=3, option_type=20, question_id=1, option=No}, 3={option_type=20, question_id=2}} } | |
Sessions: | |
DataSnapshot { key = sessions, value = {dgy456tgsdfgdgf={created_at=1578897787, question_answers={0={option_id=1, question_id=1}, 1={answer=Smith, option_id=3, question_id=2}}, status=20}, hkdsfidfdsfiu={created_at=1578672151, question_answers={0={option_id=1, question_id=1}, 1={answer=Alex, option_id=3, question_id=2}}, status=10}} } | |
Questions: | |
DataSnapshot { key = questions, value = {1={image=, question=Are you feeling well?, options={1=1, 2=2}, position=1, tilte=Health Info}, 2={image=https://pixabay.com/photos/stormtrooper-lego-stretcher-litter-2296199/, question=What is your name?, options={3=3}, position=2, title=Person Info}} } | |
Users: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
implementation "androidx.core:core:1.1.0" | |
getWindow().getDecorView().setSystemUiVisibility(View.SYSTEM_UI_FLAG_LAYOUT_STABLE); | |
ViewCompat.setOnApplyWindowInsetsListener(getWindow().getDecorView(), new OnApplyWindowInsetsListener() { | |
@Override | |
public WindowInsetsCompat onApplyWindowInsets(View v, WindowInsetsCompat insets) { |