Run formatter

This commit is contained in:
arkon 2021-06-01 18:01:23 -04:00
parent 3db85c7274
commit cb8cff3179
2 changed files with 64 additions and 66 deletions

View file

@ -125,10 +125,9 @@
tools:text="Source" /> tools:text="Source" />
</LinearLayout> </LinearLayout>
</LinearLayout> </LinearLayout>
<com.google.android.material.button.MaterialButton <com.google.android.material.button.MaterialButton
android:id="@+id/btn_favorite" android:id="@+id/btn_favorite"
style="@style/Theme.Widget.Button.Action" style="@style/Theme.Widget.Button.Action"

View file

@ -1,81 +1,80 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<MotionScene <MotionScene xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:motion="http://schemas.android.com/apk/res-auto"> xmlns:motion="http://schemas.android.com/apk/res-auto">
<Transition <Transition
motion:constraintSetEnd="@+id/end" motion:constraintSetEnd="@+id/end"
motion:constraintSetStart="@id/start" motion:constraintSetStart="@id/start"
motion:duration="@android:integer/config_mediumAnimTime"> motion:duration="@android:integer/config_mediumAnimTime">
<KeyFrameSet> <KeyFrameSet>
<KeyPosition <KeyPosition
motion:motionTarget="@+id/manga_detail" motion:keyPositionType="pathRelative"
motion:keyPositionType="pathRelative" /> motion:motionTarget="@+id/manga_detail" />
</KeyFrameSet> </KeyFrameSet>
<OnClick motion:targetId="@+id/manga_cover" /> <OnClick motion:targetId="@+id/manga_cover" />
</Transition> </Transition>
<ConstraintSet android:id="@+id/start"> <ConstraintSet android:id="@+id/start">
<Constraint <Constraint
android:id="@+id/manga_info_toggle_more" android:id="@+id/manga_info_toggle_more"
motion:layout_constraintEnd_toEndOf="parent"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
motion:layout_constraintBottom_toBottomOf="@+id/manga_summary_text" motion:layout_constraintBottom_toBottomOf="@+id/manga_summary_text"
motion:layout_constraintEnd_toEndOf="parent"
motion:visibilityMode="ignore" /> motion:visibilityMode="ignore" />
<Constraint <Constraint
android:id="@+id/manga_genres_tags_compact" android:id="@+id/manga_genres_tags_compact"
motion:layout_constraintEnd_toEndOf="parent"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
motion:layout_constraintTop_toBottomOf="@+id/manga_summary_text" motion:layout_constraintEnd_toEndOf="parent"
motion:layout_constraintStart_toStartOf="parent" motion:layout_constraintStart_toStartOf="parent"
motion:layout_constraintTop_toBottomOf="@+id/manga_summary_text"
motion:visibilityMode="ignore" /> motion:visibilityMode="ignore" />
<Constraint <Constraint
android:id="@+id/manga_info_toggle_more_scrim" android:id="@+id/manga_info_toggle_more_scrim"
motion:layout_constraintEnd_toStartOf="@+id/manga_info_toggle_more"
android:layout_width="20dp" android:layout_width="20dp"
android:layout_height="0dp" android:layout_height="0dp"
motion:layout_constraintBottom_toBottomOf="@+id/manga_info_toggle_more" motion:layout_constraintBottom_toBottomOf="@+id/manga_info_toggle_more"
motion:layout_constraintEnd_toStartOf="@+id/manga_info_toggle_more"
motion:layout_constraintTop_toTopOf="@+id/manga_info_toggle_more" motion:layout_constraintTop_toTopOf="@+id/manga_info_toggle_more"
motion:visibilityMode="ignore" /> motion:visibilityMode="ignore" />
<Constraint <Constraint
android:id="@+id/manga_info_toggle_less" android:id="@+id/manga_info_toggle_less"
motion:layout_constraintEnd_toEndOf="parent"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:visibility="gone" android:visibility="gone"
motion:layout_constraintEnd_toEndOf="parent"
motion:layout_constraintTop_toBottomOf="@+id/manga_summary_text" motion:layout_constraintTop_toBottomOf="@+id/manga_summary_text"
motion:visibilityMode="ignore" /> motion:visibilityMode="ignore" />
<Constraint <Constraint
android:id="@+id/manga_genres_tags_full_chips" android:id="@+id/manga_genres_tags_full_chips"
motion:layout_constraintEnd_toEndOf="parent"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:visibility="gone"
android:layout_marginEnd="16dp"
motion:layout_constraintTop_toBottomOf="@id/manga_info_toggle_less"
android:layout_marginStart="16dp" android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:visibility="gone"
motion:layout_constraintEnd_toEndOf="parent"
motion:layout_constraintStart_toStartOf="parent" motion:layout_constraintStart_toStartOf="parent"
motion:layout_constraintTop_toBottomOf="@id/manga_info_toggle_less"
motion:visibilityMode="ignore" /> motion:visibilityMode="ignore" />
<Constraint <Constraint
android:id="@+id/btn_tracking" android:id="@+id/btn_tracking"
motion:layout_constraintEnd_toStartOf="@+id/btn_webview"
motion:layout_constraintStart_toEndOf="@+id/btn_favorite"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:visibility="visible" android:visibility="visible"
motion:layout_constraintEnd_toStartOf="@+id/btn_webview"
motion:layout_constraintHorizontal_bias="0.5" motion:layout_constraintHorizontal_bias="0.5"
motion:layout_constraintStart_toEndOf="@+id/btn_favorite"
motion:layout_constraintTop_toTopOf="@+id/btn_favorite" motion:layout_constraintTop_toTopOf="@+id/btn_favorite"
motion:visibilityMode="ignore" /> motion:visibilityMode="ignore" />
<Constraint <Constraint
android:id="@+id/btn_webview" android:id="@+id/btn_webview"
motion:layout_constraintEnd_toEndOf="parent"
motion:layout_constraintStart_toEndOf="@+id/btn_tracking"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:visibility="visible" android:visibility="visible"
motion:layout_constraintEnd_toEndOf="parent"
motion:layout_constraintHorizontal_bias="0.5" motion:layout_constraintHorizontal_bias="0.5"
motion:layout_constraintStart_toEndOf="@+id/btn_tracking"
motion:layout_constraintTop_toTopOf="@+id/btn_favorite" motion:layout_constraintTop_toTopOf="@+id/btn_favorite"
motion:visibilityMode="ignore" /> motion:visibilityMode="ignore" />
</ConstraintSet> </ConstraintSet>
@ -83,139 +82,139 @@
<ConstraintSet android:id="@+id/end"> <ConstraintSet android:id="@+id/end">
<Constraint <Constraint
android:id="@+id/backdrop" android:id="@+id/backdrop"
motion:layout_constraintEnd_toEndOf="parent"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="0dp" android:layout_height="0dp"
motion:layout_constraintBottom_toBottomOf="@+id/manga_cover"
android:layout_marginBottom="-8dp" android:layout_marginBottom="-8dp"
android:alpha="0" android:alpha="0"
motion:layout_constraintTop_toTopOf="parent" motion:layout_constraintBottom_toBottomOf="@+id/manga_cover"
motion:layout_constraintEnd_toEndOf="parent"
motion:layout_constraintStart_toStartOf="parent" motion:layout_constraintStart_toStartOf="parent"
motion:layout_constraintTop_toTopOf="parent"
motion:transitionEasing="cubic(0,1,0,1)" /> motion:transitionEasing="cubic(0,1,0,1)" />
<Constraint <Constraint
android:id="@+id/backdrop_overlay" android:id="@+id/backdrop_overlay"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="160dp" android:layout_height="160dp"
motion:layout_constraintBottom_toBottomOf="@+id/backdrop"
android:layout_marginBottom="-16dp" android:layout_marginBottom="-16dp"
android:alpha="0" android:alpha="0"
motion:layout_constraintBottom_toBottomOf="@+id/backdrop"
motion:transitionEasing="cubic(0,1,0,1)" /> motion:transitionEasing="cubic(0,1,0,1)" />
<Constraint <Constraint
android:layout_marginStart="0dp"
motion:layout_constraintTop_toTopOf="parent"
motion:layout_constraintStart_toStartOf="parent"
android:layout_marginTop="0dp"
android:id="@+id/manga_cover" android:id="@+id/manga_cover"
android:layout_marginStart="0dp"
android:layout_marginTop="0dp"
motion:layout_constraintDimensionRatio="2:3"
motion:layout_constraintEnd_toEndOf="parent" motion:layout_constraintEnd_toEndOf="parent"
motion:layout_constraintDimensionRatio="2:3" /> motion:layout_constraintStart_toStartOf="parent"
motion:layout_constraintTop_toTopOf="parent" />
<Constraint <Constraint
android:id="@+id/btn_favorite" android:id="@+id/btn_favorite"
motion:layout_constraintEnd_toStartOf="@+id/btn_tracking"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
motion:layout_constraintTop_toBottomOf="@id/manga_detail"
motion:layout_constraintHorizontal_bias="0.5"
motion:layout_constraintStart_toStartOf="parent" />
<Constraint
android:id="@+id/btn_favorite"
motion:layout_constraintEnd_toStartOf="@+id/btn_tracking" motion:layout_constraintEnd_toStartOf="@+id/btn_tracking"
android:layout_width="0dp"
android:layout_height="wrap_content"
motion:layout_constraintTop_toBottomOf="@id/manga_detail"
motion:layout_constraintHorizontal_bias="0.5" motion:layout_constraintHorizontal_bias="0.5"
motion:layout_constraintStart_toStartOf="parent" motion:layout_constraintStart_toStartOf="parent"
android:layout_marginTop="8dp" /> motion:layout_constraintTop_toBottomOf="@id/manga_detail" />
<Constraint
android:id="@+id/btn_favorite"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
motion:layout_constraintEnd_toStartOf="@+id/btn_tracking"
motion:layout_constraintHorizontal_bias="0.5"
motion:layout_constraintStart_toStartOf="parent"
motion:layout_constraintTop_toBottomOf="@id/manga_detail" />
<Constraint <Constraint
android:id="@+id/manga_detail" android:id="@+id/manga_detail"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginStart="16dp" android:layout_marginStart="16dp"
motion:layout_constraintTop_toBottomOf="@id/manga_cover" android:layout_marginTop="24dp"
motion:layout_constraintStart_toStartOf="parent"
motion:layout_constraintEnd_toEndOf="parent"
android:layout_marginEnd="16dp" android:layout_marginEnd="16dp"
android:layout_marginTop="24dp" /> motion:layout_constraintEnd_toEndOf="parent"
motion:layout_constraintStart_toStartOf="parent"
motion:layout_constraintTop_toBottomOf="@id/manga_cover" />
<Constraint <Constraint
android:id="@+id/manga_info_toggle_less" android:id="@+id/manga_info_toggle_less"
motion:layout_constraintEnd_toEndOf="parent"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:visibility="visible" android:visibility="visible"
motion:layout_constraintEnd_toEndOf="parent"
motion:layout_constraintTop_toBottomOf="@+id/manga_summary_text" motion:layout_constraintTop_toBottomOf="@+id/manga_summary_text"
motion:visibilityMode="ignore" /> motion:visibilityMode="ignore" />
<Constraint <Constraint
android:id="@+id/btn_tracking" android:id="@+id/btn_tracking"
motion:layout_constraintEnd_toStartOf="@+id/btn_webview"
motion:layout_constraintStart_toEndOf="@+id/btn_favorite"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:visibility="visible" android:visibility="visible"
motion:layout_constraintEnd_toStartOf="@+id/btn_webview"
motion:layout_constraintHorizontal_bias="0.5" motion:layout_constraintHorizontal_bias="0.5"
motion:layout_constraintStart_toEndOf="@+id/btn_favorite"
motion:layout_constraintTop_toTopOf="@+id/btn_favorite" motion:layout_constraintTop_toTopOf="@+id/btn_favorite"
motion:visibilityMode="ignore" /> motion:visibilityMode="ignore" />
<Constraint <Constraint
android:id="@+id/btn_tracking" android:id="@+id/btn_tracking"
motion:layout_constraintEnd_toStartOf="@+id/btn_webview"
motion:layout_constraintStart_toEndOf="@+id/btn_favorite"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:visibility="visible" android:visibility="visible"
motion:visibilityMode="ignore" motion:layout_constraintEnd_toStartOf="@+id/btn_webview"
motion:layout_constraintHorizontal_bias="0.5" motion:layout_constraintHorizontal_bias="0.5"
motion:layout_constraintTop_toTopOf="@+id/btn_favorite" /> motion:layout_constraintStart_toEndOf="@+id/btn_favorite"
motion:layout_constraintTop_toTopOf="@+id/btn_favorite"
motion:visibilityMode="ignore" />
<Constraint <Constraint
android:id="@+id/btn_webview" android:id="@+id/btn_webview"
motion:layout_constraintEnd_toEndOf="parent"
motion:layout_constraintStart_toEndOf="@+id/btn_tracking"
android:layout_width="0dp" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:visibility="visible" android:visibility="visible"
motion:layout_constraintEnd_toEndOf="parent"
motion:layout_constraintHorizontal_bias="0.5" motion:layout_constraintHorizontal_bias="0.5"
motion:layout_constraintStart_toEndOf="@+id/btn_tracking"
motion:layout_constraintTop_toTopOf="@+id/btn_favorite" motion:layout_constraintTop_toTopOf="@+id/btn_favorite"
motion:visibilityMode="ignore" /> motion:visibilityMode="ignore" />
<Constraint <Constraint
android:id="@+id/manga_summary_text" android:id="@+id/manga_summary_text"
motion:layout_constraintEnd_toEndOf="parent"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_marginEnd="16dp"
motion:layout_constraintTop_toBottomOf="@+id/btn_favorite"
android:layout_marginStart="16dp" android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
motion:layout_constraintEnd_toEndOf="parent"
motion:layout_constraintStart_toStartOf="parent" motion:layout_constraintStart_toStartOf="parent"
motion:layout_constraintTop_toBottomOf="@+id/btn_favorite"
motion:visibilityMode="ignore" /> motion:visibilityMode="ignore" />
<Constraint <Constraint
android:id="@+id/manga_info_toggle_more_scrim" android:id="@+id/manga_info_toggle_more_scrim"
motion:layout_constraintEnd_toStartOf="@+id/manga_info_toggle_more"
android:layout_width="20dp" android:layout_width="20dp"
android:layout_height="0dp" android:layout_height="0dp"
motion:layout_constraintBottom_toBottomOf="@+id/manga_info_toggle_more" motion:layout_constraintBottom_toBottomOf="@+id/manga_info_toggle_more"
motion:layout_constraintEnd_toStartOf="@+id/manga_info_toggle_more"
motion:layout_constraintTop_toTopOf="@+id/manga_info_toggle_more" motion:layout_constraintTop_toTopOf="@+id/manga_info_toggle_more"
motion:visibilityMode="ignore" /> motion:visibilityMode="ignore" />
<Constraint <Constraint
android:id="@+id/manga_info_toggle_more" android:id="@+id/manga_info_toggle_more"
motion:layout_constraintEnd_toEndOf="parent"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
motion:layout_constraintBottom_toBottomOf="@+id/manga_summary_text" motion:layout_constraintBottom_toBottomOf="@+id/manga_summary_text"
motion:layout_constraintEnd_toEndOf="parent"
motion:visibilityMode="ignore" /> motion:visibilityMode="ignore" />
<Constraint <Constraint
android:id="@+id/manga_genres_tags_compact" android:id="@+id/manga_genres_tags_compact"
motion:layout_constraintEnd_toEndOf="parent"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
motion:layout_constraintTop_toBottomOf="@+id/manga_summary_text" motion:layout_constraintEnd_toEndOf="parent"
motion:layout_constraintStart_toStartOf="parent" motion:layout_constraintStart_toStartOf="parent"
motion:layout_constraintTop_toBottomOf="@+id/manga_summary_text"
motion:visibilityMode="ignore" /> motion:visibilityMode="ignore" />
<Constraint <Constraint
android:id="@+id/manga_genres_tags_full_chips" android:id="@+id/manga_genres_tags_full_chips"
motion:layout_constraintEnd_toEndOf="parent"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:visibility="visible"
android:layout_marginEnd="16dp"
motion:layout_constraintTop_toBottomOf="@+id/manga_info_toggle_less"
android:layout_marginStart="16dp" android:layout_marginStart="16dp"
android:layout_marginEnd="16dp"
android:visibility="visible"
motion:layout_constraintEnd_toEndOf="parent"
motion:layout_constraintStart_toStartOf="parent" motion:layout_constraintStart_toStartOf="parent"
motion:layout_constraintTop_toBottomOf="@+id/manga_info_toggle_less"
motion:visibilityMode="ignore" /> motion:visibilityMode="ignore" />
</ConstraintSet> </ConstraintSet>
</MotionScene> </MotionScene>