Browse Source
Put collapsing toolbar layout views in the main layout to improve scroll behaviour.
Put collapsing toolbar layout views in the main layout to improve scroll behaviour.
This removes the spaghetti required to make scroll behaviours work.renovate/org.robolectric-robolectric-4.x
Ammar Githam
4 years ago
22 changed files with 730 additions and 789 deletions
-
84app/src/main/java/awais/instagrabber/activities/MainActivity.java
-
7app/src/main/java/awais/instagrabber/asyncs/direct_messages/InboxFetcher.java
-
69app/src/main/java/awais/instagrabber/fragments/HashTagFragment.java
-
84app/src/main/java/awais/instagrabber/fragments/LocationFragment.java
-
43app/src/main/java/awais/instagrabber/fragments/SavedViewerFragment.java
-
4app/src/main/java/awais/instagrabber/fragments/TopicPostsFragment.java
-
4app/src/main/java/awais/instagrabber/fragments/directmessages/DirectMessageInboxFragment.java
-
36app/src/main/java/awais/instagrabber/fragments/main/FeedFragment.java
-
150app/src/main/java/awais/instagrabber/fragments/main/ProfileFragment.java
-
23app/src/main/java/awais/instagrabber/utils/Utils.java
-
8app/src/main/res/layout/activity_main.xml
-
4app/src/main/res/layout/fragment_direct_messages_inbox.xml
-
1app/src/main/res/layout/fragment_direct_messages_thread.xml
-
25app/src/main/res/layout/fragment_discover.xml
-
34app/src/main/res/layout/fragment_feed.xml
-
78app/src/main/res/layout/fragment_hashtag.xml
-
139app/src/main/res/layout/fragment_location.xml
-
281app/src/main/res/layout/fragment_profile.xml
-
4app/src/main/res/layout/fragment_topic_posts.xml
-
63app/src/main/res/layout/layout_hashtag_details.xml
-
123app/src/main/res/layout/layout_location_details.xml
-
255app/src/main/res/layout/layout_profile_details.xml
@ -0,0 +1,63 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/tagInfoContainer" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:layout_marginTop="?attr/actionBarSize" |
|||
android:padding="@dimen/profile_info_container_bottom_space"> |
|||
|
|||
<awais.instagrabber.customviews.CircularImageView |
|||
android:id="@+id/mainHashtagImage" |
|||
android:layout_width="@dimen/profile_picture_size" |
|||
android:layout_height="@dimen/profile_picture_size" |
|||
android:background="?selectableItemBackgroundBorderless" |
|||
app:layout_constraintBottom_toBottomOf="parent" |
|||
app:layout_constraintEnd_toStartOf="@id/mainTagPostCount" |
|||
app:layout_constraintStart_toStartOf="parent" |
|||
app:layout_constraintTop_toTopOf="parent" |
|||
tools:background="@mipmap/ic_launcher" /> |
|||
|
|||
<androidx.appcompat.widget.AppCompatTextView |
|||
android:id="@+id/mainTagPostCount" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="0dp" |
|||
android:gravity="center" |
|||
android:padding="8dp" |
|||
android:textAppearance="@style/TextAppearance.AppCompat" |
|||
app:layout_constraintBottom_toTopOf="@id/fav_chip" |
|||
app:layout_constraintStart_toEndOf="@id/mainHashtagImage" |
|||
app:layout_constraintTop_toTopOf="@id/mainHashtagImage" |
|||
tools:text="35 Posts" /> |
|||
|
|||
<com.google.android.material.chip.Chip |
|||
android:id="@+id/btnFollowTag" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_marginStart="8dp" |
|||
android:text="@string/follow" |
|||
android:visibility="gone" |
|||
app:chipBackgroundColor="@null" |
|||
app:chipIcon="@drawable/ic_outline_person_add_24" |
|||
app:chipIconTint="@color/deep_purple_800" |
|||
app:layout_constraintBottom_toBottomOf="@id/mainHashtagImage" |
|||
app:layout_constraintStart_toEndOf="@id/mainHashtagImage" |
|||
app:layout_constraintTop_toBottomOf="@id/mainTagPostCount" |
|||
app:rippleColor="@color/purple_200" /> |
|||
|
|||
<com.google.android.material.chip.Chip |
|||
android:id="@+id/fav_chip" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_marginStart="8dp" |
|||
android:text="@string/add_to_favorites" |
|||
android:visibility="gone" |
|||
app:chipBackgroundColor="@null" |
|||
app:chipIcon="@drawable/ic_outline_star_plus_24" |
|||
app:chipIconTint="@color/yellow_800" |
|||
app:layout_constraintBottom_toBottomOf="@id/mainHashtagImage" |
|||
app:layout_constraintStart_toEndOf="@id/btnFollowTag" |
|||
app:layout_constraintTop_toBottomOf="@id/mainTagPostCount" |
|||
app:rippleColor="@color/yellow_400" /> |
|||
</androidx.constraintlayout.widget.ConstraintLayout> |
@ -0,0 +1,123 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/locInfoContainer" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:layout_marginTop="?attr/actionBarSize" |
|||
android:animateLayoutChanges="true" |
|||
android:padding="8dp"> |
|||
|
|||
<awais.instagrabber.customviews.CircularImageView |
|||
android:id="@+id/mainLocationImage" |
|||
android:layout_width="@dimen/profile_picture_size" |
|||
android:layout_height="@dimen/profile_picture_size" |
|||
android:background="?selectableItemBackgroundBorderless" |
|||
app:actualImageScaleType="centerCrop" |
|||
app:layout_constraintEnd_toStartOf="@id/mainLocPostCount" |
|||
app:layout_constraintStart_toStartOf="parent" |
|||
app:layout_constraintTop_toTopOf="parent" |
|||
tools:background="@mipmap/ic_launcher" /> |
|||
|
|||
<androidx.appcompat.widget.AppCompatTextView |
|||
android:id="@+id/mainLocPostCount" |
|||
android:layout_width="0dp" |
|||
android:layout_height="0dp" |
|||
android:gravity="center_vertical" |
|||
android:maxLines="1" |
|||
android:paddingStart="12dp" |
|||
android:paddingEnd="12dp" |
|||
android:textAppearance="@style/TextAppearance.AppCompat" |
|||
app:layout_constraintBottom_toTopOf="@id/btnMap" |
|||
app:layout_constraintEnd_toEndOf="parent" |
|||
app:layout_constraintStart_toEndOf="@id/mainLocationImage" |
|||
app:layout_constraintTop_toTopOf="parent" |
|||
tools:text="35 Posts" /> |
|||
|
|||
<com.google.android.material.chip.Chip |
|||
android:id="@+id/btnMap" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_marginStart="8dp" |
|||
android:text="@string/map" |
|||
app:chipBackgroundColor="@null" |
|||
app:chipIcon="@drawable/ic_outline_map_24" |
|||
app:chipIconTint="@color/green_500" |
|||
app:layout_constraintBottom_toTopOf="@id/locationFullName" |
|||
app:layout_constraintStart_toEndOf="@id/mainLocationImage" |
|||
app:layout_constraintTop_toBottomOf="@id/mainLocPostCount" |
|||
app:rippleColor="@color/grey_500" |
|||
tools:visibility="visible" /> |
|||
|
|||
<com.google.android.material.chip.Chip |
|||
android:id="@+id/fav_chip" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:layout_marginStart="8dp" |
|||
android:text="@string/add_to_favorites" |
|||
app:chipBackgroundColor="@null" |
|||
app:chipIcon="@drawable/ic_outline_star_plus_24" |
|||
app:chipIconTint="@color/yellow_800" |
|||
app:layout_constraintBottom_toBottomOf="@id/mainLocationImage" |
|||
app:layout_constraintStart_toEndOf="@id/btnMap" |
|||
app:layout_constraintTop_toBottomOf="@id/mainLocPostCount" |
|||
app:rippleColor="@color/yellow_400" /> |
|||
|
|||
<androidx.appcompat.widget.AppCompatTextView |
|||
android:id="@+id/locationFullName" |
|||
android:layout_width="0dp" |
|||
android:layout_height="wrap_content" |
|||
android:ellipsize="marquee" |
|||
android:paddingStart="8dp" |
|||
android:paddingLeft="8dp" |
|||
android:paddingTop="4dp" |
|||
android:paddingEnd="8dp" |
|||
android:paddingRight="8dp" |
|||
android:singleLine="true" |
|||
android:textAppearance="@style/TextAppearance.AppCompat.Body1" |
|||
android:textStyle="bold" |
|||
app:layout_constraintBottom_toTopOf="@id/locationBiography" |
|||
app:layout_constraintEnd_toEndOf="parent" |
|||
app:layout_constraintStart_toStartOf="parent" |
|||
app:layout_constraintTop_toBottomOf="@id/mainLocationImage" |
|||
tools:text="OUR HOUSE" /> |
|||
|
|||
<awais.instagrabber.customviews.RamboTextView |
|||
android:id="@+id/locationBiography" |
|||
android:layout_width="0dp" |
|||
android:layout_height="wrap_content" |
|||
android:layout_below="@id/locationFullName" |
|||
android:background="?android:selectableItemBackground" |
|||
android:paddingStart="8dp" |
|||
android:paddingLeft="8dp" |
|||
android:paddingEnd="8dp" |
|||
android:paddingRight="8dp" |
|||
android:textAppearance="@style/TextAppearance.AppCompat.Body1" |
|||
android:visibility="gone" |
|||
app:layout_constraintBottom_toTopOf="@id/locationUrl" |
|||
app:layout_constraintEnd_toEndOf="parent" |
|||
app:layout_constraintStart_toStartOf="parent" |
|||
app:layout_constraintTop_toBottomOf="@id/locationFullName" |
|||
tools:text="IN THE MIDDLE OF OUR STREET" |
|||
tools:visibility="visible" /> |
|||
|
|||
<awais.instagrabber.customviews.RamboTextView |
|||
android:id="@+id/locationUrl" |
|||
android:layout_width="0dp" |
|||
android:layout_height="wrap_content" |
|||
android:layout_below="@id/locationBiography" |
|||
android:ellipsize="marquee" |
|||
android:paddingStart="8dp" |
|||
android:paddingLeft="8dp" |
|||
android:paddingEnd="8dp" |
|||
android:paddingRight="8dp" |
|||
android:textAppearance="@style/TextAppearance.AppCompat.Body1" |
|||
android:visibility="gone" |
|||
app:layout_constraintBottom_toBottomOf="parent" |
|||
app:layout_constraintEnd_toEndOf="parent" |
|||
app:layout_constraintStart_toStartOf="parent" |
|||
app:layout_constraintTop_toBottomOf="@id/locationBiography" |
|||
tools:text="https://austinhuang.me/" |
|||
tools:visibility="visible" /> |
|||
</androidx.constraintlayout.widget.ConstraintLayout> |
@ -0,0 +1,255 @@ |
|||
<?xml version="1.0" encoding="utf-8"?> |
|||
<androidx.constraintlayout.widget.ConstraintLayout 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:id="@+id/infoContainer" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:layout_marginTop="?attr/actionBarSize"> |
|||
|
|||
<awais.instagrabber.customviews.CircularImageView |
|||
android:id="@+id/mainProfileImage" |
|||
android:layout_width="@dimen/profile_picture_size" |
|||
android:layout_height="@dimen/profile_picture_size" |
|||
android:layout_marginStart="8dp" |
|||
android:layout_marginTop="8dp" |
|||
android:transitionName="profile_pic" |
|||
app:actualImageScaleType="centerCrop" |
|||
app:layout_constraintEnd_toStartOf="@id/mainPostCount" |
|||
app:layout_constraintStart_toStartOf="parent" |
|||
app:layout_constraintTop_toTopOf="parent" |
|||
tools:background="@mipmap/ic_launcher" /> |
|||
|
|||
<androidx.appcompat.widget.AppCompatTextView |
|||
android:id="@+id/mainPostCount" |
|||
android:layout_width="0dp" |
|||
android:layout_height="0dp" |
|||
android:gravity="center" |
|||
android:textAppearance="@style/TextAppearance.AppCompat" |
|||
app:layout_constraintBottom_toBottomOf="@id/mainProfileImage" |
|||
app:layout_constraintEnd_toStartOf="@id/mainFollowers" |
|||
app:layout_constraintStart_toEndOf="@id/mainProfileImage" |
|||
app:layout_constraintTop_toTopOf="parent" |
|||
tools:text="35\nPosts" /> |
|||
|
|||
<androidx.appcompat.widget.AppCompatTextView |
|||
android:id="@+id/mainFollowers" |
|||
android:layout_width="0dp" |
|||
android:layout_height="0dp" |
|||
android:background="?selectableItemBackgroundBorderless" |
|||
android:gravity="center" |
|||
android:textAppearance="@style/TextAppearance.AppCompat" |
|||
app:layout_constraintBottom_toBottomOf="@id/mainProfileImage" |
|||
app:layout_constraintEnd_toStartOf="@id/mainFollowing" |
|||
app:layout_constraintStart_toEndOf="@id/mainPostCount" |
|||
app:layout_constraintTop_toTopOf="parent" |
|||
tools:text="68\nFollowers" /> |
|||
|
|||
<androidx.appcompat.widget.AppCompatTextView |
|||
android:id="@+id/mainFollowing" |
|||
android:layout_width="0dp" |
|||
android:layout_height="0dp" |
|||
android:background="?selectableItemBackgroundBorderless" |
|||
android:gravity="center" |
|||
android:textAppearance="@style/TextAppearance.AppCompat" |
|||
app:layout_constraintBottom_toBottomOf="@id/mainProfileImage" |
|||
app:layout_constraintEnd_toEndOf="parent" |
|||
app:layout_constraintStart_toEndOf="@id/mainFollowers" |
|||
app:layout_constraintTop_toTopOf="parent" |
|||
tools:text="64\nFollowing" /> |
|||
|
|||
<androidx.appcompat.widget.AppCompatTextView |
|||
android:id="@+id/mainFullName" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:ellipsize="marquee" |
|||
android:paddingStart="8dp" |
|||
android:paddingTop="8dp" |
|||
android:paddingEnd="4dp" |
|||
android:singleLine="true" |
|||
android:textAppearance="@style/TextAppearance.AppCompat.Body1" |
|||
android:textStyle="bold" |
|||
app:layout_constraintStart_toStartOf="parent" |
|||
app:layout_constraintTop_toBottomOf="@id/mainProfileImage" |
|||
tools:text="Austin Huang" /> |
|||
|
|||
<androidx.appcompat.widget.AppCompatImageView |
|||
android:id="@+id/isVerified" |
|||
android:layout_width="30dp" |
|||
android:layout_height="match_parent" |
|||
android:layout_gravity="center" |
|||
android:adjustViewBounds="true" |
|||
android:paddingTop="8dp" |
|||
android:scaleType="fitCenter" |
|||
android:visibility="gone" |
|||
app:layout_constraintBottom_toBottomOf="@id/mainFullName" |
|||
app:layout_constraintStart_toEndOf="@id/mainFullName" |
|||
app:layout_constraintTop_toBottomOf="@id/mainProfileImage" |
|||
app:srcCompat="@drawable/verified" |
|||
tools:visibility="visible" /> |
|||
|
|||
<CheckBox |
|||
android:id="@+id/fav_cb" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
android:button="@drawable/sl_favourite_24" |
|||
android:visibility="gone" |
|||
app:buttonTint="@color/yellow_800" |
|||
app:layout_constraintBaseline_toBaselineOf="@id/mainFullName" |
|||
app:layout_constraintBottom_toTopOf="@id/mainBiography" |
|||
app:layout_constraintStart_toEndOf="@id/isVerified" /> |
|||
|
|||
<ProgressBar |
|||
android:id="@+id/fav_progress" |
|||
style="@style/Widget.MaterialComponents.ProgressIndicator.Circular.Indeterminate" |
|||
android:layout_width="24dp" |
|||
android:layout_height="24dp" |
|||
android:visibility="gone" |
|||
app:layout_constraintBottom_toBottomOf="@id/mainFullName" |
|||
app:layout_constraintStart_toEndOf="@id/isVerified" |
|||
app:layout_constraintTop_toTopOf="@id/mainFullName" |
|||
tools:visibility="gone" /> |
|||
|
|||
<awais.instagrabber.customviews.RamboTextViewV2 |
|||
android:id="@+id/mainBiography" |
|||
android:layout_width="0dp" |
|||
android:layout_height="wrap_content" |
|||
android:layout_margin="8dp" |
|||
android:background="?android:selectableItemBackground" |
|||
android:textAppearance="@style/TextAppearance.AppCompat.Body1" |
|||
app:layout_constraintBottom_toTopOf="@id/mainUrl" |
|||
app:layout_constraintEnd_toEndOf="parent" |
|||
app:layout_constraintStart_toStartOf="parent" |
|||
app:layout_constraintTop_toBottomOf="@id/mainFullName" |
|||
tools:text="THE GLORIOUS (step)OWNER OF THIS APP. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec id justo lorem. In malesuada feugiat ornare. Suspendisse et mauris imperdiet, luctus augue eget, tempus eros. Cras vitae molestie ipsum. " /> |
|||
|
|||
<awais.instagrabber.customviews.RamboTextViewV2 |
|||
android:id="@+id/mainUrl" |
|||
android:layout_width="match_parent" |
|||
android:layout_height="wrap_content" |
|||
android:layout_below="@id/mainBiography" |
|||
android:ellipsize="marquee" |
|||
android:padding="8dp" |
|||
android:textAppearance="@style/TextAppearance.AppCompat.Body1" |
|||
android:visibility="gone" |
|||
app:layout_constraintEnd_toEndOf="parent" |
|||
app:layout_constraintStart_toStartOf="parent" |
|||
app:layout_constraintTop_toBottomOf="@id/mainBiography" |
|||
tools:text="https://austinhuang.me/" |
|||
tools:textColor="@android:color/holo_blue_dark" |
|||
tools:visibility="visible" /> |
|||
|
|||
<com.google.android.material.button.MaterialButton |
|||
android:id="@+id/btnFollow" |
|||
style="@style/Widget.MaterialComponents.Button.TextButton" |
|||
android:layout_width="0dp" |
|||
android:layout_height="wrap_content" |
|||
android:text="@string/follow" |
|||
android:textColor="@color/deep_purple_200" |
|||
android:visibility="gone" |
|||
app:icon="@drawable/ic_outline_person_add_24" |
|||
app:iconGravity="top" |
|||
app:iconTint="@color/deep_purple_200" |
|||
app:layout_constraintBottom_toTopOf="@id/highlights_barrier" |
|||
app:layout_constraintEnd_toStartOf="@id/btnTagged" |
|||
app:layout_constraintStart_toStartOf="parent" |
|||
app:layout_constraintTop_toBottomOf="@id/mainUrl" |
|||
app:rippleColor="@color/purple_200" |
|||
tools:visibility="visible" /> |
|||
|
|||
<com.google.android.material.button.MaterialButton |
|||
android:id="@+id/btnTagged" |
|||
style="@style/Widget.MaterialComponents.Button.TextButton" |
|||
android:layout_width="0dp" |
|||
android:layout_height="wrap_content" |
|||
android:text="@string/tagged" |
|||
android:textColor="@color/deep_orange_600" |
|||
android:visibility="gone" |
|||
app:icon="@drawable/ic_outline_person_pin_24" |
|||
app:iconGravity="top" |
|||
app:iconTint="@color/deep_orange_600" |
|||
app:layout_constraintBottom_toTopOf="@id/highlights_barrier" |
|||
app:layout_constraintEnd_toStartOf="@id/btnSaved" |
|||
app:layout_constraintStart_toEndOf="@id/btnFollow" |
|||
app:layout_constraintTop_toBottomOf="@id/mainUrl" |
|||
tools:visibility="visible" /> |
|||
|
|||
<com.google.android.material.button.MaterialButton |
|||
android:id="@+id/btnSaved" |
|||
style="@style/Widget.MaterialComponents.Button.TextButton" |
|||
android:layout_width="0dp" |
|||
android:layout_height="wrap_content" |
|||
android:text="@string/saved" |
|||
android:textColor="@color/blue_700" |
|||
android:visibility="gone" |
|||
app:icon="@drawable/ic_outline_class_24" |
|||
app:iconGravity="top" |
|||
app:iconTint="@color/blue_700" |
|||
app:layout_constraintBottom_toTopOf="@id/highlights_barrier" |
|||
app:layout_constraintEnd_toStartOf="@id/btnLiked" |
|||
app:layout_constraintStart_toEndOf="@id/btnTagged" |
|||
app:layout_constraintTop_toBottomOf="@id/mainUrl" |
|||
app:rippleColor="@color/blue_A400" |
|||
tools:visibility="visible" /> |
|||
|
|||
<com.google.android.material.button.MaterialButton |
|||
android:id="@+id/btnLiked" |
|||
style="@style/Widget.MaterialComponents.Button.TextButton" |
|||
android:layout_width="0dp" |
|||
android:layout_height="wrap_content" |
|||
android:text="@string/liked" |
|||
android:textColor="@color/red_600" |
|||
android:visibility="gone" |
|||
app:icon="@drawable/ic_like" |
|||
app:iconGravity="top" |
|||
app:iconTint="@color/red_600" |
|||
app:layout_constraintBottom_toTopOf="@id/highlights_barrier" |
|||
app:layout_constraintEnd_toEndOf="parent" |
|||
app:layout_constraintEnd_toStartOf="@id/btnDM" |
|||
app:layout_constraintStart_toEndOf="@id/btnSaved" |
|||
app:layout_constraintTop_toBottomOf="@id/mainUrl" |
|||
app:rippleColor="@color/red_300" |
|||
tools:visibility="visible" /> |
|||
|
|||
<com.google.android.material.button.MaterialButton |
|||
android:id="@+id/btnDM" |
|||
style="@style/Widget.MaterialComponents.Button.TextButton" |
|||
android:layout_width="0dp" |
|||
android:layout_height="wrap_content" |
|||
android:text="@string/dm_person" |
|||
android:textColor="@color/green" |
|||
android:visibility="gone" |
|||
app:icon="@drawable/ic_send_24" |
|||
app:iconGravity="top" |
|||
app:iconTint="@color/green" |
|||
app:layout_constraintBottom_toTopOf="@id/highlights_barrier" |
|||
app:layout_constraintEnd_toEndOf="parent" |
|||
app:layout_constraintStart_toEndOf="@id/btnLiked" |
|||
app:layout_constraintTop_toBottomOf="@id/mainUrl" |
|||
app:rippleColor="@color/green" |
|||
tools:visibility="visible" /> |
|||
|
|||
<androidx.constraintlayout.widget.Barrier |
|||
android:id="@+id/highlights_barrier" |
|||
android:layout_width="wrap_content" |
|||
android:layout_height="wrap_content" |
|||
app:barrierDirection="bottom" |
|||
app:constraint_referenced_ids="btnTagged, btnSaved, btnLiked, btnFollow, btnDM" /> |
|||
|
|||
<androidx.recyclerview.widget.RecyclerView |
|||
android:id="@+id/highlightsList" |
|||
android:layout_width="0dp" |
|||
android:layout_height="wrap_content" |
|||
android:clipToPadding="false" |
|||
android:paddingStart="5dp" |
|||
android:paddingLeft="5dp" |
|||
android:paddingEnd="5dp" |
|||
android:paddingRight="5dp" |
|||
android:visibility="gone" |
|||
app:layout_constraintBottom_toBottomOf="parent" |
|||
app:layout_constraintEnd_toEndOf="parent" |
|||
app:layout_constraintStart_toStartOf="parent" |
|||
app:layout_constraintTop_toTopOf="@id/highlights_barrier" |
|||
tools:itemCount="2" |
|||
tools:visibility="visible" /> |
|||
</androidx.constraintlayout.widget.ConstraintLayout> |
Write
Preview
Loading…
Cancel
Save
Reference in new issue