2020-11-14 18:58:27 +00:00
|
|
|
<?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:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:animateLayoutChanges="true"
|
2021-05-07 11:34:31 +00:00
|
|
|
android:background="?toolbarColor"
|
2020-11-14 18:58:27 +00:00
|
|
|
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"
|
2021-03-22 22:04:45 +00:00
|
|
|
app:layout_constraintEnd_toStartOf="@id/btnMap"
|
2020-11-14 18:58:27 +00:00
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
|
|
tools:background="@mipmap/ic_launcher" />
|
|
|
|
|
2021-05-07 11:34:31 +00:00
|
|
|
<!-- <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" />-->
|
2020-11-14 18:58:27 +00:00
|
|
|
|
|
|
|
<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_constraintStart_toEndOf="@id/mainLocationImage"
|
2021-05-07 11:34:31 +00:00
|
|
|
app:layout_constraintTop_toTopOf="@id/mainLocationImage"
|
2020-11-14 18:58:27 +00:00
|
|
|
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"
|
2021-03-22 22:04:45 +00:00
|
|
|
app:layout_constraintStart_toEndOf="@id/mainLocationImage"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/btnMap"
|
2020-11-14 18:58:27 +00:00
|
|
|
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" />
|
|
|
|
|
2021-01-05 20:06:34 +00:00
|
|
|
<awais.instagrabber.customviews.RamboTextViewV2
|
2020-11-14 18:58:27 +00:00
|
|
|
android:id="@+id/locationBiography"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?android:selectableItemBackground"
|
2021-05-07 11:34:31 +00:00
|
|
|
android:padding="8dp"
|
2020-11-14 18:58:27 +00:00
|
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Body1"
|
2021-03-22 22:04:45 +00:00
|
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
2020-11-14 18:58:27 +00:00
|
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
|
|
app:layout_constraintTop_toBottomOf="@id/locationFullName"
|
2021-01-05 20:06:34 +00:00
|
|
|
tools:text="IN THE MIDDLE OF OUR STREET" />
|
2020-11-14 18:58:27 +00:00
|
|
|
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout>
|