File tree Expand file tree Collapse file tree
java/uk/org/openseizuredetector/activity/main Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,20 +106,6 @@ protected void updateUi() {
106106 pbDrawable = AppCompatResources .getDrawable (mContext , R .drawable .progress_bar_red );
107107 pb .setProgressDrawable (pbDrawable );
108108
109- long pSeizurePc ;
110- pSeizurePc = (long ) (mConnection .mSdServer .mSdData .mPseizure * 100 );
111-
112- ((TextView ) mRootView .findViewById (R .id .pSeizureTvM2 )).setText (getString (R .string .seizure_probability ) + " : " + pSeizurePc + "%" );
113-
114- pb = ((ProgressBar ) mRootView .findViewById (R .id .pSeizureProgressBarM2 ));
115- pb .setMax (100 );
116- pb .setProgress ((int ) pSeizurePc );
117- pbDrawable = AppCompatResources .getDrawable (mContext , R .drawable .progress_bar_blue );
118- if (pSeizurePc > 30 )
119- pbDrawable = AppCompatResources .getDrawable (mContext , R .drawable .progress_bar_yellow );
120- if (pSeizurePc > 50 )
121- pbDrawable = AppCompatResources .getDrawable (mContext , R .drawable .progress_bar_red );
122- pb .setProgressDrawable (pbDrawable );
123109
124110 ////////////////////////////////////////////////////////////
125111 // Produce graph using GraphView with smoothed line
Original file line number Diff line number Diff line change 5757 android : progressBackgroundTint =" #EEEEEE"
5858 android : layout_marginBottom =" 16dp" />
5959
60- <TextView
61- android : id =" @+id/pSeizureTvM2"
62- android : layout_width =" match_parent"
63- android : layout_height =" wrap_content"
64- android : text =" @string/seizure_probability"
65- android : layout_marginBottom =" 4dp" />
66-
67- <ProgressBar
68- android : id =" @+id/pSeizureProgressBarM2"
69- style =" ?android:attr/progressBarStyleHorizontal"
70- android : layout_width =" match_parent"
71- android : layout_height =" wrap_content"
72- android : progressBackgroundTint =" #EEEEEE"
73- android : layout_marginBottom =" 24dp" />
74-
7560
7661 <com .jjoe64.graphview.GraphView
7762 android : id =" @+id/chart1"
Original file line number Diff line number Diff line change 22<resources >
33 <string name =" app_name" >OpenSeizureDetector</string >
44 <string name =" changelog" >
5- < b>V5.0.7 : CHANGES IN THIS VERSION< /b>< br/>
5+ < b>V5.0.8 : CHANGES IN THIS VERSION< /b>< br/>
66 < br/> - Support downloadable machine learning models.
77 < br/> - First-Use setup wizard.
88 < br/> - User Interface Improvements.
Original file line number Diff line number Diff line change @@ -22,6 +22,6 @@ APPLICATION_ID=uk.org.openseizuredetector
2222# Min SDK 26 is Android 8
2323MIN_SDK =26
2424TARGET_SDK =35
25- VERSION_CODE =191
26- VERSION_NAME =5.0.7
25+ VERSION_CODE =192
26+ VERSION_NAME =5.0.8
2727MULTI_DEX_ENABLED =true
You can’t perform that action at this time.
0 commit comments