mirror of https://github.com/kurisufriend/Clover
parent
1d14b01be8
commit
75d6583ff6
@ -0,0 +1,16 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<inset xmlns:android="http://schemas.android.com/apk/res/android" |
||||||
|
android:insetLeft="8dp" |
||||||
|
android:insetTop="8dp" |
||||||
|
android:insetRight="8dp" |
||||||
|
android:insetBottom="8dp" > |
||||||
|
<shape> |
||||||
|
<solid |
||||||
|
android:color="#FF0099CC" /> |
||||||
|
|
||||||
|
<corners |
||||||
|
android:radius="4dp" /> |
||||||
|
|
||||||
|
</shape> |
||||||
|
|
||||||
|
</inset> |
@ -1,23 +0,0 @@ |
|||||||
<?xml version="1.0" encoding="utf-8"?> |
|
||||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" |
|
||||||
android:layout_width="match_parent" |
|
||||||
android:layout_height="wrap_content" > |
|
||||||
<TextView |
|
||||||
android:id="@+id/drawer_item_text" |
|
||||||
android:layout_width="match_parent" |
|
||||||
android:layout_height="wrap_content" |
|
||||||
android:minHeight="48dp" |
|
||||||
android:paddingTop="8dp" |
|
||||||
android:paddingBottom="8dp" |
|
||||||
android:paddingLeft="16dp" |
|
||||||
android:paddingRight="56dp" |
|
||||||
android:textSize="19sp" |
|
||||||
android:textColor="#fff" |
|
||||||
android:gravity="center_vertical" |
|
||||||
android:ellipsize="end" |
|
||||||
android:lines="1" |
|
||||||
android:singleLine="true" |
|
||||||
android:orientation="vertical" > |
|
||||||
</TextView> |
|
||||||
</LinearLayout> |
|
||||||
|
|
@ -0,0 +1,41 @@ |
|||||||
|
<?xml version="1.0" encoding="utf-8"?> |
||||||
|
<LinearLayout |
||||||
|
xmlns:android="http://schemas.android.com/apk/res/android" |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="48dp" |
||||||
|
android:orientation="horizontal" > |
||||||
|
|
||||||
|
<TextView |
||||||
|
android:id="@+id/drawer_item_text" |
||||||
|
android:layout_width="0dp" |
||||||
|
android:layout_height="48dp" |
||||||
|
android:layout_weight="1" |
||||||
|
android:paddingTop="8dp" |
||||||
|
android:paddingBottom="8dp" |
||||||
|
android:paddingLeft="16dp" |
||||||
|
android:paddingRight="8dp" |
||||||
|
android:textSize="19sp" |
||||||
|
android:textColor="#fff" |
||||||
|
android:gravity="center_vertical" |
||||||
|
android:ellipsize="end" |
||||||
|
android:lines="1" |
||||||
|
android:singleLine="true"> |
||||||
|
</TextView> |
||||||
|
|
||||||
|
<FrameLayout |
||||||
|
android:background="@drawable/pin_icon" |
||||||
|
android:layout_width="48dp" |
||||||
|
android:layout_height="48dp" > |
||||||
|
|
||||||
|
<TextView |
||||||
|
android:id="@+id/drawer_item_count" |
||||||
|
android:layout_width="match_parent" |
||||||
|
android:layout_height="match_parent" |
||||||
|
android:gravity="center" |
||||||
|
android:textSize="16dp" |
||||||
|
android:textColor="#fff" |
||||||
|
android:text="99+" /> |
||||||
|
|
||||||
|
</FrameLayout> |
||||||
|
|
||||||
|
</LinearLayout> |
Loading…
Reference in new issue