Skip to content

Commit

Permalink
Fix some layout issues
Browse files Browse the repository at this point in the history
  • Loading branch information
petabyt committed Jul 26, 2023
1 parent 3682a09 commit f50439e
Showing 1 changed file with 46 additions and 13 deletions.
59 changes: 46 additions & 13 deletions app/src/main/res/layout/activity_gallery.xml
Original file line number Diff line number Diff line change
Expand Up @@ -6,26 +6,60 @@
android:layout_height="match_parent"
tools:context=".Gallery">

<LinearLayout
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/constraintLayout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
android:layout_height="wrap_content"
android:background="@color/cardview_dark_background"
app:layout_constraintTop_toTopOf="parent">

<LinearLayout
android:layout_width="match_parent"
android:id="@+id/linearLayout3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@color/cardview_dark_background"
android:orientation="vertical"
android:padding="3dp">
android:layout_marginStart="10dp"
android:layout_marginLeft="5dp"
android:orientation="horizontal"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">

<TextView
android:id="@+id/textView5"
android:id="@+id/textView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_height="match_parent"
android:layout_weight="1"
android:text="Gallery"
android:textSize="24sp" />
</LinearLayout>

<LinearLayout
android:id="@+id/linearLayout2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent">

<Button
android:id="@+id/button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:text="blow up camera" />

</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

<LinearLayout
android:layout_width="0dp"
android:layout_height="0dp"
android:orientation="vertical"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/constraintLayout">

<TextView
android:id="@+id/gallery_logs"
android:layout_width="match_parent"
Expand All @@ -37,11 +71,10 @@
android:id="@+id/galleryView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="#3B493A"
tools:layout_editor_absoluteX="8dp"
tools:layout_editor_absoluteY="16dp">
android:background="#3B493A">

</androidx.recyclerview.widget.RecyclerView>

</LinearLayout>

</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

0 comments on commit f50439e

Please sign in to comment.