parent
7afbdc20a0
commit
c7f69443ff
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true" android:drawable="@drawable/shape_corner_up_pressed">
|
||||
</item>
|
||||
<item android:drawable="@drawable/shape_corner_up">
|
||||
</item>
|
||||
</selector>
|
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true" android:drawable="@drawable/shape_corner_normal_pressed">
|
||||
</item>
|
||||
<item android:drawable="@drawable/shape_corner_normal">
|
||||
</item>
|
||||
</selector>
|
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_pressed="true" android:drawable="@drawable/shape_corner_down_pressed">
|
||||
</item>
|
||||
<item android:drawable="@drawable/shape_corner_down">
|
||||
</item>
|
||||
</selector>
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:bottomLeftRadius="20dp"
|
||||
android:bottomRightRadius="20dp"
|
||||
android:topLeftRadius="20dp"
|
||||
android:topRightRadius="20dp" />
|
||||
</shape>
|
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/white" />
|
||||
<corners android:bottomLeftRadius="20dp"
|
||||
android:bottomRightRadius="20dp" />
|
||||
<stroke android:width="1dp" android:color="@color/grey_1" />
|
||||
</shape>
|
@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/grey_1" />
|
||||
<corners android:bottomLeftRadius="20dp"
|
||||
android:bottomRightRadius="20dp" />
|
||||
<stroke android:width="1dp" android:color="@color/grey_1" />
|
||||
</shape>
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/white" />
|
||||
<stroke android:width="1dp" android:color="@color/grey_1" />
|
||||
</shape>
|
@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/grey_1" />
|
||||
<stroke android:width="1dp" android:color="@color/grey_1" />
|
||||
</shape>
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/white" />
|
||||
<corners
|
||||
android:topLeftRadius="20dp"
|
||||
android:topRightRadius="20dp" />
|
||||
<stroke android:width="1dp" android:color="@color/grey_1" />
|
||||
</shape>
|
@ -0,0 +1,8 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<solid android:color="@color/grey_1" />
|
||||
<corners
|
||||
android:topLeftRadius="20dp"
|
||||
android:topRightRadius="20dp" />
|
||||
<stroke android:width="1dp" android:color="@color/grey_1" />
|
||||
</shape>
|
@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:background="@drawable/shape_corner">
|
||||
<Button
|
||||
android:id="@+id/author"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="作者:\t ThankVinci(柯承彬)"
|
||||
android:textAllCaps="false"
|
||||
style="@style/author_btn"
|
||||
tools:ignore="MissingConstraints" />
|
||||
<Button
|
||||
android:id="@+id/contact"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="联系:\t thankvinci@163.com"
|
||||
android:textAllCaps="false"
|
||||
style="@style/between_btn"
|
||||
app:layout_constraintTop_toBottomOf="@id/author"
|
||||
tools:ignore="MissingConstraints" />
|
||||
<Button
|
||||
android:id="@+id/thanks"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="感谢:\t bili@伊鸭嗒(图标设计,UI建议)"
|
||||
android:textAllCaps="false"
|
||||
style="@style/between_btn"
|
||||
app:layout_constraintTop_toBottomOf="@id/contact"
|
||||
tools:ignore="MissingConstraints" />
|
||||
<Button
|
||||
android:id="@+id/check_ver"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="检查新版本"
|
||||
style="@style/check_btn"
|
||||
app:layout_constraintTop_toBottomOf="@id/thanks"
|
||||
tools:ignore="MissingConstraints" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="author_btn">
|
||||
<item name="android:background">@drawable/author_btn</item>
|
||||
</style>
|
||||
<style name="check_btn">
|
||||
<item name="android:background">@drawable/check_btn</item>
|
||||
</style>
|
||||
<style name="between_btn">
|
||||
<item name="android:background">@drawable/between_btn</item>
|
||||
</style>
|
||||
</resources>
|
Loading…
Reference in new issue