Comments (22)
Andreas, weil ich ein bisschen verstehe, nicht jede hier ist Deutschsprachige ;)
It is obviously error with summary dialog, which does not allow scrolling on ultra-small screens. I will fix that.
In the meantime - hack mentioned above will allow to import prefs.
from androidaps.
Ja da muss man sich Layoutmässig was einfallen lassen.
Wenn es nur um den Import geht , dann öffne die DateI : PrefImportSummaryDialog.kt
und kommentiere die folgenden 2 Zeilen aus
Zeile 46
// val table = (innerLayout.findViewById(R.id.summary_table) as TableLayout)
und Zeile 79
// table.addView(rowLayout, idx++)
dann siehst Du keine Zusammnfassung mehr , kannst aber imortieren
from androidaps.
@dlvoy i have a solution that work. in the next two days i make a pull request for a review.
from androidaps.
I can confirm: The fix works on Unihertz Atom.
from androidaps.
Maybe the same setting as in atom ca solve the problem.
Set the fontsize in settings of jelly to 'small'.
If this does not help, you can do a fast workaround until as solution is implemented:
Search the text 'Du wirst nach dem Master-Passwort gefragt. .......' and delete the second sentence 'Mit diesem werden die importierten Einstellungen entschlüsselt' in strings.xml.
Commit the the file and rebuild master
from androidaps.
Thanks for the hint, but unfortunately it didn't work.
As in the third picture, there are too many listings, so shortening the phrases is not enough and changing the font size doesn't apply for me with this (or not enough) :/
from androidaps.
Than the Next workaround , Remove the unneeded Backup Filed from AAps/preferences Directory
from androidaps.
There is only one at AAPS/preferences (which I need to import) or which to you mean?
from androidaps.
Ja Marie , alle Backups der Einstellungen aus dem Ordner löschen die Du nicht brauchst. dann ist die Liste kurz und es sollte passen
from androidaps.
The list I mean contains the information of the back-up (Name, Date, phone used for the back-up, AAPS Version used for the backup, etc.) (3rd picture) so I think we are talking about a different list
from androidaps.
Ach das meinst Du. Sry. das war für mich keine Liste.
Du kannst alternativ testen den Title 'Einstellungen Importieren' zu kürzen. der Header verbraucht viel Platz.
Für eine endgültige Lösung muss das Layout überarbeitet werden.
from androidaps.
Already tried that, too, I changed all string variablies I could which have line breaks. The only thing I could still try is changing the size of the header.
from androidaps.
Dafuer gibt es Google . Da geht auch English zu deutsch und und umgekehrt .
Aber ich hatte eh Marie direkt geantwortet .
from androidaps.
Yes, I deleted the German language files because the texts are too long and cumbersome for me. But it also seems to me that my font size is smaller, so I have no problems at all on the Atom. Maybe you should check the font size in the Atom settings (Einstellungen > Display > Erweitert> Schriftgröße).
from androidaps.
Ja da muss man sich Layoutmässig was einfallen lassen.
Wenn es nur um den Import geht , dann öffne die DateI : PrefImportSummaryDialog.kt
und kommentiere die folgenden 2 Zeilen aus
Zeile 46
// val table = (innerLayout.findViewById(R.id.summary_table) as TableLayout)
und Zeile 79
// table.addView(rowLayout, idx++)dann siehst Du keine Zusammnfassung mehr , kannst aber imortieren
It worked, thanks a lot!
from androidaps.
After first attempts, seems like AlertDialog.builder inner layout cannot just simple be wrapped with ScrollView.
Probably whole dialog need refactoring from system-type Dialog to custom Activity, but this will be more complex fix.
from androidaps.
Ha! I also worked on it in parallel :D here my attempt:
https://github.com/dlvoy/AndroidAPS/tree/hotfix/import-prefs-layout-uniherz
Basically it introduce new layout files for small-height & landscape devices, with fixed & scrollable table with summary:
dlvoy@d763614
Do you have device to check it? I only had tested that on Emu.
Please feel free to choose which of those two fixes is better, I can review / emu test yours as well!
from androidaps.
I will have a look tomorrow on your solution
I implemented my solution in my GUI Branch , if you want to have a look.
One of the solution for very small displays is here to set the title as marquee element , and only show the file name , not the path. The path is not interesting for a normal user.
The 3rd solution is in the end when the table in the inner element is shown. I set a nested scroll around .
You can test it here in my “new_gui_to_dev’ Branch
https://github.com/osodebailar/AndroidAPS
from androidaps.
I will test them, thanks for your work
from androidaps.
@MarieT1D you can test my solution, i have a pull request too of you want.
from androidaps.
Fixed by @osodebailar with #15 - so it can be re-tested from dev
branch.
@MarieT1D If test on device confirms it is solved - please close issue ;)
from androidaps.
Yesss, it works, thanks so much for you work and sorry for the delay, I will close the issue
from androidaps.
Related Issues (20)
- Protein records [enhancement]
- Improve Disconnect Pump Funcionality / Ease of Use HOT 11
- BUG : Bolus interrupted on empty pod / COB lost HOT 8
- Carbs Absorption Calculation (for discussion) HOT 7
- Impossible to activate a lowest profil percentage if basal is set to the lowest value (0,05) HOT 5
- Equil: TBR consistent fail, possible connection issue. HOT 7
- SECURITY discussion : temporary profile change HOT 14
- Medtrum: Priming screen returns to Change Patch screen HOT 5
- Timeline in History screen is not Always correct
- AAPS thinks it's outdated even though latest version is installed - closed loop disabled HOT 4
- [Feature Request] seperate colour schemes for wear aapsclient and wear aapsclient2, changes on filname on build.
- Loop gets kinda sleep mode. HOT 6
- SMBs not disabled but aren't executed HOT 2
- Communication failure in Omnipod Dash HOT 16
- [Enhancement]--Bolus scheduling for large meal HOT 1
- Invalid pump history data detected. HOT 1
- [Suggestion] Emulator in AAPS HOT 2
- Cannot install the generated AAPS.apk file on my Pixel 8a running Android 14 HOT 2
- Watchface not available HOT 7
- Feature request: Direct watch control for Medtrum nano or Omnipod and broadcast on watch HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from androidaps.