Created
July 26, 2020 14:40
-
-
Save rodrigomartind/9720546adc5efa376536ff8f8e3e81a4 to your computer and use it in GitHub Desktop.
This file contains hidden or 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"?> | |
<androidx.constraintlayout.motion.widget.MotionLayout xmlns:android="http://schemas.android.com/apk/res/android" | |
xmlns:app="http://schemas.android.com/apk/res-auto" | |
xmlns:tools="http://schemas.android.com/tools" | |
android:layout_width="match_parent" | |
android:layout_height="match_parent" | |
app:motionDebug="SHOW_PATH" | |
app:layoutDescription="@xml/activity_circular_cards_scene1" | |
tools:context=".circularcards.scenes.CircularCardsScene1Activity"> | |
<View | |
android:id="@+id/guide" | |
android:layout_width="1dp" | |
android:layout_height="1dp" | |
app:layout_constraintBottom_toBottomOf="parent" | |
app:layout_constraintEnd_toEndOf="parent" | |
app:layout_constraintStart_toStartOf="parent" /> | |
<com.google.android.material.card.MaterialCardView | |
android:id="@+id/cardCenter" | |
android:layout_width="318dp" | |
android:layout_height="202dp" | |
app:cardCornerRadius="8dp" | |
app:cardBackgroundColor="@color/colorPrimaryDark" | |
app:layout_constraintCircle="@+id/guide" | |
app:layout_constraintCircleAngle="0" | |
app:layout_constraintCircleRadius="190dp" /> | |
</androidx.constraintlayout.motion.widget.MotionLayout> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment