第一次提交
This commit is contained in:
48
app/src/main/res/layout/item_goddess.xml
Normal file
48
app/src/main/res/layout/item_goddess.xml
Normal file
@@ -0,0 +1,48 @@
|
||||
<?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="match_parent"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:viewBindingIgnore="true"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="@dimen/dp16">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_goddess_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center_vertical"
|
||||
android:text="?"
|
||||
android:textColor="@color/one_text"
|
||||
android:textSize="16sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/item_goddess_tips"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:textColor="@color/two_text"
|
||||
android:text="开启" />
|
||||
|
||||
<Switch
|
||||
android:layout_toLeftOf="@id/item_goddess_tips"
|
||||
android:layout_marginRight="@dimen/dp12"
|
||||
android:id="@+id/item_goddess_switch"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true" />
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.3px"
|
||||
android:background="@color/two_text" />
|
||||
|
||||
</LinearLayout>
|
||||
Reference in New Issue
Block a user