Skip to content

Commit 959d6a1

Browse files
committed
Add UI for image format mode
1 parent 6452671 commit 959d6a1

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
@@ -280,6 +280,39 @@
280280

281281
</LinearLayout>
282282

283+
<LinearLayout
284+
android:id="@+id/image_format_setting"
285+
android:layout_width="match_parent"
286+
android:layout_height="wrap_content"
287+
android:paddingVertical="@dimen/settings_dialog_menu_item_vertical"
288+
android:paddingHorizontal="@dimen/settings_dialog_menu_item_horizontal"
289+
android:layout_gravity="end"
290+
android:orientation="horizontal">
291+
292+
<TextView
293+
android:layout_height="wrap_content"
294+
android:layout_width="wrap_content"
295+
android:layout_gravity="center_vertical"
296+
android:text="@string/image_format"/>
297+
298+
<FrameLayout
299+
android:layout_height="wrap_content"
300+
android:padding="0dp"
301+
android:layout_margin="0dp"
302+
android:layout_width="match_parent">
303+
304+
<Spinner
305+
android:id="@+id/image_format_spinner"
306+
android:layout_width="wrap_content"
307+
android:layout_height="wrap_content"
308+
android:checked="true"
309+
android:padding="0dp"
310+
android:layout_margin="0dp"
311+
android:layout_gravity="end"/>
312+
313+
</FrameLayout>
314+
</LinearLayout>
315+
283316
<RelativeLayout
284317
android:layout_width="match_parent"
285318
android:layout_height="@dimen/settings_dialog_menu_item_height"

0 commit comments

Comments
 (0)