Skip to content

Commit 321cf8b

Browse files
committed
Fine tuned dialog
1 parent 762cdc8 commit 321cf8b

1 file changed

Lines changed: 22 additions & 14 deletions

File tree

app/src/main/res/layout/dialog_playback_parameter.xml

Lines changed: 22 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
3+
xmlns:app="http://schemas.android.com/apk/res-auto"
34
xmlns:tools="http://schemas.android.com/tools"
45
android:layout_width="match_parent"
56
android:layout_height="match_parent"
@@ -129,9 +130,9 @@
129130
android:layout_height="1dp"
130131
android:layout_below="@id/tempoControl"
131132
android:layout_marginStart="12dp"
132-
android:layout_marginTop="4dp"
133+
android:layout_marginTop="5dp"
133134
android:layout_marginEnd="12dp"
134-
android:layout_marginBottom="4dp"
135+
android:layout_marginBottom="5dp"
135136
android:background="?attr/separator_color" />
136137

137138
<org.schabi.newpipe.views.NewPipeTextView
@@ -252,7 +253,8 @@
252253
android:id="@+id/pitchSemitoneControl"
253254
android:layout_width="match_parent"
254255
android:layout_height="match_parent"
255-
android:orientation="horizontal">
256+
android:orientation="horizontal"
257+
tools:visibility="gone">
256258

257259
<org.schabi.newpipe.views.NewPipeTextView
258260
android:id="@+id/pitchSemitoneStepDown"
@@ -299,7 +301,8 @@
299301
android:gravity="center"
300302
android:textColor="?attr/colorAccent"
301303
android:textStyle="bold"
302-
tools:text="0" />
304+
tools:text="0"
305+
tools:ignore="RelativeOverlap" />
303306

304307
<org.schabi.newpipe.views.NewPipeTextView
305308
android:id="@+id/pitchSemitoneMaximumText"
@@ -348,9 +351,9 @@
348351
android:layout_height="1dp"
349352
android:layout_below="@+id/pitchControlContainer"
350353
android:layout_marginStart="12dp"
351-
android:layout_marginTop="4dp"
354+
android:layout_marginTop="5dp"
352355
android:layout_marginEnd="12dp"
353-
android:layout_marginBottom="4dp"
356+
android:layout_marginBottom="5dp"
354357
android:background="?attr/separator_color" />
355358

356359
<LinearLayout
@@ -380,7 +383,8 @@
380383
android:clickable="true"
381384
android:focusable="true"
382385
android:gravity="center"
383-
android:textColor="?attr/colorAccent" />
386+
android:textColor="?attr/colorAccent"
387+
tools:text="1%" />
384388

385389
<org.schabi.newpipe.views.NewPipeTextView
386390
android:id="@+id/stepSizeFivePercent"
@@ -391,7 +395,8 @@
391395
android:clickable="true"
392396
android:focusable="true"
393397
android:gravity="center"
394-
android:textColor="?attr/colorAccent" />
398+
android:textColor="?attr/colorAccent"
399+
tools:text="5%" />
395400

396401
<org.schabi.newpipe.views.NewPipeTextView
397402
android:id="@+id/stepSizeTenPercent"
@@ -402,7 +407,8 @@
402407
android:clickable="true"
403408
android:focusable="true"
404409
android:gravity="center"
405-
android:textColor="?attr/colorAccent" />
410+
android:textColor="?attr/colorAccent"
411+
tools:text="10%" />
406412

407413
<org.schabi.newpipe.views.NewPipeTextView
408414
android:id="@+id/stepSizeTwentyFivePercent"
@@ -413,9 +419,10 @@
413419
android:clickable="true"
414420
android:focusable="true"
415421
android:gravity="center"
416-
android:textColor="?attr/colorAccent" />
422+
android:textColor="?attr/colorAccent"
423+
tools:text="25%" />
417424

418-
<TextView
425+
<org.schabi.newpipe.views.NewPipeTextView
419426
android:id="@+id/stepSizeOneHundredPercent"
420427
android:layout_width="0dp"
421428
android:layout_height="match_parent"
@@ -424,7 +431,8 @@
424431
android:clickable="true"
425432
android:focusable="true"
426433
android:gravity="center"
427-
android:textColor="?attr/colorAccent" />
434+
android:textColor="?attr/colorAccent"
435+
tools:text="100%" />
428436
</LinearLayout>
429437

430438
<View
@@ -433,9 +441,9 @@
433441
android:layout_height="1dp"
434442
android:layout_below="@+id/stepSizeSelector"
435443
android:layout_marginStart="12dp"
436-
android:layout_marginTop="4dp"
444+
android:layout_marginTop="5dp"
437445
android:layout_marginEnd="12dp"
438-
android:layout_marginBottom="4dp"
446+
android:layout_marginBottom="5dp"
439447
android:background="?attr/separator_color" />
440448

441449
<LinearLayout

0 commit comments

Comments
 (0)