Browse Source

fix #443

renovate/org.robolectric-robolectric-4.x
Austin Huang 4 years ago
parent
commit
836e84e91e
No known key found for this signature in database GPG Key ID: 84C23AA04587A91F
  1. 10
      app/src/main/res/layout/item_suggestion.xml
  2. 15
      app/src/main/res/layout/layout_profile_details.xml

10
app/src/main/res/layout/item_suggestion.xml

@ -7,9 +7,9 @@
android:background="?selectableItemBackground"
android:clickable="true"
android:focusable="true"
android:paddingLeft="16dp"
android:paddingStart="16dp"
android:paddingTop="8dp"
android:paddingRight="16dp"
android:paddingEnd="16dp"
android:paddingBottom="8dp">
<com.facebook.drawee.view.SimpleDraweeView
@ -17,8 +17,6 @@
android:layout_width="40dp"
android:layout_height="40dp"
app:actualImageScaleType="centerCrop"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@id/tvUsername"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:roundAsCircle="true"
@ -30,9 +28,7 @@
android:layout_height="0dp"
android:gravity="center_vertical"
android:paddingStart="16dp"
android:paddingLeft="16dp"
android:paddingEnd="4dp"
android:paddingRight="4dp"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
app:layout_constraintBottom_toTopOf="@id/tvFullName"
app:layout_constraintEnd_toStartOf="@id/isVerified"
@ -46,9 +42,7 @@
android:layout_height="0dp"
android:gravity="center_vertical"
android:paddingStart="16dp"
android:paddingLeft="16dp"
android:paddingEnd="0dp"
android:paddingRight="0dp"
android:textAppearance="@style/TextAppearance.AppCompat.Body2"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"

15
app/src/main/res/layout/layout_profile_details.xml

@ -30,9 +30,7 @@
android:gravity="center"
android:visibility="gone"
app:chipBackgroundColor="@null"
app:layout_constraintBottom_toTopOf="@id/mainFollowers"
app:layout_constraintStart_toEndOf="@id/mainProfileImage"
app:layout_constraintTop_toTopOf="@id/mainProfileImage"
tools:text="35 Posts"
tools:visibility="visible" />
@ -45,8 +43,8 @@
android:gravity="center"
android:visibility="gone"
app:chipBackgroundColor="@null"
app:layout_constraintBottom_toTopOf="@id/mainFollowers"
app:layout_constraintStart_toEndOf="@id/mainPostCount"
app:layout_constraintTop_toTopOf="@id/mainPostCount"
app:rippleColor="@color/grey_400"
tools:text="10 Following"
tools:visibility="visible" />
@ -60,7 +58,6 @@
android:gravity="center"
android:visibility="gone"
app:chipBackgroundColor="@null"
app:layout_constraintBottom_toTopOf="@id/fav_chip"
app:layout_constraintStart_toEndOf="@id/mainProfileImage"
app:layout_constraintTop_toBottomOf="@id/mainPostCount"
app:rippleColor="@color/grey_400"
@ -76,9 +73,8 @@
android:gravity="center"
android:visibility="gone"
app:chipBackgroundColor="@null"
app:layout_constraintBottom_toTopOf="@id/fav_chip"
app:layout_constraintStart_toEndOf="@id/mainFollowers"
app:layout_constraintTop_toBottomOf="@id/mainPostCount"
app:layout_constraintTop_toTopOf="@id/mainFollowers"
tools:text="omg what do u expect"
tools:visibility="visible" />
@ -92,7 +88,6 @@
app:chipBackgroundColor="@null"
app:chipIcon="@drawable/ic_outline_star_plus_24"
app:chipIconTint="@color/yellow_800"
app:layout_constraintBottom_toBottomOf="@id/mainProfileImage"
app:layout_constraintStart_toEndOf="@id/mainProfileImage"
app:layout_constraintTop_toBottomOf="@id/mainFollowers"
app:rippleColor="@color/yellow_400"
@ -108,9 +103,8 @@
app:chipBackgroundColor="@null"
app:chipIcon="@drawable/ic_outline_person_pin_24"
app:chipIconTint="@color/deep_orange_800"
app:layout_constraintBottom_toBottomOf="@id/fav_chip"
app:layout_constraintStart_toEndOf="@id/fav_chip"
app:layout_constraintTop_toBottomOf="@id/mainFollowers"
app:layout_constraintTop_toTopOf="@id/fav_chip"
app:rippleColor="@color/deep_orange_400"
tools:visibility="visible" />
@ -170,7 +164,7 @@
android:id="@+id/mainBiography"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:padding="8dp"
android:background="?android:selectableItemBackground"
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
app:layout_constraintBottom_toTopOf="@id/mainUrl"
@ -243,7 +237,6 @@
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"

Loading…
Cancel
Save