mirror of
https://github.com/fankes/MIUINativeNotifyIcon.git
synced 2025-09-06 10:45:20 +08:00
更新模块 UI
This commit is contained in:
@@ -7,7 +7,7 @@
|
|||||||
android:background="@color/colorThemeBackground"
|
android:background="@color/colorThemeBackground"
|
||||||
android:orientation="vertical"
|
android:orientation="vertical"
|
||||||
tools:context=".ui.activity.MainActivity"
|
tools:context=".ui.activity.MainActivity"
|
||||||
tools:ignore="HardcodedText,UseCompoundDrawables,ContentDescription">
|
tools:ignore="HardcodedText,UseCompoundDrawables,ContentDescription,TooManyViews">
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
@@ -29,27 +29,27 @@
|
|||||||
android:textSize="25sp"
|
android:textSize="25sp"
|
||||||
android:textStyle="bold" />
|
android:textStyle="bold" />
|
||||||
|
|
||||||
<androidx.constraintlayout.utils.widget.ImageFilterView
|
|
||||||
android:id="@+id/title_github_icon"
|
|
||||||
style="?android:attr/selectableItemBackgroundBorderless"
|
|
||||||
android:layout_width="27dp"
|
|
||||||
android:layout_height="27dp"
|
|
||||||
android:layout_marginEnd="15dp"
|
|
||||||
android:alpha="0.85"
|
|
||||||
android:src="@mipmap/ic_github"
|
|
||||||
android:tint="@color/colorTextGray"
|
|
||||||
android:tooltipText="项目地址" />
|
|
||||||
|
|
||||||
<androidx.constraintlayout.utils.widget.ImageFilterView
|
<androidx.constraintlayout.utils.widget.ImageFilterView
|
||||||
android:id="@+id/title_restart_icon"
|
android:id="@+id/title_restart_icon"
|
||||||
style="?android:attr/selectableItemBackgroundBorderless"
|
style="?android:attr/selectableItemBackgroundBorderless"
|
||||||
android:layout_width="28dp"
|
android:layout_width="28dp"
|
||||||
android:layout_height="28dp"
|
android:layout_height="28dp"
|
||||||
android:layout_marginEnd="5dp"
|
android:layout_marginEnd="15dp"
|
||||||
android:alpha="0.85"
|
android:alpha="0.85"
|
||||||
android:src="@mipmap/ic_restart"
|
android:src="@mipmap/ic_restart"
|
||||||
android:tint="@color/colorTextGray"
|
android:tint="@color/colorTextGray"
|
||||||
android:tooltipText="重启系统界面" />
|
android:tooltipText="重启系统界面" />
|
||||||
|
|
||||||
|
<androidx.constraintlayout.utils.widget.ImageFilterView
|
||||||
|
android:id="@+id/title_github_icon"
|
||||||
|
style="?android:attr/selectableItemBackgroundBorderless"
|
||||||
|
android:layout_width="27dp"
|
||||||
|
android:layout_height="27dp"
|
||||||
|
android:layout_marginEnd="5dp"
|
||||||
|
android:alpha="0.85"
|
||||||
|
android:src="@mipmap/ic_github"
|
||||||
|
android:tint="@color/colorTextGray"
|
||||||
|
android:tooltipText="项目地址" />
|
||||||
</LinearLayout>
|
</LinearLayout>
|
||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
|
Reference in New Issue
Block a user