parent
900334d9aa
commit
12b5c30308
@ -1,15 +0,0 @@
|
||||
package com.example.ceshi;
|
||||
|
||||
import android.content.Intent;
|
||||
import android.view.View;
|
||||
import android.widget.Button;
|
||||
import androidx.appcompat.app.AppCompatActivity;
|
||||
import android.os.Bundle;
|
||||
public class collection extends AppCompatActivity {
|
||||
|
||||
@Override
|
||||
protected void onCreate(Bundle savedInstanceState) {
|
||||
super.onCreate(savedInstanceState);
|
||||
setContentView(R.layout.collview);
|
||||
}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package com.baidu.ai.aip;
|
||||
package com.transfer;
|
||||
|
||||
import org.json.JSONObject;
|
||||
|
@ -1,5 +1,5 @@
|
||||
|
||||
package com.baidu.ai.aip;
|
||||
package com.transfer;
|
||||
|
||||
import com.baidu.ai.aip.utils.HttpUtil;
|
||||
import com.baidu.ai.aip.utils.GsonUtils;
|
@ -1,5 +1,5 @@
|
||||
|
||||
package com.baidu.ai.aip;
|
||||
package com.transfer;
|
||||
|
||||
import android.graphics.Bitmap;
|
||||
|
@ -1,7 +1,4 @@
|
||||
package com.baidu.ai.aip;
|
||||
|
||||
import com.baidu.ai.aip.ImgCombination;
|
||||
import com.example.ceshi.four;
|
||||
package com.transfer;
|
||||
|
||||
public class ToIngredient{
|
||||
String name_odds="AAAAAAAAAAAA";
|
@ -0,0 +1,121 @@
|
||||
<?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"
|
||||
android:gravity=""
|
||||
android:orientation="vertical"
|
||||
tools:context=".CollectActivity">
|
||||
<!-- <ImageView-->
|
||||
<!-- android:layout_gravity="center"-->
|
||||
<!-- android:background="@mipmap/ic_launcher"-->
|
||||
<!-- android:layout_width="100dp"-->
|
||||
<!-- android:layout_height="100dp">-->
|
||||
<!-- </ImageView>-->
|
||||
<EditText
|
||||
android:id="@+id/username"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:hint="标题"></EditText>
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="69dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<EditText
|
||||
android:id="@+id/password"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:hint="内容"></EditText>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
||||
<!-- <EditText-->
|
||||
<!-- android:id="@+id/password"-->
|
||||
<!-- android:layout_width="match_parent"-->
|
||||
<!-- android:layout_height="wrap_content"-->
|
||||
<!-- android:hint="内容"></EditText>-->
|
||||
|
||||
<!-- <Button-->
|
||||
<!-- android:id="@+id/buttonadd"-->
|
||||
<!-- android:layout_width="207dp"-->
|
||||
<!-- android:layout_height="50dp"-->
|
||||
|
||||
<!-- android:text="添加收藏"></Button>-->
|
||||
|
||||
|
||||
<!-- <EditText-->
|
||||
<!-- android:id="@+id/selectuser"-->
|
||||
<!-- android:layout_width="match_parent"-->
|
||||
<!-- android:layout_height="wrap_content"-->
|
||||
<!-- android:hint="标题"></EditText>-->
|
||||
|
||||
<!-- <Button-->
|
||||
<!-- android:id="@+id/buttondelete"-->
|
||||
<!-- android:layout_width="match_parent"-->
|
||||
<!-- android:layout_height="50dp"-->
|
||||
|
||||
<!-- android:text="删除"></Button>-->
|
||||
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
android:id="@+id/buttonadd"
|
||||
android:layout_width="221dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
|
||||
android:text="添加"></Button>
|
||||
|
||||
<Button
|
||||
android:id="@+id/buttondelete"
|
||||
android:layout_width="213dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
|
||||
android:text="删除"></Button>
|
||||
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/buttonselect"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
|
||||
android:text="查询"></Button>
|
||||
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/result"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text=""
|
||||
android:textSize="13sp" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
</ScrollView>
|
||||
|
||||
</LinearLayout>
|
@ -1,29 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
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=".first">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/five"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="我的收藏"
|
||||
android:textColor="#663399"
|
||||
android:textSize="25dp"
|
||||
app:layout_constraintBottom_toBottomOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintVertical_bias="0.321" />
|
||||
|
||||
<SearchView
|
||||
android:layout_width="407dp"
|
||||
android:layout_height="100dp"
|
||||
tools:ignore="MissingConstraints"
|
||||
tools:layout_editor_absoluteX="2dp"
|
||||
tools:layout_editor_absoluteY="16dp" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
Loading…
Reference in new issue