diff options
| author | Tom Cooks <tommasogagliardi+github@gmail.com> | 2026-09-24 12:34:05 -0400 |
|---|---|---|
| committer | Tom Cooks <tommasogagliardi+github@gmail.com> | 2026-09-24 12:34:05 -0400 |
| commit | 62ae21cc690e9be31c542cf32b69e9bacddba6d6 (patch) | |
| tree | a72ff2a4341f9ee44493e0e4814d50bbd8db6ed6 /app/src/main/res/layout/activity_player.xml | |
| download | reccoon-62ae21cc690e9be31c542cf32b69e9bacddba6d6.tar.gz | |
RECCoon 1.1.0-alpha: WAV recorder, library, scrubber player, on-device Whisper transcription (EN/IT)
Diffstat (limited to 'app/src/main/res/layout/activity_player.xml')
| -rw-r--r-- | app/src/main/res/layout/activity_player.xml | 144 |
1 files changed, 144 insertions, 0 deletions
diff --git a/app/src/main/res/layout/activity_player.xml b/app/src/main/res/layout/activity_player.xml new file mode 100644 index 0000000..479efa9 --- /dev/null +++ b/app/src/main/res/layout/activity_player.xml @@ -0,0 +1,144 @@ +<?xml version="1.0" encoding="utf-8"?> +<ScrollView xmlns:android="http://schemas.android.com/apk/res/android" + android:layout_width="match_parent" + android:layout_height="match_parent" + android:background="@color/background" + android:fillViewport="true"> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:orientation="vertical" + android:paddingLeft="20dp" + android:paddingTop="20dp" + android:paddingRight="20dp" + android:paddingBottom="28dp"> + + <TextView + android:id="@+id/titleText" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:textColor="@color/text_primary" + android:textSize="20sp" + android:textStyle="bold" /> + + <TextView + android:id="@+id/timeText" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="4dp" + android:fontFamily="monospace" + android:textColor="@color/text_secondary" + android:textSize="14sp" /> + + <SeekBar + android:id="@+id/seekBar" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="6dp" /> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="6dp" + android:gravity="center" + android:orientation="horizontal"> + + <Button + android:id="@+id/rewindButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/player_rewind" /> + + <Button + android:id="@+id/playButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="10dp" + android:layout_marginRight="10dp" + android:minWidth="72dp" + android:text="@string/player_play" + android:textSize="18sp" /> + + <Button + android:id="@+id/forwardButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/player_forward" /> + + <Button + android:id="@+id/speedButton" + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:layout_marginLeft="10dp" + android:text="@string/player_speed_1x" /> + </LinearLayout> + + <View + android:layout_width="match_parent" + android:layout_height="1dp" + android:layout_marginTop="18dp" + android:layout_marginBottom="16dp" + android:background="@color/divider" /> + + <TextView + android:layout_width="wrap_content" + android:layout_height="wrap_content" + android:text="@string/transcribe_title" + android:textColor="@color/text_primary" + android:textSize="18sp" + android:textStyle="bold" /> + + <LinearLayout + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="8dp" + android:orientation="horizontal"> + + <Spinner + android:id="@+id/languageSpinner" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_weight="1" /> + + <Spinner + android:id="@+id/modelSpinner" + android:layout_width="0dp" + android:layout_height="wrap_content" + android:layout_marginStart="10dp" + android:layout_weight="1" /> + </LinearLayout> + + <Button + android:id="@+id/transcribeButton" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="10dp" + android:text="@string/transcribe_action" /> + + <ProgressBar + android:id="@+id/progressBar" + style="?android:attr/progressBarStyleHorizontal" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="10dp" + android:max="1000" + android:visibility="gone" /> + + <TextView + android:id="@+id/statusText" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="6dp" + android:textColor="@color/text_secondary" + android:textSize="13sp" /> + + <LinearLayout + android:id="@+id/transcriptContainer" + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:layout_marginTop="12dp" + android:orientation="vertical" /> + + </LinearLayout> +</ScrollView> |
