новая кнопка на главном экране
This commit is contained in:
parent
e656d452f2
commit
871c220f9c
BIN
app/src/main/res/drawable/ic_list.png
Normal file
BIN
app/src/main/res/drawable/ic_list.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 661 B |
@ -121,6 +121,18 @@
|
|||||||
app:layout_constraintBottom_toBottomOf="parent"
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
app:layout_constraintEnd_toEndOf="parent" />
|
app:layout_constraintEnd_toEndOf="parent" />
|
||||||
|
|
||||||
|
<com.google.android.material.floatingactionbutton.FloatingActionButton
|
||||||
|
android:id="@+id/entry_list"
|
||||||
|
style="@style/Theme.UiTemplate.FAB.AccentColor"
|
||||||
|
android:layout_width="wrap_content"
|
||||||
|
android:layout_height="wrap_content"
|
||||||
|
android:layout_marginEnd="320dp"
|
||||||
|
android:contentDescription="@string/profile_scan_button"
|
||||||
|
android:src="@drawable/ic_list"
|
||||||
|
app:maxImageSize="30dp"
|
||||||
|
app:layout_constraintBottom_toBottomOf="parent"
|
||||||
|
app:layout_constraintEnd_toEndOf="parent" />
|
||||||
|
|
||||||
|
|
||||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||||
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
</androidx.swiperefreshlayout.widget.SwipeRefreshLayout>
|
8
app/src/main/res/values/card_view_style.xml
Normal file
8
app/src/main/res/values/card_view_style.xml
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8"?>
|
||||||
|
<resources>
|
||||||
|
<style name="Theme.UiTemplate.CardView" parent="Widget.MaterialComponents.CardView">
|
||||||
|
<item name="cardBackgroundColor">@color/BackgroundGray</item>
|
||||||
|
<item name="cardElevation">0dp</item>
|
||||||
|
<item name="cardCornerRadius">30dp</item>
|
||||||
|
</style>
|
||||||
|
</resources>
|
Loading…
x
Reference in New Issue
Block a user