Labels in address book FAM (using FAB library 1.3.0)
This commit is contained in:
@@ -21,7 +21,8 @@
|
||||
android:layout_marginEnd="@dimen/listitem_horizontal_margin"
|
||||
android:layout_marginRight="@dimen/listitem_horizontal_margin"
|
||||
app:fab_addButtonColorNormal="@color/accent"
|
||||
app:fab_addButtonColorPressed="@color/accent_dark">
|
||||
app:fab_addButtonColorPressed="@color/accent_dark"
|
||||
app:fab_labelStyle="@style/menu_labels_style">
|
||||
|
||||
<net.i2p.android.ext.floatingactionbutton.FloatingActionButton
|
||||
android:id="@+id/action_scan_qr_code"
|
||||
@@ -29,7 +30,8 @@
|
||||
android:layout_height="wrap_content"
|
||||
app:fab_colorNormal="@color/accent"
|
||||
app:fab_colorPressed="@color/accent_dark"
|
||||
app:fab_icon="@drawable/ic_scan_qr_code_white_24dp"/>
|
||||
app:fab_icon="@drawable/ic_scan_qr_code_white_24dp"
|
||||
app:fab_title="@string/action_scan_qr_code"/>
|
||||
|
||||
<net.i2p.android.ext.floatingactionbutton.FloatingActionButton
|
||||
android:id="@+id/action_new_contact"
|
||||
@@ -37,6 +39,7 @@
|
||||
android:layout_height="wrap_content"
|
||||
app:fab_colorNormal="@color/accent"
|
||||
app:fab_colorPressed="@color/accent_dark"
|
||||
app:fab_icon="@drawable/ic_person_add_white_24dp"/>
|
||||
app:fab_icon="@drawable/ic_person_add_white_24dp"
|
||||
app:fab_title="@string/action_new_contact"/>
|
||||
</net.i2p.android.ext.floatingactionbutton.FloatingActionsMenu>
|
||||
</RelativeLayout>
|
||||
@@ -15,4 +15,6 @@
|
||||
<color name="green">#4caf50</color>
|
||||
<color name="red">#f44336</color>
|
||||
|
||||
<color name="black_semi_transparent">#B2000000</color>
|
||||
|
||||
</resources>
|
||||
|
||||
@@ -124,6 +124,7 @@
|
||||
<string name="address_book_empty">Address book is empty</string>
|
||||
<string name="share">Share</string>
|
||||
<string name="action_new_contact">New contact</string>
|
||||
<string name="action_scan_qr_code">Scan QR code</string>
|
||||
<string name="edit_contact">Edit contact</string>
|
||||
<string name="select_a_picture">Select a picture</string>
|
||||
<string name="no_image_cropping_app_found">No image cropping app found</string>
|
||||
|
||||
@@ -56,4 +56,9 @@
|
||||
<item name="android:layout_height">match_parent</item>
|
||||
</style>
|
||||
|
||||
<style name="menu_labels_style">
|
||||
<item name="android:background">@drawable/fab_label_background</item>
|
||||
<item name="android:textColor">@android:color/white</item>
|
||||
</style>
|
||||
|
||||
</resources>
|
||||
|
||||
Reference in New Issue
Block a user