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)
- Feature / Medtrum Nano : add history HOT 2
- Temp target from carbs menu always triggers Hypo target
- Failed bolus by SMS was actually delivered HOT 6
- Unable to clear allowed WiFi SSID on NSClient connection settings ("The field must not be empty") HOT 1
- I need help integrating a third-party insulin pump HOT 1
- History browser unable to display heart rate data in graph
- Failed bolus error message when bolus was delivered HOT 1
- Pump doesn't automatically reconnect like it used to HOT 1
- AAPS 3.2.0.3 Samsung Galaxy Watch 5 not connected HOT 7
- Unable to connect to Nightscout -No error in log HOT 3
- MEDTRUM / Empty reservoir when pod is deactivated HOT 3
- Crash across multiple versions related to medtronic driver (seems resettable)
- AAPS Client Limitations, thoughts HOT 2
- After replacing the battery in the Accu-Chek Combo, AAPS cannot automatically reconnect. HOT 1
- MEDTRUM: Feature / days hours left
- DASH/EROS : Feature / add export settings button HOT 2
- HistoryBrowser Graph menu doesn't update HistoryBrowser Graphs HOT 1
- Distance betwen SMS boluses not applied HOT 3
- Auto-increase CHO and not decrease problem HOT 14
- Medtrum : End of pod AAPS alert error/feature request ? HOT 2
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.