mirror of
https://github.com/KokaKiwi/BarInsta
synced 2026-03-14 08:21:35 +00:00
Migrate ProfileFragment to kotlin and use viewmodel
This commit is contained in:
parent
bdad254f5d
commit
27d919e6b2
30 changed files with 2024 additions and 1620 deletions
28
app/src/main/res/xml/profile_fragment_no_acc_layout.xml
Normal file
28
app/src/main/res/xml/profile_fragment_no_acc_layout.xml
Normal file
|
|
@ -0,0 +1,28 @@
|
|||
<?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">
|
||||
<ConstraintSet android:id="@+id/start">
|
||||
<Constraint
|
||||
android:id="@+id/header"
|
||||
android:visibility="gone" />
|
||||
<Constraint
|
||||
android:id="@+id/privatePage"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="visible" />
|
||||
<Constraint
|
||||
android:id="@+id/swipe_refresh_layout"
|
||||
android:visibility="gone" />
|
||||
</ConstraintSet>
|
||||
<ConstraintSet
|
||||
android:id="@+id/end"
|
||||
motion:deriveConstraintsFrom="@id/start">
|
||||
<Constraint android:id="@+id/header" />
|
||||
<Constraint android:id="@+id/privatePage" />
|
||||
<Constraint android:id="@+id/swipe_refresh_layout" />
|
||||
</ConstraintSet>
|
||||
<Transition
|
||||
android:id="@+id/transition"
|
||||
motion:constraintSetEnd="@+id/end"
|
||||
motion:constraintSetStart="@+id/start" />
|
||||
</MotionScene>
|
||||
Loading…
Add table
Add a link
Reference in a new issue