diff options
| author | Tom Cooks <tommasogagliardi+github@gmail.com> | 2026-10-10 15:42:04 -0400 |
|---|---|---|
| committer | Tom Cooks <tommasogagliardi+github@gmail.com> | 2026-10-10 15:42:04 -0400 |
| commit | 901bf58c5cf9151942f8c4cd4e1427a02dec4b52 (patch) | |
| tree | e9e312fb9893881f142a6f79e30417cd0c3f2be8 /app/src/main/res/layout/activity_main.xml | |
| parent | 6db1714d0354d1e1105e330ce84c46a54487c3bb (diff) | |
| download | reccoon-901bf58c5cf9151942f8c4cd4e1427a02dec4b52.tar.gz | |
RECCoon 1.0.0: rebrand to Tom Cooks, Parakeet-only, GPLv3, F-Droid-ready
Diffstat (limited to 'app/src/main/res/layout/activity_main.xml')
| -rw-r--r-- | app/src/main/res/layout/activity_main.xml | 111 |
1 files changed, 104 insertions, 7 deletions
diff --git a/app/src/main/res/layout/activity_main.xml b/app/src/main/res/layout/activity_main.xml index e919117..2f3a1ac 100644 --- a/app/src/main/res/layout/activity_main.xml +++ b/app/src/main/res/layout/activity_main.xml @@ -65,27 +65,113 @@ android:scaleType="centerInside" android:src="@android:color/transparent" /> - <com.wuhei.reccoon.WaveformView + <androidx.appcompat.widget.AppCompatCheckBox + android:id="@+id/compressCheckbox" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:layout_marginTop="4dp" + android:contentDescription="@string/compress_recording" + android:text="@string/compress_short" + android:textColor="@color/text_secondary" + android:textSize="13sp" /> + + <LinearLayout + android:id="@+id/inputRow" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:layout_marginTop="4dp" + android:gravity="center_vertical" + android:orientation="horizontal"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/input_label" + android:textColor="@color/text_secondary" + android:textSize="13sp" /> + + <Spinner + android:id="@+id/inputSpinner" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginStart="8dp" + android:minWidth="180dp" /> + </LinearLayout> + + <LinearLayout + android:id="@+id/outputRow" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:layout_marginTop="4dp" + android:gravity="center_vertical" + android:orientation="horizontal"> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/output_label" + android:textColor="@color/text_secondary" + android:textSize="13sp" /> + + <Spinner + android:id="@+id/outputSpinner" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginStart="8dp" + android:minWidth="180dp" /> + </LinearLayout> + + <androidx.appcompat.widget.AppCompatCheckBox + android:id="@+id/monitorCheckbox" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:layout_marginTop="2dp" + android:contentDescription="@string/monitor_recording" + android:text="@string/monitor_short" + android:textColor="@color/text_secondary" + android:textSize="13sp" /> + + <com.tomcooks.reccoon.WaveformView android:id="@+id/waveformView" android:layout_width="match_parent" android:layout_height="64dp" android:layout_marginTop="16dp" /> - <com.wuhei.reccoon.LevelMeterView + <com.tomcooks.reccoon.LevelMeterView android:id="@+id/levelMeter" android:layout_width="match_parent" android:layout_height="38dp" android:layout_marginTop="10dp" /> - <Button - android:id="@+id/markButton" + <LinearLayout android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="center_horizontal" android:layout_marginTop="6dp" - android:enabled="false" - android:minWidth="140dp" - android:text="@string/mark_action" /> + android:gravity="center" + android:orientation="horizontal"> + + <Button + android:id="@+id/markButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:enabled="false" + android:minWidth="130dp" + android:text="@string/mark_action" /> + + <Button + android:id="@+id/discardButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginStart="10dp" + android:enabled="false" + android:minWidth="130dp" + android:text="@string/discard_action" /> + </LinearLayout> <LinearLayout android:id="@+id/optionsRow" @@ -116,6 +202,17 @@ android:textSize="13sp" /> </LinearLayout> + <androidx.appcompat.widget.AppCompatCheckBox + android:id="@+id/swapCheckbox" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_gravity="center_horizontal" + android:layout_marginTop="2dp" + android:contentDescription="@string/swap_channels" + android:text="@string/swap_short" + android:textColor="@color/text_secondary" + android:textSize="13sp" /> + <TextView android:id="@+id/statusText" android:layout_width="match_parent" |
