Skip to content

Commit

Permalink
Tweak nearby list layout
Browse files Browse the repository at this point in the history
  • Loading branch information
Pygmalion69 committed Mar 10, 2019
1 parent 5281749 commit c8f34e7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 10 deletions.
9 changes: 3 additions & 6 deletions app/src/main/res/layout/fragment_nearby.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,8 @@
android:id="@+id/nearby_recycler_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginEnd="8dp"
android:layout_marginBottom="8dp"
android:scrollbars="none"
/>
android:clipToPadding="false"
android:padding="8dp"
android:scrollbars="none" />

</FrameLayout>
7 changes: 3 additions & 4 deletions app/src/main/res/layout/nearby_item.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,13 +12,13 @@
android:id="@+id/ivThumb"
android:layout_width="60dp"
android:layout_height="60dp"
android:layout_marginStart="16dp"
android:layout_marginStart="8dp"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
app:layout_constraintBottom_toTopOf="@id/divider"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
app:srcCompat="@drawable/ic_default_marker"
app:srcCompat="@drawable/ic_place"
tools:ignore="ContentDescription" />

<TextView
Expand Down Expand Up @@ -54,7 +54,6 @@
android:id="@+id/divider"
android:layout_width="0dp"
android:layout_height="1dp"
android:layout_marginStart="16dp"
android:background="?android:attr/listDivider"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
Expand All @@ -65,8 +64,8 @@
android:id="@+id/ivMap"
android:layout_width="wrap_content"
android:layout_height="0dp"
android:paddingRight="8dp"
android:paddingLeft="8dp"
android:paddingRight="8dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent"
Expand Down

0 comments on commit c8f34e7

Please sign in to comment.