gridclient/gridmodule/src/main/res/layout/activity_school_emphases_detail.xml

114 lines
4.2 KiB
XML
Raw Normal View History

2022-03-25 15:24:43 +08:00
<?xml version="1.0" encoding="utf-8"?>
<androidx.core.widget.NestedScrollView xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:overScrollMode="never"
android:scrollbars="none">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<include layout="@layout/layout_base_info_detail" />
<LinearLayout
android:id="@+id/ll_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<androidx.cardview.widget.CardView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
app:cardCornerRadius="5dp"
app:cardPreventCornerOverlap="true"
app:cardUseCompatPadding="false">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="10dp">
<TextView
style="@style/issue_report_title"
android:padding="8dp"
android:text="其他信息"
android:textStyle="bold" />
<LinearLayout style="@style/item_gray">
<TextView
style="@style/item_title"
android:text="危害程度" />
<View style="@style/vertical_line" />
<TextView
android:id="@+id/tv_harm"
style="@style/item_content" />
</LinearLayout>
<LinearLayout style="@style/item_gray">
<TextView
style="@style/item_title"
android:layout_gravity="center_vertical"
android:text="重点关注" />
<View style="@style/vertical_line" />
<RelativeLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1">
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/sw_attention"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentRight="true"
android:background="@drawable/switch_ios_track_selector"
android:enabled="false"
android:switchMinWidth="40dp"
android:switchPadding="0dp"
android:textOff=""
android:textOn=""
app:showText="false"
app:splitTrack="false"
app:theme="@style/scstyle"
app:thumbTint="#00000000"
app:trackTint="#00000000" />
</RelativeLayout>
</LinearLayout>
<LinearLayout style="@style/item_gray">
<TextView
style="@style/item_title"
android:text="经纬度" />
<View style="@style/vertical_line" />
<TextView
android:id="@+id/tv_address_sel"
style="@style/item_content" />
</LinearLayout>
</LinearLayout>
</androidx.cardview.widget.CardView>
</LinearLayout>
</LinearLayout>
</androidx.core.widget.NestedScrollView>