Feature description
Please add a supported option to place the terminal sessions drawer on either side of the screen, while retaining the current side as the default. For example:
terminal-drawer-side = start # start or end
A Settings UI choice would also work.
On a large foldable display, especially during right-handed use, the current drawer requires reaching across the full unfolded screen. A DRAWER extra key at the upper-right makes the drawer easy to trigger, but the drawer and its session controls still open on the far-left edge. An end option would keep both the trigger and controls within reach.
The configured gravity should be used consistently by the layout, the DRAWER extra key, keyboard shortcuts, back handling, and edge gestures. Defaulting to start would preserve existing behavior.
Additional information
This is related to #1325, but it addresses placement rather than only the difficulty of triggering a left-edge drawer under Android gesture navigation.
I tested with the F-Droid 0.119.0-beta.3 release on a Samsung foldable running Android 17. I also checked current master at 3df69d1d: activity_termux.xml still names the view left_drawer and sets android:layout_gravity="start", while drawer operations in TermuxTerminalExtraKeys, TermuxTerminalViewClient, and TermuxActivity use Gravity.LEFT.
AndroidX DrawerLayout supports start/end drawer gravity, so this appears suitable for a backward-compatible preference rather than requiring a separately signed Termux fork.
Feature description
Please add a supported option to place the terminal sessions drawer on either side of the screen, while retaining the current side as the default. For example:
A Settings UI choice would also work.
On a large foldable display, especially during right-handed use, the current drawer requires reaching across the full unfolded screen. A
DRAWERextra key at the upper-right makes the drawer easy to trigger, but the drawer and its session controls still open on the far-left edge. Anendoption would keep both the trigger and controls within reach.The configured gravity should be used consistently by the layout, the
DRAWERextra key, keyboard shortcuts, back handling, and edge gestures. Defaulting tostartwould preserve existing behavior.Additional information
This is related to #1325, but it addresses placement rather than only the difficulty of triggering a left-edge drawer under Android gesture navigation.
I tested with the F-Droid
0.119.0-beta.3release on a Samsung foldable running Android 17. I also checked currentmasterat3df69d1d:activity_termux.xmlstill names the viewleft_drawerand setsandroid:layout_gravity="start", while drawer operations inTermuxTerminalExtraKeys,TermuxTerminalViewClient, andTermuxActivityuseGravity.LEFT.AndroidX
DrawerLayoutsupports start/end drawer gravity, so this appears suitable for a backward-compatible preference rather than requiring a separately signed Termux fork.