mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-15 11:17:30 +00:00
343b2cf9d7
Remove left over images DM update (WIP) Update DM module. (WIP) Update DM module. (WIP)
184 lines
7.7 KiB
XML
184 lines
7.7 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:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/black">
|
|
|
|
<awais.instagrabber.customviews.drawee.ZoomableDraweeView
|
|
android:id="@+id/preview"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:transitionName="preview"
|
|
android:visibility="gone"
|
|
app:actualImageScaleType="fitCenter"
|
|
tools:background="@mipmap/ic_launcher"
|
|
tools:visibility="visible" />
|
|
|
|
<androidx.fragment.app.FragmentContainerView
|
|
android:id="@+id/fragment_container_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
app:layout_constraintBottom_toTopOf="@id/bottom_barrier"
|
|
app:layout_constraintTop_toTopOf="parent" />
|
|
|
|
<androidx.constraintlayout.widget.Barrier
|
|
android:id="@+id/bottom_barrier"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
app:barrierDirection="top" />
|
|
|
|
<View
|
|
android:layout_width="match_parent"
|
|
android:layout_height="0dp"
|
|
android:background="@color/black_a50"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintTop_toTopOf="@id/bottom_barrier" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/cancel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="0dp"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:foreground="?selectableItemBackgroundBorderless"
|
|
android:gravity="center"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="16dp"
|
|
android:text="Cancel"
|
|
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
|
|
android:textColor="@color/white"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/bottom_barrier" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/done"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="0dp"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:foreground="?selectableItemBackgroundBorderless"
|
|
android:gravity="center"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="16dp"
|
|
android:text="Done"
|
|
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
|
|
android:textColor="@color/white"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/bottom_barrier" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/crop"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:scaleType="centerInside"
|
|
android:visibility="visible"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toStartOf="@id/tune"
|
|
app:layout_constraintHorizontal_chainStyle="packed"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/bottom_barrier"
|
|
app:srcCompat="@drawable/ic_round_crop_24"
|
|
app:tint="@color/image_edit_tab_tint" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/tune"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:scaleType="centerInside"
|
|
android:visibility="visible"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toStartOf="@id/filters"
|
|
app:layout_constraintStart_toEndOf="@id/crop"
|
|
app:layout_constraintTop_toBottomOf="@id/bottom_barrier"
|
|
app:srcCompat="@drawable/ic_round_tune_24"
|
|
app:tint="@color/image_edit_tab_tint" />
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
android:id="@+id/filters"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:scaleType="centerInside"
|
|
android:visibility="visible"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toEndOf="@id/tune"
|
|
app:layout_constraintTop_toBottomOf="@id/bottom_barrier"
|
|
app:srcCompat="@drawable/ic_photo_filter"
|
|
app:tint="@color/image_edit_tab_tint" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/crop_cancel"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="48dp"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:foreground="?selectableItemBackgroundBorderless"
|
|
android:gravity="center"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="16dp"
|
|
android:text="@string/cancel"
|
|
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
|
|
android:textColor="@color/white"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toStartOf="@id/crop_reset"
|
|
app:layout_constraintHorizontal_chainStyle="spread_inside"
|
|
app:layout_constraintStart_toStartOf="parent"
|
|
app:layout_constraintTop_toBottomOf="@id/bottom_barrier" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/crop_reset"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="48dp"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:foreground="?selectableItemBackgroundBorderless"
|
|
android:gravity="center"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="16dp"
|
|
android:text="@string/reset"
|
|
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
|
|
android:textColor="@color/white"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toStartOf="@id/crop_done"
|
|
app:layout_constraintStart_toEndOf="@id/crop_cancel"
|
|
app:layout_constraintTop_toBottomOf="@id/bottom_barrier" />
|
|
|
|
<androidx.appcompat.widget.AppCompatTextView
|
|
android:id="@+id/crop_done"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="48dp"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:foreground="?selectableItemBackgroundBorderless"
|
|
android:gravity="center"
|
|
android:paddingStart="16dp"
|
|
android:paddingEnd="16dp"
|
|
android:text="@string/crop"
|
|
android:textAppearance="@style/TextAppearance.MaterialComponents.Body1"
|
|
android:textColor="@color/white"
|
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
app:layout_constraintEnd_toEndOf="parent"
|
|
app:layout_constraintStart_toEndOf="@id/crop_reset"
|
|
app:layout_constraintTop_toBottomOf="@id/bottom_barrier" />
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
android:id="@+id/result_bottom_controls"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:visibility="gone"
|
|
app:constraint_referenced_ids="cancel, done, crop, tune, filters"
|
|
tools:visibility="visible" />
|
|
|
|
<androidx.constraintlayout.widget.Group
|
|
android:id="@+id/crop_bottom_controls"
|
|
android:layout_width="0dp"
|
|
android:layout_height="0dp"
|
|
android:visibility="gone"
|
|
app:constraint_referenced_ids="crop_cancel, crop_done, crop_reset"
|
|
tools:visibility="gone" />
|
|
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |