|
|
@@ -0,0 +1,36 @@
|
|
|
+<?xml version="1.0" encoding="utf-8"?>
|
|
|
+<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content">
|
|
|
+
|
|
|
+ <LinearLayout
|
|
|
+ android:layout_width="match_parent"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:background="@drawable/bg_permission_tip"
|
|
|
+ android:gravity="center_vertical"
|
|
|
+ android:orientation="horizontal">
|
|
|
+
|
|
|
+ <TextView
|
|
|
+ android:id="@+id/tip"
|
|
|
+ android:layout_width="0dp"
|
|
|
+ android:layout_height="wrap_content"
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
+ android:layout_marginTop="3dp"
|
|
|
+ android:layout_marginBottom="3dp"
|
|
|
+ android:layout_weight="1"
|
|
|
+ android:ellipsize="end"
|
|
|
+ android:maxLines="1"
|
|
|
+ android:text="@string/paste_permission_tip"
|
|
|
+ android:textColor="@color/text_permission_tip"
|
|
|
+ android:textSize="11sp"
|
|
|
+ android:textStyle="normal" />
|
|
|
+
|
|
|
+ <ImageView
|
|
|
+ android:id="@+id/close_btn"
|
|
|
+ android:layout_width="10dp"
|
|
|
+ android:layout_height="10dp"
|
|
|
+ android:layout_marginStart="8dp"
|
|
|
+ android:layout_marginEnd="8dp"
|
|
|
+ android:src="@mipmap/ic_close" />
|
|
|
+ </LinearLayout>
|
|
|
+</FrameLayout>
|