mirror of
https://github.com/HendrikRauh/inventree-app.git
synced 2026-01-13 11:36:24 +00:00
App orientation (#369)
* Configurable screen orientation - Follow system (default) - Fixed in portrait - Fixed in landscape * Fix for dialog
This commit is contained in:
parent
ba409660f4
commit
71bf3ad049
6 changed files with 185 additions and 40 deletions
|
|
@ -15,6 +15,13 @@ const String INV_HOME_SHOW_MANUFACTURERS = "homeShowManufacturers";
|
|||
const String INV_HOME_SHOW_CUSTOMERS = "homeShowCustomers";
|
||||
const String INV_HOME_SHOW_SUPPLIERS = "homeShowSuppliers";
|
||||
|
||||
const String INV_SCREEN_ORIENTATION = "appScreenOrientation";
|
||||
|
||||
// Available screen orientation values
|
||||
const int SCREEN_ORIENTATION_SYSTEM = 0;
|
||||
const int SCREEN_ORIENTATION_PORTRAIT = 1;
|
||||
const int SCREEN_ORIENTATION_LANDSCAPE = 2;
|
||||
|
||||
const String INV_SOUNDS_BARCODE = "barcodeSounds";
|
||||
const String INV_SOUNDS_SERVER = "serverSounds";
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue