动态选择图片修改
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<corners android:radius="100dp" />
|
||||
<gradient
|
||||
android:angle="180"
|
||||
android:endColor="#4DFFA936"
|
||||
android:startColor="#4DFFCB47"
|
||||
android:type="linear"
|
||||
android:useLevel="true" />
|
||||
</shape>
|
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<gradient
|
||||
android:angle="180"
|
||||
android:endColor="#19EBFF"
|
||||
android:startColor="#ED66FF"
|
||||
android:type="linear"
|
||||
android:useLevel="true" />
|
||||
<corners android:radius="28dp" />
|
||||
|
||||
</shape>
|
@@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<solid android:color="#FFFFFF" />
|
||||
|
||||
<corners android:radius="20dp" />
|
||||
</shape>
|
@@ -3,49 +3,51 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
android:background="@drawable/shape_white_20dp_round"
|
||||
android:orientation="vertical"
|
||||
tools:background="@color/black_transparent_10">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_rationale"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_horizontal"
|
||||
android:minHeight="50dp"
|
||||
android:padding="15dp"
|
||||
android:textColor="#555555"
|
||||
android:layout_marginTop="26dp"
|
||||
android:layout_marginBottom="32dp"
|
||||
android:gravity="center"
|
||||
android:lineSpacingMultiplier="1.2"
|
||||
android:paddingStart="20dp"
|
||||
android:paddingEnd="20dp"
|
||||
android:textColor="@color/color_333333"
|
||||
android:textSize="14sp"
|
||||
tools:text="殴打司法局案件司法局OA四季豆覅降低" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_marginTop="15dp"
|
||||
android:layout_marginBottom="15dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginBottom="24dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_cancel"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="120dp"
|
||||
android:layout_height="38dp"
|
||||
android:layout_marginEnd="16dp"
|
||||
android:background="@drawable/bg_common_cancel"
|
||||
android:gravity="center"
|
||||
android:textColor="#555555"
|
||||
android:textSize="14sp"
|
||||
tools:text="取消" />
|
||||
android:text="@string/cancel"
|
||||
android:textColor="@color/color_7154EE"
|
||||
android:textSize="15sp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_ok"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_weight="1"
|
||||
android:layout_width="120dp"
|
||||
android:layout_height="38dp"
|
||||
android:background="@drawable/bg_common_confirm_normal"
|
||||
android:gravity="center"
|
||||
android:textColor="#555555"
|
||||
android:textSize="14sp"
|
||||
tools:text="确定" />
|
||||
android:text="@string/sure"
|
||||
android:textColor="@color/color_white"
|
||||
android:textSize="15sp" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
@@ -4,4 +4,7 @@
|
||||
<color name="colorEasyPrimary">#ff212121</color>
|
||||
<color name="colorEasyPrimaryDark">@android:color/black</color>
|
||||
<color name="colorEasyAccent">#ff80cbc4</color>
|
||||
<color name="black_transparent_10">#1A000000</color>
|
||||
<color name="color_333333">#333333</color>
|
||||
<color name="color_7154EE">#FFA936</color>
|
||||
</resources>
|
||||
|
@@ -2,4 +2,6 @@
|
||||
<string name="rationale_ask">如果沒有請求的權限,此應用程式可能無法正常工作。</string>
|
||||
<string name="rationale_ask_again">如果沒有請求的權限,此應用程式可能無法正常工作,打開應用設置頁面以修改應用權限。</string>
|
||||
<string name="title_settings_dialog">所需權限</string>
|
||||
<string name="sure">確定</string>
|
||||
<string name="cancel">取消</string>
|
||||
</resources>
|
||||
|
Reference in New Issue
Block a user