Add color, chnage backupprefs, DrugDetailActivity.

This commit is contained in:
jacques 2024-07-15 21:12:47 +02:00
parent b7e55fad28
commit 94378ec2c2
3 changed files with 4 additions and 1 deletions

View file

@ -10,8 +10,10 @@ import android.widget.TextView;
import androidx.appcompat.app.ActionBar; import androidx.appcompat.app.ActionBar;
import androidx.appcompat.app.AppCompatActivity; import androidx.appcompat.app.AppCompatActivity;
import com.google.android.material.appbar.MaterialToolbar; import com.google.android.material.appbar.MaterialToolbar;
import com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton; import com.google.android.material.floatingactionbutton.ExtendedFloatingActionButton;
import net.foucry.pilldroid.dao.PrescriptionsDAO; import net.foucry.pilldroid.dao.PrescriptionsDAO;
import net.foucry.pilldroid.databases.PrescriptionDatabase; import net.foucry.pilldroid.databases.PrescriptionDatabase;
import net.foucry.pilldroid.models.Prescription; import net.foucry.pilldroid.models.Prescription;

View file

@ -12,7 +12,7 @@
android:layout_height="319dp" android:layout_height="319dp"
android:layout_marginStart="12dp" android:layout_marginStart="12dp"
android:layout_marginEnd="12dp" android:layout_marginEnd="12dp"
android:background="@color/white" android:background="@color/lightgrey"
app:cardCornerRadius="@dimen/btn_radius" app:cardCornerRadius="@dimen/btn_radius"
app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent" app:layout_constraintEnd_toEndOf="parent"

View file

@ -20,4 +20,5 @@
<color name="grey">#777</color> <color name="grey">#777</color>
<color name="unselected_background">#777777</color> <color name="unselected_background">#777777</color>
<color name="selected_background">#4f91ff</color> <color name="selected_background">#4f91ff</color>
<color name="lightgrey">#ACABAC</color>
</resources> </resources>