From de439ff07bc0d76feeefd1e9519655973066aaf7 Mon Sep 17 00:00:00 2001 From: jacques Date: Sun, 26 Apr 2020 22:35:49 +0200 Subject: [PATCH] Change some layout according helpers; Change save icon for material design ones --- .../main/res/drawable/ic_save_black_24dp.xml | 9 +++++ .../res/layout/activity_medicament_detail.xml | 2 +- app/src/main/res/layout/info_cell.xml | 15 ++++--- app/src/main/res/layout/value_input.xml | 39 ++++++++++--------- 4 files changed, 40 insertions(+), 25 deletions(-) create mode 100644 app/src/main/res/drawable/ic_save_black_24dp.xml diff --git a/app/src/main/res/drawable/ic_save_black_24dp.xml b/app/src/main/res/drawable/ic_save_black_24dp.xml new file mode 100644 index 0000000..a561d63 --- /dev/null +++ b/app/src/main/res/drawable/ic_save_black_24dp.xml @@ -0,0 +1,9 @@ + + + diff --git a/app/src/main/res/layout/activity_medicament_detail.xml b/app/src/main/res/layout/activity_medicament_detail.xml index 2f1e212..dd74bf5 100644 --- a/app/src/main/res/layout/activity_medicament_detail.xml +++ b/app/src/main/res/layout/activity_medicament_detail.xml @@ -45,7 +45,7 @@ android:layout_height="60dp" android:layout_gravity="center_vertical|start" android:layout_margin="@dimen/fab_margin" - android:src="@android:drawable/ic_menu_save" + android:src="@drawable/ic_save_black_24dp" app:layout_anchor="@+id/medicament_detail_container" app:layout_anchorGravity="top|end" /> diff --git a/app/src/main/res/layout/info_cell.xml b/app/src/main/res/layout/info_cell.xml index 27bf6d1..39b3356 100644 --- a/app/src/main/res/layout/info_cell.xml +++ b/app/src/main/res/layout/info_cell.xml @@ -3,27 +3,30 @@ android:orientation="vertical" android:layout_width="match_parent" android:layout_height="50dp" android:background="@drawable/list_selector"> + + android:textSize="16sp" + android:textStyle="bold" /> \ No newline at end of file diff --git a/app/src/main/res/layout/value_input.xml b/app/src/main/res/layout/value_input.xml index 956fd07..e8bf8b1 100644 --- a/app/src/main/res/layout/value_input.xml +++ b/app/src/main/res/layout/value_input.xml @@ -3,34 +3,37 @@ android:layout_width="match_parent" android:layout_height="match_parent"> + android:paddingStart="5dp" + android:paddingEnd="25dp" + android:text="Medium Text" + android:textAppearance="?android:attr/textAppearanceMedium" + android:textColor="#040404" + android:textStyle="bold" /> + android:textAlignment="gravity" /> \ No newline at end of file