Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wangsen
paddle_dbnet
Commits
4831431f
Commit
4831431f
authored
Feb 26, 2022
by
WenmuZhou
Browse files
rm load model btn
parent
06c7c840
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
40 additions
and
8 deletions
+40
-8
deploy/android_demo/app/src/main/res/layout/activity_main.xml
...oy/android_demo/app/src/main/res/layout/activity_main.xml
+40
-8
No files found.
deploy/android_demo/app/src/main/res/layout/activity_main.xml
View file @
4831431f
...
@@ -23,13 +23,7 @@
...
@@ -23,13 +23,7 @@
android:layout_height=
"wrap_content"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
>
android:orientation=
"horizontal"
>
<Button
android:id=
"@+id/btn_load_model"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:onClick=
"btn_load_model_click"
android:text=
"加载模型"
/>
<Button
<Button
android:id=
"@+id/btn_run_model"
android:id=
"@+id/btn_run_model"
android:layout_width=
"0dp"
android:layout_width=
"0dp"
...
@@ -52,7 +46,45 @@
...
@@ -52,7 +46,45 @@
android:onClick=
"btn_choice_img_click"
android:onClick=
"btn_choice_img_click"
android:text=
"选取图片"
/>
android:text=
"选取图片"
/>
<Button
android:id=
"@+id/btn_reset_img"
android:layout_width=
"0dp"
android:layout_height=
"wrap_content"
android:layout_weight=
"1"
android:onClick=
"btn_reset_img_click"
android:text=
"清空绘图"
/>
</LinearLayout>
</LinearLayout>
<LinearLayout
android:id=
"@+id/run_mode_layout"
android:layout_width=
"fill_parent"
android:layout_height=
"wrap_content"
android:orientation=
"horizontal"
>
<CheckBox
android:id=
"@+id/cb_opencl"
android:layout_width=
"0dp"
android:layout_weight=
"1"
android:layout_height=
"wrap_content"
android:text=
"开启OPENCL"
android:onClick=
"cb_opencl_click"
android:visibility=
"gone"
/>
<TextView
android:layout_width=
"0dp"
android:layout_weight=
"0.5"
android:layout_height=
"wrap_content"
android:text=
"运行模式:"
/>
<Spinner
android:id=
"@+id/sp_run_mode"
android:layout_width=
"0dp"
android:layout_weight=
"1.5"
android:layout_height=
"wrap_content"
android:entries=
"@array/run_Model"
/>
</LinearLayout>
<TextView
<TextView
android:id=
"@+id/tv_input_setting"
android:id=
"@+id/tv_input_setting"
android:layout_width=
"wrap_content"
android:layout_width=
"wrap_content"
...
@@ -60,7 +92,7 @@
...
@@ -60,7 +92,7 @@
android:scrollbars=
"vertical"
android:scrollbars=
"vertical"
android:layout_marginLeft=
"12dp"
android:layout_marginLeft=
"12dp"
android:layout_marginRight=
"12dp"
android:layout_marginRight=
"12dp"
android:layout_marginTop=
"
10
dp"
android:layout_marginTop=
"
5
dp"
android:layout_marginBottom=
"5dp"
android:layout_marginBottom=
"5dp"
android:lineSpacingExtra=
"4dp"
android:lineSpacingExtra=
"4dp"
android:singleLine=
"false"
android:singleLine=
"false"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment