feat:update doric devkit ui

This commit is contained in:
pengfei.zhou 2021-07-09 18:53:51 +08:00 committed by osborn
parent dbe94165b9
commit 227cc09824
3 changed files with 155 additions and 65 deletions

File diff suppressed because one or more lines are too long

Binary file not shown.

Before

Width:  |  Height:  |  Size: 7.9 KiB

View File

@ -6,7 +6,7 @@
<LinearLayout <LinearLayout
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="60dp" android:layout_height="wrap_content"
android:background="#70a1ff" android:background="#70a1ff"
android:orientation="horizontal" android:orientation="horizontal"
android:paddingLeft="15dp" android:paddingLeft="15dp"
@ -18,16 +18,26 @@
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginRight="20dp"
android:text="Devkit" android:text="Devkit"
android:textColor="#ced6e0" android:textColor="#ced6e0"
android:textSize="30dp" /> android:textSize="30dp" />
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="horizontal">
<TextView <TextView
android:id="@+id/tv_connect_info" android:id="@+id/tv_connect_info"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:layout_gravity="center_vertical" android:layout_gravity="center_vertical"
android:layout_marginLeft="20dp"
android:background="#a4b0be" android:background="#a4b0be"
android:paddingLeft="10dp" android:paddingLeft="10dp"
android:paddingTop="3dp" android:paddingTop="3dp"
@ -38,8 +48,8 @@
android:textSize="12dp" /> android:textSize="12dp" />
<View <View
android:layout_width="wrap_content" android:layout_width="0dp"
android:layout_height="wrap_content" android:layout_height="0dp"
android:layout_weight="1" /> android:layout_weight="1" />
<TextView <TextView
@ -89,6 +99,50 @@
android:visibility="visible" /> android:visibility="visible" />
</LinearLayout> </LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:gravity="center_vertical"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Record Snapshot"
android:textColor="#dfe4ea"
android:textSize="15dp" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/switch_snapshot"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp" />
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="5dp"
android:gravity="center_vertical"
android:orientation="horizontal">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="Performance"
android:textColor="#dfe4ea"
android:textSize="15dp" />
<androidx.appcompat.widget.SwitchCompat
android:id="@+id/switch_profile"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="10dp" />
</LinearLayout>
</LinearLayout>
</LinearLayout>
<androidx.recyclerview.widget.RecyclerView <androidx.recyclerview.widget.RecyclerView
android:id="@+id/list" android:id="@+id/list"
android:layout_width="match_parent" android:layout_width="match_parent"