Rabbit-R1/original r1/smali/res/layout/design_bottom_navigation_item.xml

12 lines
1.9 KiB
XML
Raw Normal View History

2024-05-21 21:08:36 +00:00
<?xml version="1.0" encoding="utf-8"?>
<merge
xmlns:android="http://schemas.android.com/apk/res/android">
<FrameLayout android:layout_gravity="center_horizontal" android:id="@id/navigation_bar_item_icon_container" android:duplicateParentState="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/design_bottom_navigation_margin" android:layout_marginBottom="@dimen/design_bottom_navigation_margin">
<View android:layout_gravity="center" android:id="@id/navigation_bar_item_active_indicator_view" android:layout_width="0.0dip" android:layout_height="0.0dip" />
<ImageView android:layout_gravity="center" android:id="@id/navigation_bar_item_icon_view" android:duplicateParentState="true" android:layout_width="24.0dip" android:layout_height="24.0dip" android:contentDescription="@null" />
</FrameLayout>
<com.google.android.material.internal.BaselineLayout android:layout_gravity="bottom|center" android:id="@id/navigation_bar_item_labels_group" android:paddingBottom="@dimen/design_bottom_navigation_label_padding" android:duplicateParentState="true" android:clipChildren="false" android:clipToPadding="false" android:layout_width="wrap_content" android:layout_height="wrap_content">
<TextView android:textSize="@dimen/design_bottom_navigation_text_size" android:ellipsize="end" android:id="@id/navigation_bar_item_small_label_view" android:duplicateParentState="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="1" />
<TextView android:textSize="@dimen/design_bottom_navigation_active_text_size" android:ellipsize="end" android:id="@id/navigation_bar_item_large_label_view" android:visibility="invisible" android:duplicateParentState="true" android:layout_width="wrap_content" android:layout_height="wrap_content" android:maxLines="1" />
</com.google.android.material.internal.BaselineLayout>
</merge>