安卓代码初始化

This commit is contained in:
limqhz
2020-06-21 10:26:17 +08:00
parent 8cce7a7282
commit 98d750b5f6
94 changed files with 5564 additions and 37 deletions

View File

@@ -0,0 +1,111 @@
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout 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"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".setting.SDSettingActivity"
android:background="@color/bg_color"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="50dp"
android:background="@color/white">
<RelativeLayout
android:id="@+id/back_button"
android:layout_width="50dp"
android:layout_height="50dp">
<ImageView
android:layout_width="15dp"
android:layout_height="25dp"
android:src="@mipmap/app_img_ico_back"
android:layout_centerInParent="true"/>
</RelativeLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/setting"
android:layout_centerInParent="true"
android:textSize="18sp"/>
</RelativeLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="30dp"
android:paddingLeft="10dp">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/camera_stting_type_title"
android:layout_centerVertical="true"/>
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<LinearLayout
android:id="@+id/camer_cell_1"
android:layout_width="match_parent"
android:layout_height="60dp"
android:paddingLeft="10dp"
android:gravity="center_vertical"
android:orientation="horizontal">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/camera_1"
android:textSize="20dp"
android:textStyle="bold"
android:layout_weight="1"/>
<ImageView
android:id="@+id/camer_check_1"
android:layout_width="20dp"
android:layout_height="20dp"
android:src="@mipmap/ico_check"
android:layout_marginRight="20dp"
android:visibility="gone"/>
</LinearLayout>
</RelativeLayout>
<View
android:layout_width="match_parent"
android:layout_height="1px"
android:background="@color/color_gray"></View>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<LinearLayout
android:id="@+id/camer_cell_2"
android:layout_width="match_parent"
android:layout_height="60dp"
android:paddingLeft="10dp"
android:gravity="center_vertical">
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:text="@string/camera_2"
android:textSize="20dp"
android:textStyle="bold"
android:layout_weight="1"/>
<ImageView
android:id="@+id/camer_check_2"
android:layout_width="20dp"
android:layout_height="20dp"
android:src="@mipmap/ico_check"
android:layout_marginRight="20dp"
android:visibility="gone"/>
</LinearLayout>
</RelativeLayout>
</LinearLayout>
</LinearLayout>