Skip to content

Commit

Permalink
Properly using constraints
Browse files Browse the repository at this point in the history
  • Loading branch information
leocarona committed Dec 13, 2019
1 parent 6d130d2 commit 465b52c
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions app/src/main/res/layout/activity_sample.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,24 +10,25 @@
<com.savvi.rangedatepicker.CalendarPickerView
android:id="@+id/calendar_view"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_height="0dp"
android:clipToPadding="false"
android:paddingBottom="16dp"
android:paddingLeft="16dp"
android:paddingRight="16dp"
android:scrollbarStyle="outsideOverlay"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:tsquare_dividerColor="@color/transparent"
app:tsquare_headerTextColor="@color/custom_header_text"
app:tsquare_orientation_horizontal="false"
tools:layout_editor_absoluteX="0dp"
tools:layout_editor_absoluteY="0dp"/>
tools:layout_editor_absoluteX="0dp" />

<Button
android:id="@+id/get_selected_dates"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Selected Dates"
tools:layout_editor_absoluteX="229dp"
tools:layout_editor_absoluteY="447dp"/>
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />

</androidx.constraintlayout.widget.ConstraintLayout>

0 comments on commit 465b52c

Please sign in to comment.