52 lines
No EOL
2.1 KiB
XML
52 lines
No EOL
2.1 KiB
XML
<?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:orientation="vertical"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:padding="8dp"
|
|
android:background="#0000">
|
|
|
|
<ImageView
|
|
android:id="@+id/ivMarkerPin"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
tools:src="@drawable/ic_merchant_pin"
|
|
app:layout_constraintDimensionRatio="h1,1"
|
|
app:layout_constraintTop_toTopOf="@id/tvName"
|
|
app:layout_constraintBottom_toBottomOf="@id/tvAddress"
|
|
app:layout_constraintStart_toStartOf="parent"/>
|
|
|
|
<TextView
|
|
android:id="@+id/tvName"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="4dp"
|
|
tools:text="Bambuddha Holistic Center"
|
|
android:textAppearance="@style/TextAppearance.Bitsy.Body1"
|
|
android:maxLines="1"
|
|
android:ellipsize="end"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:layout_constraintStart_toEndOf="@id/ivMarkerPin"
|
|
app:layout_constraintEnd_toEndOf="parent"/>
|
|
|
|
<cy.agorise.bitsybitshareswallet.views.AutoScrollingTextView
|
|
android:id="@+id/tvAddress"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="4dp"
|
|
android:layout_marginStart="4dp"
|
|
android:layout_marginEnd="4dp"
|
|
tools:text="Carretera, Barra Vieja Km 37, 39936 Acapulco, Gro."
|
|
android:textAppearance="@style/TextAppearance.Bitsy.Body2"
|
|
android:singleLine="true"
|
|
android:ellipsize="marquee"
|
|
android:marqueeRepeatLimit="marquee_forever"
|
|
android:scrollHorizontally="true"
|
|
app:layout_constraintTop_toBottomOf="@id/tvName"
|
|
app:layout_constraintStart_toEndOf="@id/ivMarkerPin"
|
|
app:layout_constraintEnd_toEndOf="parent"/>
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |