version
fix: update:基本界面完成
This commit is contained in:
112
app/src/main/res/layout/fragment_safe.xml
Normal file
112
app/src/main/res/layout/fragment_safe.xml
Normal file
@@ -0,0 +1,112 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
tools:context=".fragment.safe.SafeFragment">
|
||||
|
||||
<data>
|
||||
|
||||
<variable
|
||||
name="click"
|
||||
type="com.handuan.os.fragment.safe.SafeFragment.BtnClick" />
|
||||
</data>
|
||||
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="555dp"
|
||||
android:layout_height="300dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:orientation="vertical"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/bg_shape_212562_40"
|
||||
android:orientation="vertical"
|
||||
android:padding="12dp">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/tv_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:text="平板守护功能"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="12dp"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="bottom"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:text="智能护眼,专注学习"
|
||||
android:textColor="#b3b1ca"
|
||||
android:textSize="9dp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="9dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<com.handuan.os.view.jxw.view.AlphaImageView
|
||||
android:layout_width="169dp"
|
||||
android:layout_height="94dp"
|
||||
android:background="@drawable/icon_bbx_znhy"
|
||||
android:onClick="onClick"
|
||||
android:tag="@string/tag_args_new_znhy" />
|
||||
|
||||
<com.handuan.os.view.jxw.view.AlphaImageView
|
||||
android:layout_width="169dp"
|
||||
android:layout_height="94dp"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:background="@drawable/icon_bbx_jzgk"
|
||||
android:onClick="onClick"
|
||||
android:tag="@string/tag_args_new_jzgl" />
|
||||
|
||||
<com.handuan.os.view.jxw.view.AlphaImageView
|
||||
android:layout_width="169dp"
|
||||
android:layout_height="94dp"
|
||||
android:layout_marginLeft="12dp"
|
||||
android:background="@drawable/icon_bbx_yysd"
|
||||
android:onClick="onClick"
|
||||
android:tag="@string/tag_args_new_xwscx" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/rela_root"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="162dp"
|
||||
android:layout_marginLeft="25dp"
|
||||
android:layout_marginTop="6dp"
|
||||
android:layout_marginRight="25dp">
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/gridView_id"
|
||||
style="@style/vertical_style"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginTop="9dp" />
|
||||
</RelativeLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
</layout>
|
||||
Reference in New Issue
Block a user