forked from ifmvo/BottomTabView
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathview_tab_item.xml
More file actions
26 lines (23 loc) · 831 Bytes
/
view_tab_item.xml
File metadata and controls
26 lines (23 loc) · 831 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/viewTabView"
android:orientation="vertical"
android:layout_width="match_parent"
android:background="?android:selectableItemBackground"
android:gravity="center"
android:layout_height="match_parent">
<ImageView
android:id="@+id/ivIcon"
android:layout_weight="1"
android:src="@mipmap/ic_launcher_round"
android:layout_width="match_parent"
android:layout_height="match_parent" />
<TextView
android:id="@+id/tvTitle"
android:layout_weight="1"
android:gravity="center"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="标题"/>
</LinearLayout>