-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
377e307
commit 6324e9b
Showing
3 changed files
with
119 additions
and
11 deletions.
There are no files selected for viewing
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
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
98 changes: 98 additions & 0 deletions
98
app/src/main/res/xml/activity_update_user_profile_xml_form_layout_scene.xml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,98 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<MotionScene | ||
xmlns:android="http://schemas.android.com/apk/res/android" | ||
xmlns:motion="http://schemas.android.com/apk/res-auto"> | ||
|
||
<Transition | ||
motion:constraintSetEnd="@+id/end" | ||
motion:constraintSetStart="@id/start" | ||
motion:duration="1000"> | ||
<KeyFrameSet> | ||
</KeyFrameSet> | ||
<OnClick motion:targetId="@id/img_profile" | ||
motion:clickAction="toggle" /> | ||
</Transition> | ||
|
||
<ConstraintSet android:id="@+id/start"> | ||
</ConstraintSet> | ||
|
||
<ConstraintSet android:id="@+id/end"> | ||
<Constraint | ||
android:layout_marginEnd="16dp" | ||
android:layout_height="340dp" | ||
motion:layout_constraintStart_toStartOf="parent" | ||
motion:layout_constraintTop_toTopOf="parent" | ||
motion:layout_constraintBottom_toBottomOf="parent" | ||
motion:layout_constraintEnd_toEndOf="parent" | ||
android:layout_width="340dp" | ||
android:layout_marginStart="16dp" | ||
android:id="@+id/img_profile" /> | ||
<Constraint | ||
android:id="@+id/btn_choose_image" | ||
motion:layout_constraintEnd_toEndOf="parent" | ||
android:layout_width="wrap_content" | ||
android:layout_height="wrap_content" | ||
android:layout_marginEnd="16dp" | ||
motion:layout_constraintTop_toTopOf="parent" | ||
motion:layout_constraintStart_toStartOf="parent" | ||
android:layout_marginTop="250dp" | ||
android:alpha="0" /> | ||
<Constraint | ||
android:id="@+id/btn_save" | ||
motion:layout_constraintEnd_toEndOf="parent" | ||
android:layout_width="0dp" | ||
android:layout_height="wrap_content" | ||
motion:layout_constraintBottom_toBottomOf="parent" | ||
android:layout_marginBottom="16dp" | ||
android:layout_marginEnd="16dp" | ||
motion:layout_constraintTop_toBottomOf="@+id/til_edt_email" | ||
android:layout_marginStart="16dp" | ||
motion:layout_constraintStart_toStartOf="parent" | ||
android:layout_marginTop="32dp" | ||
android:alpha="0" /> | ||
<Constraint | ||
android:id="@+id/til_edt_email" | ||
motion:layout_constraintEnd_toEndOf="parent" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginEnd="16dp" | ||
motion:layout_constraintTop_toBottomOf="@+id/til_edt_address" | ||
android:layout_marginStart="16dp" | ||
motion:layout_constraintStart_toStartOf="parent" | ||
android:layout_marginTop="16dp" | ||
android:alpha="0" /> | ||
<Constraint | ||
android:id="@+id/til_edt_address" | ||
motion:layout_constraintEnd_toEndOf="parent" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginEnd="16dp" | ||
motion:layout_constraintTop_toBottomOf="@+id/til_edt_phone" | ||
android:layout_marginStart="16dp" | ||
motion:layout_constraintStart_toStartOf="parent" | ||
android:layout_marginTop="16dp" | ||
android:alpha="0" /> | ||
<Constraint | ||
android:id="@+id/til_edt_name" | ||
motion:layout_constraintEnd_toEndOf="parent" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginEnd="16dp" | ||
motion:layout_constraintTop_toBottomOf="@+id/btn_choose_image" | ||
android:layout_marginStart="16dp" | ||
motion:layout_constraintStart_toStartOf="parent" | ||
android:layout_marginTop="32dp" | ||
android:alpha="0" /> | ||
<Constraint | ||
android:id="@+id/til_edt_phone" | ||
motion:layout_constraintEnd_toEndOf="parent" | ||
android:layout_width="match_parent" | ||
android:layout_height="wrap_content" | ||
android:layout_marginEnd="16dp" | ||
motion:layout_constraintTop_toBottomOf="@+id/til_edt_name" | ||
android:layout_marginStart="16dp" | ||
motion:layout_constraintStart_toStartOf="parent" | ||
android:layout_marginTop="16dp" | ||
android:alpha="0" /> | ||
</ConstraintSet> | ||
</MotionScene> |