2222 android : id =" @+id/error_group"
2323 android : layout_width =" match_parent"
2424 android : layout_height =" wrap_content"
25- app : constraint_referenced_ids =" retry, error_msg" />
25+ android : visibility =" gone"
26+ app : constraint_referenced_ids =" retry, error_msg"
27+ tools : visibility =" visible" />
2628
2729 <TextView
2830 android : id =" @+id/error_msg"
2931 android : layout_width =" wrap_content"
3032 android : layout_height =" wrap_content"
31- android : layout_marginTop = " 16dp "
33+ android : gravity = " center "
3234 android : textColor =" @color/red"
3335 android : textSize =" 14sp"
3436 android : textStyle =" bold"
35- app : layout_constraintBaseline_toBaselineOf =" @id/retry"
36- app : layout_constraintHorizontal_bias =" 0"
37+ app : layout_constraintBottom_toBottomOf =" parent"
3738 app : layout_constraintLeft_toLeftOf =" parent"
38- app : layout_constraintRight_toLeftOf = " @id/retry "
39+ app : layout_constraintRight_toRightOf = " parent "
3940 app : layout_constraintTop_toTopOf =" parent"
40- tools : text =" No Internet Connection " />
41+ tools : text =" No Internet Connection. Please check your internet connection and try again " />
4142
4243 <Button
4344 android : id =" @+id/retry"
4445 android : layout_width =" wrap_content"
4546 android : layout_height =" wrap_content"
4647 android : text =" @string/retry"
4748 app : layout_constraintBottom_toBottomOf =" parent"
49+ app : layout_constraintLeft_toLeftOf =" parent"
4850 app : layout_constraintRight_toRightOf =" parent"
49- app : layout_constraintTop_toTopOf = " parent " />
51+ app : layout_constraintTop_toBottomOf = " @id/error_msg " />
5052 </androidx .constraintlayout.widget.ConstraintLayout>
5153</layout >
0 commit comments