Skip to content

Commit

Permalink
better slider layout
Browse files Browse the repository at this point in the history
  • Loading branch information
wysaid committed Oct 8, 2024
1 parent d3c7906 commit b0a1e21
Showing 1 changed file with 23 additions and 22 deletions.
45 changes: 23 additions & 22 deletions cgeDemo/src/main/res/layout/activity_image_demo_with_matrix.xml
Original file line number Diff line number Diff line change
@@ -1,31 +1,32 @@
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">

<Spinner
android:id="@+id/filter_item"
android:layout_width="match_parent"
android:layout_height="80dp" />
android:layout_height="match_parent"
android:orientation="vertical">
<Spinner
android:id="@+id/filter_item"
android:layout_width="match_parent"
android:layout_height="80dp" />

<SeekBar
android:id="@+id/intensity"
android:layout_width="match_parent"
android:layout_height="80dp"
android:layout_gravity="center_horizontal|top" />
<org.wysaid.cgeDemo.view.MatrixMutualViewGroup
android:id="@+id/demo_view"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1">


<org.wysaid.cgeDemo.view.MatrixMutualViewGroup
android:id="@+id/demo_view"
android:layout_width="match_parent"
android:layout_height="0dp"
android:layout_weight="1" />
<SeekBar
android:id="@+id/intensity"
android:layout_width="match_parent"
android:layout_height="80dp"
android:layout_gravity="center_horizontal|top" />

</org.wysaid.cgeDemo.view.MatrixMutualViewGroup>

<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:padding="10dp"
android:text="You can try using two hands to zoom and one hand drag" />
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:padding="10dp"
android:text="You can try using two hands to zoom and one hand drag" />

</LinearLayout>

0 comments on commit b0a1e21

Please sign in to comment.