improve dana bottom buttons
This commit is contained in:
parent
8249118a14
commit
ff34e9bdd2
2 changed files with 28 additions and 19 deletions
|
@ -7,24 +7,24 @@
|
||||||
android:pathData="M5.719,19.125L5.719,11.828"
|
android:pathData="M5.719,19.125L5.719,11.828"
|
||||||
android:strokeWidth="2.2677"
|
android:strokeWidth="2.2677"
|
||||||
android:fillColor="#00000000"
|
android:fillColor="#00000000"
|
||||||
android:strokeColor="#FEAF05"
|
android:strokeColor="?attr/statsColor"
|
||||||
android:strokeLineCap="round"/>
|
android:strokeLineCap="round"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M9.792,19.125L9.792,8.01"
|
android:pathData="M9.792,19.125L9.792,8.01"
|
||||||
android:strokeWidth="2.2677"
|
android:strokeWidth="2.2677"
|
||||||
android:fillColor="#00000000"
|
android:fillColor="#00000000"
|
||||||
android:strokeColor="#FEAF05"
|
android:strokeColor="?attr/statsColor"
|
||||||
android:strokeLineCap="round"/>
|
android:strokeLineCap="round"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M13.865,19.125L13.865,9.51"
|
android:pathData="M13.865,19.125L13.865,9.51"
|
||||||
android:strokeWidth="2.2677"
|
android:strokeWidth="2.2677"
|
||||||
android:fillColor="#00000000"
|
android:fillColor="#00000000"
|
||||||
android:strokeColor="#FEAF05"
|
android:strokeColor="?attr/statsColor"
|
||||||
android:strokeLineCap="round"/>
|
android:strokeLineCap="round"/>
|
||||||
<path
|
<path
|
||||||
android:pathData="M17.938,19.125L17.938,4.594"
|
android:pathData="M17.938,19.125L17.938,4.594"
|
||||||
android:strokeWidth="2.2677"
|
android:strokeWidth="2.2677"
|
||||||
android:fillColor="#00000000"
|
android:fillColor="#00000000"
|
||||||
android:strokeColor="#FEAF05"
|
android:strokeColor="?attr/statsColor"
|
||||||
android:strokeLineCap="round"/>
|
android:strokeLineCap="round"/>
|
||||||
</vector>
|
</vector>
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
xmlns:tools="http://schemas.android.com/tools"
|
xmlns:tools="http://schemas.android.com/tools"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||||
tools:context="info.nightscout.androidaps.dana.DanaFragment"
|
tools:context="info.nightscout.androidaps.dana.DanaFragment"
|
||||||
android:orientation="vertical">
|
android:orientation="vertical">
|
||||||
|
|
||||||
|
@ -658,50 +659,58 @@
|
||||||
android:layout_height="wrap_content"
|
android:layout_height="wrap_content"
|
||||||
android:orientation="horizontal">
|
android:orientation="horizontal">
|
||||||
|
|
||||||
<com.google.android.material.button.MaterialButton
|
<info.nightscout.androidaps.utils.ui.SingleClickButton
|
||||||
android:id="@+id/view_profile"
|
android:id="@+id/view_profile"
|
||||||
style="@style/ButtonSmallFontStyle"
|
style="@style/ButtonSmallFontStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
|
android:layout_marginEnd="-2dp"
|
||||||
android:drawableTop="@drawable/ic_danarprofile"
|
android:drawableTop="@drawable/ic_danarprofile"
|
||||||
android:paddingStart="0dp"
|
android:text="@string/viewprofile"
|
||||||
android:paddingEnd="0dp"
|
android:maxLines="2"
|
||||||
android:text="@string/viewprofile" />
|
android:ellipsize="end"
|
||||||
|
app:iconPadding="-4dp"/>
|
||||||
|
|
||||||
<com.google.android.material.button.MaterialButton
|
<info.nightscout.androidaps.utils.ui.SingleClickButton
|
||||||
android:id="@+id/history"
|
android:id="@+id/history"
|
||||||
style="@style/ButtonSmallFontStyle"
|
style="@style/ButtonSmallFontStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
|
android:layout_marginEnd="-2dp"
|
||||||
android:drawableTop="@drawable/ic_pump_history"
|
android:drawableTop="@drawable/ic_pump_history"
|
||||||
android:paddingStart="0dp"
|
|
||||||
android:paddingEnd="0dp"
|
|
||||||
android:text="@string/pumphistory"
|
android:text="@string/pumphistory"
|
||||||
|
android:maxLines="2"
|
||||||
|
android:ellipsize="end"
|
||||||
|
app:iconPadding="-4dp"
|
||||||
tools:ignore="TooManyViews" />
|
tools:ignore="TooManyViews" />
|
||||||
|
|
||||||
<com.google.android.material.button.MaterialButton
|
<info.nightscout.androidaps.utils.ui.SingleClickButton
|
||||||
android:id="@+id/stats"
|
android:id="@+id/stats"
|
||||||
style="@style/ButtonSmallFontStyle"
|
style="@style/ButtonSmallFontStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
|
android:layout_marginEnd="-2dp"
|
||||||
android:drawableTop="@drawable/ic_danarstats"
|
android:drawableTop="@drawable/ic_danarstats"
|
||||||
android:paddingStart="0dp"
|
android:text="@string/stats"
|
||||||
android:paddingEnd="0dp"
|
android:maxLines="2"
|
||||||
android:text="@string/stats" />
|
android:ellipsize="end"
|
||||||
|
app:iconPadding="-4dp"/>
|
||||||
|
|
||||||
<com.google.android.material.button.MaterialButton
|
<info.nightscout.androidaps.utils.ui.SingleClickButton
|
||||||
android:id="@+id/user_options"
|
android:id="@+id/user_options"
|
||||||
style="@style/ButtonSmallFontStyle"
|
style="@style/ButtonSmallFontStyle"
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_weight="1"
|
android:layout_weight="1"
|
||||||
|
android:layout_marginEnd="-2dp"
|
||||||
android:drawableTop="@drawable/ic_danar_useropt"
|
android:drawableTop="@drawable/ic_danar_useropt"
|
||||||
android:paddingStart="0dp"
|
android:text="@string/danar_useroptions"
|
||||||
android:paddingEnd="0dp"
|
android:maxLines="2"
|
||||||
android:text="@string/danar_useroptions" />
|
android:ellipsize="end"
|
||||||
|
app:iconPadding="-4dp"/>
|
||||||
|
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue