Skip to content

Commit 25cfca3

Browse files
committed
Added new option for display the DS bottom screen in single-screen layout
- Remove outdated virtual controller assets - Improve the settings and help pages in TV mode - Update Fast-Access menu images for TV mode - Further improved the appearance of the dark theme - Adjusted the position of menu options in the main menu when in landscape mode - Fixed a long-standing issue where selecting the Default Layout option in the General Settings page caused a crash in TV mode
1 parent ded8ca5 commit 25cfca3

39 files changed

+281
-22
lines changed
-387 KB
Binary file not shown.
-300 KB
Binary file not shown.
-407 KB
Binary file not shown.
-414 KB
Binary file not shown.
-418 KB
Binary file not shown.
-532 KB
Binary file not shown.

universal/res/layout-land/help_tv.xml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
<?xml version="1.0" encoding="utf-8"?>
2-
<RelativeLayout android:background="#ff0099cc" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="96.0dip" android:layout_marginTop="48.0dip" android:layout_marginRight="96.0dip" android:layout_marginBottom="48.0dip"
2+
<RelativeLayout android:background="#88111111" android:layout_width="fill_parent" android:layout_height="fill_parent"
33
xmlns:android="http://schemas.android.com/apk/res/android">
4+
<RelativeLayout android:background="#ff0099cc" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="96.0dip" android:layout_marginTop="48.0dip" android:layout_marginRight="96.0dip" android:layout_marginBottom="48.0dip">
45
<LinearLayout android:orientation="vertical" android:background="#ff111111" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_margin="1.0dip">
56
<TableLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
67
<TableRow android:background="@color/menu_bg_header_tv">
@@ -30,3 +31,4 @@
3031
</ScrollView>
3132
</LinearLayout>
3233
</RelativeLayout>
34+
</RelativeLayout>

universal/res/layout-land/settings_tv.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<RelativeLayout android:background="#88111111" android:layout_width="fill_parent" android:layout_height="fill_parent"
3-
xmlns:android="http://schemas.android.com/apk/res/android">
3+
xmlns:android="http://schemas.android.com/apk/res/android" android:defaultFocusHighlightEnabled="false">
44
<RelativeLayout android:background="#ff0099cc" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_marginLeft="96.0dip" android:layout_marginTop="48.0dip" android:layout_marginRight="96.0dip" android:layout_marginBottom="48.0dip">
5-
<ViewAnimator android:id="@id/set_animator" android:background="@color/menu_bg_center_tv" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_margin="1.0dip" android:layout_centerInParent="true" android:defaultFocusHighlightEnabled="false">
5+
<ViewAnimator android:id="@id/set_animator" android:background="@color/menu_bg_center_tv" android:layout_width="fill_parent" android:layout_height="fill_parent" android:layout_margin="1.0dip" android:layout_centerInParent="true">
66
<LinearLayout android:orientation="vertical" android:background="@color/menu_bg_center_tv" android:layout_width="fill_parent" android:layout_height="fill_parent">
77
<TableLayout android:layout_width="fill_parent" android:layout_height="wrap_content">
88
<TableRow android:background="@color/menu_bg_header_tv">

universal/res/layout-land/settings_tv_general.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
<View style="@style/drastic_seperator" />
3131
<CheckBox android:id="@id/cb_lua" android:text="@string/str_set_lua" style="@style/drastic_checkbox_tv" />
3232
<View style="@style/drastic_seperator" />
33+
<CheckBox android:id="@id/cb_singlelayout_usebottom" android:text="@string/str_set_menu_singlelayout_usebottom" style="@style/drastic_checkbox_tv" />
34+
<View style="@style/drastic_seperator" />
3335
<TextView android:id="@id/set_select_defaultlayout" android:text="@string/str_set_defaultlayout" style="@style/drastic_option_item_choicehdr_text_tv" />
3436
<TextView android:id="@id/set_selection_defaultlayout" style="@style/drastic_option_item_selection_text_tv" />
3537
<View style="@style/drastic_seperator" />

universal/res/layout/settings_general.xml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
<View style="@style/drastic_seperator" />
4444
<CheckBox android:id="@id/cb_menubtn" android:text="@string/str_set_menubtn" style="@style/drastic_checkbox" />
4545
<View style="@style/drastic_seperator" />
46+
<CheckBox android:id="@id/cb_singlelayout_usebottom" android:text="@string/str_set_menu_singlelayout_usebottom" style="@style/drastic_checkbox" />
47+
<View style="@style/drastic_seperator" />
4648
<TextView android:id="@id/set_select_defaultlayout" android:text="@string/str_set_defaultlayout" style="@style/drastic_option_item_choicehdr_text" />
4749
<TextView android:id="@id/set_selection_defaultlayout" style="@style/drastic_option_item_selection_text" />
4850
<View style="@style/drastic_seperator" />

0 commit comments

Comments
 (0)