Skip to content

Commit c274590

Browse files
committed
Add UI for frame rate per second setting
(in quick settings dialog)
1 parent 2fdd2eb commit c274590

1 file changed

Lines changed: 33 additions & 0 deletions

File tree

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

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,39 @@
204204
</FrameLayout>
205205
</LinearLayout>
206206

207+
<LinearLayout
208+
android:id="@+id/video_frame_rate_setting"
209+
android:layout_width="match_parent"
210+
android:layout_height="wrap_content"
211+
android:paddingVertical="@dimen/settings_dialog_menu_item_vertical"
212+
android:paddingHorizontal="@dimen/settings_dialog_menu_item_horizontal"
213+
android:layout_gravity="end"
214+
android:orientation="horizontal">
215+
216+
<TextView
217+
android:layout_height="wrap_content"
218+
android:layout_width="wrap_content"
219+
android:layout_gravity="center_vertical"
220+
android:text="@string/video_frame_rate"/>
221+
222+
<FrameLayout
223+
android:layout_height="wrap_content"
224+
android:padding="0dp"
225+
android:layout_margin="0dp"
226+
android:layout_width="match_parent">
227+
228+
<Spinner
229+
android:id="@+id/video_frame_rate_spinner"
230+
android:layout_width="wrap_content"
231+
android:layout_height="wrap_content"
232+
android:checked="true"
233+
android:padding="0dp"
234+
android:layout_margin="0dp"
235+
android:layout_gravity="end"/>
236+
237+
</FrameLayout>
238+
</LinearLayout>
239+
207240
<LinearLayout
208241
android:id="@+id/include_audio_setting"
209242
android:layout_width="match_parent"

0 commit comments

Comments
 (0)