mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-15 19:27:31 +00:00
e78135f85a
location is bugged, does affect visually but should not affect use
86 lines
3.6 KiB
XML
Executable File
86 lines
3.6 KiB
XML
Executable File
<?xml version="1.0" encoding="utf-8"?>
|
|
<merge 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"
|
|
tools:parentTag="androidx.constraintlayout.widget.ConstraintLayout">
|
|
|
|
<awais.instagrabber.customviews.ProfilePicView
|
|
android:id="@+id/profile_pic"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_margin="12dp"
|
|
android:transitionName="profile_pic"
|
|
app:layout_constraintBottom_toTopOf="@id/top_barrier"
|
|
app:layout_constraintEnd_toStartOf="@id/title"
|
|
app:layout_constraintHorizontal_bias="0"
|
|
app:layout_constraintHorizontal_chainStyle="packed"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toTopOf="parent"
|
|
app:size="regular" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/title"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="marquee"
|
|
android:singleLine="true"
|
|
android:textAppearance="@style/TextAppearance.MaterialComponents.Headline6"
|
|
app:layout_constrainedWidth="true"
|
|
app:layout_constraintBottom_toTopOf="@id/subtitle"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toEndOf="@id/profile_pic"
|
|
app:layout_constraintTop_toTopOf="@id/profile_pic"
|
|
tools:text="Username Username Username" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/subtitle"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:ellipsize="end"
|
|
android:singleLine="true"
|
|
android:textAppearance="@style/TextAppearance.MaterialComponents.Subtitle1"
|
|
app:layout_constraintBottom_toBottomOf="@id/profile_pic"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toStartOf="@id/title"
|
|
app:layout_constraintTop_toBottomOf="@id/title"
|
|
tools:text="Full name Full name Full name Full name Full name Full name Full name "
|
|
tools:visibility="gone" />
|
|
|
|
<androidx.constraintlayout.widget.Barrier
|
|
android:id="@+id/top_barrier"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
app:barrierAllowsGoneWidgets="true"
|
|
app:barrierDirection="bottom"/>
|
|
|
|
<com.google.android.material.button.MaterialButton
|
|
android:id="@+id/location"
|
|
style="?borderlessButtonStyle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="16dp"
|
|
android:layout_marginEnd="16dp"
|
|
android:elevation="0dp"
|
|
android:ellipsize="end"
|
|
android:insetTop="0dp"
|
|
android:insetBottom="0dp"
|
|
android:maxWidth="200dp"
|
|
android:maxLines="1"
|
|
android:minHeight="32dp"
|
|
android:paddingStart="8dp"
|
|
android:paddingEnd="8dp"
|
|
android:textAlignment="viewStart"
|
|
android:textAllCaps="false"
|
|
android:textColor="@android:color/white"
|
|
android:visibility="gone"
|
|
app:backgroundTint="@color/black_a50"
|
|
app:elevation="0dp"
|
|
app:icon="@drawable/ic_round_location_on_24"
|
|
app:iconSize="16dp"
|
|
app:iconTint="@color/white"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/top_barrier"
|
|
app:rippleColor="@color/grey_600"
|
|
tools:text="Location, Location, Location, Location, "
|
|
tools:visibility="visible" />
|
|
</merge> |