임시 저장

This commit is contained in:
DESKTOP-1A3P75F\lee
2022-08-29 14:31:59 +09:00
parent 899b4e5f17
commit e9175f7ba0
50 changed files with 2273 additions and 40 deletions

34
.idea/misc.xml generated
View File

@@ -35,6 +35,40 @@
<entry key="..\:/QTagger/QTagger_Android2/app/src/main/res/menu/bottom_nav_menu.xml" value="0.25598290598290596" />
<entry key="..\:/QTagger/QTagger_Android2/app/src/main/res/xml/usb_device_filter.xml" value="0.31302083333333336" />
<entry key="..\:/QTagger/QTagger_Android3/app/src/main/res/layout/activity_main.xml" value="0.2692502532928065" />
<entry key="..\:/QTagger/a/QTagger_Android/app/src/main/res/drawable/spinner_background.xml" value="0.4775" />
<entry key="..\:/QTagger/a/QTagger_Android1/app/src/main/res/drawable/searchview_background.xml" value="0.316" />
<entry key="..\:/QTagger/a/QTagger_Android1/app/src/main/res/drawable/spinner_background.xml" value="0.4775" />
<entry key="..\:/QTagger/a/QTagger_Android1/app/src/main/res/layout/activity_main.xml" value="0.5536458333333333" />
<entry key="..\:/QTagger/a/QTagger_Android1/app/src/main/res/layout/activity_test.xml" value="0.5536458333333333" />
<entry key="..\:/QTagger/a/QTagger_Android1/app/src/main/res/layout/fragment_select.xml" value="0.39739583333333334" />
<entry key="..\:/QTagger/a/QTagger_Android1/app/src/main/res/layout/fragment_setting.xml" value="0.5536458333333333" />
<entry key="..\:/QTagger/a/QTagger_Android1/app/src/main/res/layout/fragment_shot.xml" value="0.5" />
<entry key="..\:/QTagger/a/QTagger_Android2/app/src/main/res/layout/activity_test.xml" value="0.33061594202898553" />
<entry key="..\:/QTagger/a/QTagger_Android2/app/src/main/res/layout/fragment_select.xml" value="0.5536458333333333" />
<entry key="..\:/QTagger/a/QTagger_Android2/app/src/main/res/layout/fragment_shot.xml" value="0.33061594202898553" />
<entry key="..\:/QTagger/a/QTagger_Android2/app/src/main/res/xml/network_security_config.xml" value="0.33061594202898553" />
<entry key="..\:/QTagger/a/QTagger_Android3/app/src/main/res/drawable/button_normal_background.xml" value="0.4645" />
<entry key="..\:/QTagger/a/QTagger_Android3/app/src/main/res/drawable/image_squrebutton_background.xml" value="0.396" />
<entry key="..\:/QTagger/a/QTagger_Android3/app/src/main/res/drawable/squrebutton_background.xml" value="0.397" />
<entry key="..\:/QTagger/a/QTagger_Android3/app/src/main/res/layout/activity_account_list.xml" value="0.39739583333333334" />
<entry key="..\:/QTagger/a/QTagger_Android3/app/src/main/res/layout/activity_search.xml" value="0.39739583333333334" />
<entry key="..\:/QTagger/a/QTagger_Android3/app/src/main/res/layout/activity_test.xml" value="0.39739583333333334" />
<entry key="..\:/QTagger/a/QTagger_Android3/app/src/main/res/layout/activity_test2.xml" value="0.3828125" />
<entry key="..\:/QTagger/a/QTagger_Android3/app/src/main/res/layout/activity_test_select.xml" value="0.5536458333333333" />
<entry key="..\:/QTagger/a/QTagger_Android3/app/src/main/res/layout/fragment_barcode.xml" value="0.39739583333333334" />
<entry key="..\:/QTagger/a/QTagger_Android3/app/src/main/res/layout/fragment_capture.xml" value="0.39739583333333334" />
<entry key="..\:/QTagger/a/QTagger_Android3/app/src/main/res/layout/fragment_list.xml" value="0.39739583333333334" />
<entry key="..\:/QTagger/a/QTagger_Android3/app/src/main/res/layout/fragment_rfid.xml" value="0.39739583333333334" />
<entry key="..\:/QTagger/a/QTagger_Android3/app/src/main/res/layout/fragment_search.xml" value="0.39739583333333334" />
<entry key="..\:/QTagger/a/QTagger_Android3/app/src/main/res/layout/fragment_select.xml" value="0.5536458333333333" />
<entry key="..\:/QTagger/a/QTagger_Android3/app/src/main/res/layout/fragment_setting.xml" value="0.39739583333333334" />
<entry key="..\:/QTagger/a/QTagger_Android3/app/src/main/res/layout/fragment_shot.xml" value="0.39739583333333334" />
<entry key="..\:/QTagger/a/QTagger_Android4/app/src/main/res/layout/activity_search.xml" value="0.3848958333333333" />
<entry key="..\:/QTagger/a/QTagger_Android4/app/src/main/res/layout/activity_test2.xml" value="0.5536458333333333" />
<entry key="..\:/QTagger/a/QTagger_Android4/app/src/main/res/layout/fragment_capture.xml" value="0.5536458333333333" />
<entry key="..\:/QTagger/a/QTagger_Android4/app/src/main/res/layout/fragment_fill.xml" value="0.5536458333333333" />
<entry key="..\:/QTagger/a/QTagger_Android4/app/src/main/res/layout/fragment_photograph.xml" value="0.5" />
<entry key="..\:/QTagger/a/QTagger_Android4/app/src/main/res/layout/fragment_weight2.xml" value="0.5536458333333333" />
</map>
</option>
</component>

View File

@@ -7,7 +7,6 @@
<uses-permission android:name="android.permission.WAKE_LOCK" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.READ_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
<uses-permission android:name="android.permission.CAMERA" />
@@ -21,6 +20,7 @@
<uses-permission android:name="android.permission.BLUETOOTH" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" />
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE" />
<uses-permission android:name="android.permission.INTERNET" />
<application
android:allowBackup="true"
@@ -28,20 +28,34 @@
android:fullBackupContent="@xml/backup_rules"
android:icon="@mipmap/ic_launcher"
android:label="@string/app_name"
android:networkSecurityConfig="@xml/network_security_config"
android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true"
android:theme="@style/Theme.QTagger"
android:usesCleartextTraffic="true"
tools:targetApi="31">
<activity
android:name=".Activity.SettingActivity"
android:exported="false" />
<activity
android:name=".Activity.TestActivity"
android:exported="false" />
<activity
android:name=".Activity.SearchActivity"
android:exported="false" />
<activity
android:name=".Activity.TestSelectActivity"
android:exported="false" />
<activity
android:name=".Activity.PhotographyActivity"
android:exported="false" />
<activity
android:name=".Activity.NavigationActivity"
android:exported="false">
<intent-filter>
<action android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED" />
</intent-filter>
<meta-data
android:name="android.hardware.usb.action.USB_DEVICE_ATTACHED"
android:resource="@xml/usb_device_filter" />

View File

@@ -0,0 +1,77 @@
package com.qtagger.Activity.Search;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.qtagger.Activity.NavigationActivity;
import com.qtagger.Activity.SearchActivity;
import com.qtagger.R;
/**
* A simple {@link Fragment} subclass.
* Use the {@link BarcodeFragment#newInstance} factory method to
* create an instance of this fragment.
*/
public class BarcodeFragment extends Fragment {
// TODO: Rename parameter arguments, choose names that match
// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
private static final String ARG_PARAM1 = "param1";
private static final String ARG_PARAM2 = "param2";
// TODO: Rename and change types of parameters
private String mParam1;
private String mParam2;
public BarcodeFragment() {
// Required empty public constructor
}
/**
* Use this factory method to create a new instance of
* this fragment using the provided parameters.
*
* @param param1 Parameter 1.
* @param param2 Parameter 2.
* @return A new instance of fragment BarcodeFragment.
*/
// TODO: Rename and change types and number of parameters
public static BarcodeFragment newInstance(String param1, String param2) {
BarcodeFragment fragment = new BarcodeFragment();
Bundle args = new Bundle();
args.putString(ARG_PARAM1, param1);
args.putString(ARG_PARAM2, param2);
fragment.setArguments(args);
return fragment;
}
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (getArguments() != null) {
mParam1 = getArguments().getString(ARG_PARAM1);
mParam2 = getArguments().getString(ARG_PARAM2);
}
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.fragment_barcode, container, false);
view.findViewById(R.id.button_Ok).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
((SearchActivity) getActivity()).callTestActivity();
}
});
// Inflate the layout for this fragment
return view;
}
}

View File

@@ -0,0 +1,66 @@
package com.qtagger.Activity.Search;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.qtagger.R;
/**
* A simple {@link Fragment} subclass.
* Use the {@link ListFragment#newInstance} factory method to
* create an instance of this fragment.
*/
public class ListFragment extends Fragment {
// TODO: Rename parameter arguments, choose names that match
// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
private static final String ARG_PARAM1 = "param1";
private static final String ARG_PARAM2 = "param2";
// TODO: Rename and change types of parameters
private String mParam1;
private String mParam2;
public ListFragment() {
// Required empty public constructor
}
/**
* Use this factory method to create a new instance of
* this fragment using the provided parameters.
*
* @param param1 Parameter 1.
* @param param2 Parameter 2.
* @return A new instance of fragment ListFragment.
*/
// TODO: Rename and change types and number of parameters
public static ListFragment newInstance(String param1, String param2) {
ListFragment fragment = new ListFragment();
Bundle args = new Bundle();
args.putString(ARG_PARAM1, param1);
args.putString(ARG_PARAM2, param2);
fragment.setArguments(args);
return fragment;
}
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (getArguments() != null) {
mParam1 = getArguments().getString(ARG_PARAM1);
mParam2 = getArguments().getString(ARG_PARAM2);
}
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment
return inflater.inflate(R.layout.fragment_list, container, false);
}
}

View File

@@ -0,0 +1,74 @@
package com.qtagger.Activity.Search;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.qtagger.Activity.SearchActivity;
import com.qtagger.R;
/**
* A simple {@link Fragment} subclass.
* Use the {@link RfidFragment#newInstance} factory method to
* create an instance of this fragment.
*/
public class RfidFragment extends Fragment {
// TODO: Rename parameter arguments, choose names that match
// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
private static final String ARG_PARAM1 = "param1";
private static final String ARG_PARAM2 = "param2";
// TODO: Rename and change types of parameters
private String mParam1;
private String mParam2;
public RfidFragment() {
// Required empty public constructor
}
/**
* Use this factory method to create a new instance of
* this fragment using the provided parameters.
*
* @param param1 Parameter 1.
* @param param2 Parameter 2.
* @return A new instance of fragment RfidFragment.
*/
// TODO: Rename and change types and number of parameters
public static RfidFragment newInstance(String param1, String param2) {
RfidFragment fragment = new RfidFragment();
Bundle args = new Bundle();
args.putString(ARG_PARAM1, param1);
args.putString(ARG_PARAM2, param2);
fragment.setArguments(args);
return fragment;
}
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (getArguments() != null) {
mParam1 = getArguments().getString(ARG_PARAM1);
mParam2 = getArguments().getString(ARG_PARAM2);
}
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
View view = inflater.inflate(R.layout.fragment_rfid, container, false);
view.findViewById(R.id.button_Ok).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
((SearchActivity) getActivity()).callTestActivity();
}
});
// Inflate the layout for this fragment
return view;
}
}

View File

@@ -0,0 +1,72 @@
package com.qtagger.Activity;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.Fragment;
import android.content.Intent;
import android.os.Bundle;
import com.google.android.material.tabs.TabLayout;
import com.qtagger.Activity.Search.BarcodeFragment;
import com.qtagger.Activity.Search.ListFragment;
import com.qtagger.Activity.Search.RfidFragment;
import com.qtagger.R;
public class SearchActivity extends AppCompatActivity {
Fragment rfidFragment, barcodeFragment, listFragment;
boolean skipCheck;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_search);
Intent intent = getIntent();
skipCheck = intent.getBooleanExtra("boolean",true);
rfidFragment = new RfidFragment();
barcodeFragment = new BarcodeFragment();
listFragment = new ListFragment();
getSupportFragmentManager().beginTransaction().add(R.id.frame,rfidFragment).commit();
TabLayout tabs = (TabLayout) findViewById(R.id.tabs);
tabs.addOnTabSelectedListener(new TabLayout.OnTabSelectedListener() {
@Override
public void onTabSelected(TabLayout.Tab tab) {
int position = tab.getPosition();
Fragment selected = null;
if(position == 0){
selected = rfidFragment;
}else if (position == 1){
selected = barcodeFragment;
}else if (position == 2){
selected = listFragment;
}
if(selected != null) {
getSupportFragmentManager().beginTransaction().replace(R.id.frame, selected).commit();
}
}
@Override
public void onTabUnselected(TabLayout.Tab tab) {
}
@Override
public void onTabReselected(TabLayout.Tab tab) {
}
});
}
public void callTestActivity(){
if(skipCheck) {
Intent intent = new Intent(getApplicationContext(), TestActivity.class);
startActivity(intent);
}
finish();
}
}

View File

@@ -0,0 +1,16 @@
package com.qtagger.Activity;
import androidx.appcompat.app.AppCompatActivity;
import android.os.Bundle;
import com.qtagger.R;
public class SettingActivity extends AppCompatActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_setting);
}
}

View File

@@ -0,0 +1,88 @@
package com.qtagger.Activity.Test;
import android.content.Context;
import android.os.Build;
import android.os.Bundle;
import androidx.annotation.RequiresApi;
import androidx.fragment.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.Button;
import android.widget.Toast;
import com.qtagger.R;
/**
* A simple {@link Fragment} subclass.
* Use the {@link CaptureFragment#newInstance} factory method to
* create an instance of this fragment.
*/
public class CaptureFragment extends Fragment {
private Context context;
// TODO: Rename parameter arguments, choose names that match
// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
private static final String ARG_PARAM1 = "param1";
private static final String ARG_PARAM2 = "param2";
// TODO: Rename and change types of parameters
private String mParam1;
private String mParam2;
public CaptureFragment() {
// Required empty public constructor
}
/**
* Use this factory method to create a new instance of
* this fragment using the provided parameters.
*
* @param param1 Parameter 1.
* @param param2 Parameter 2.
* @return A new instance of fragment CaptureFragment.
*/
// TODO: Rename and change types and number of parameters
public static CaptureFragment newInstance(String param1, String param2) {
CaptureFragment fragment = new CaptureFragment();
Bundle args = new Bundle();
args.putString(ARG_PARAM1, param1);
args.putString(ARG_PARAM2, param2);
fragment.setArguments(args);
return fragment;
}
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (getArguments() != null) {
mParam1 = getArguments().getString(ARG_PARAM1);
mParam2 = getArguments().getString(ARG_PARAM2);
}
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
context = container.getContext();
View view = inflater.inflate(R.layout.fragment_capture, container, false);
Button topFront = view.findViewById(R.id.button_top_front);
topFront.setOnClickListener(new View.OnClickListener() {
@RequiresApi(api = Build.VERSION_CODES.M)
@Override
public void onClick(View v) {
topFront.setBackgroundResource(R.drawable.capture_test_image2);
topFront.setForeground(null);
Toast.makeText(context, "이미지 교체", Toast.LENGTH_SHORT).show();
}
});
//button_top_front
// Inflate the layout for this fragment
return view;
}
}

View File

@@ -0,0 +1,66 @@
package com.qtagger.Activity.Test;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.qtagger.R;
/**
* A simple {@link Fragment} subclass.
* Use the {@link FillFragment#newInstance} factory method to
* create an instance of this fragment.
*/
public class FillFragment extends Fragment {
// TODO: Rename parameter arguments, choose names that match
// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
private static final String ARG_PARAM1 = "param1";
private static final String ARG_PARAM2 = "param2";
// TODO: Rename and change types of parameters
private String mParam1;
private String mParam2;
public FillFragment() {
// Required empty public constructor
}
/**
* Use this factory method to create a new instance of
* this fragment using the provided parameters.
*
* @param param1 Parameter 1.
* @param param2 Parameter 2.
* @return A new instance of fragment FillFragment.
*/
// TODO: Rename and change types and number of parameters
public static FillFragment newInstance(String param1, String param2) {
FillFragment fragment = new FillFragment();
Bundle args = new Bundle();
args.putString(ARG_PARAM1, param1);
args.putString(ARG_PARAM2, param2);
fragment.setArguments(args);
return fragment;
}
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (getArguments() != null) {
mParam1 = getArguments().getString(ARG_PARAM1);
mParam2 = getArguments().getString(ARG_PARAM2);
}
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment
return inflater.inflate(R.layout.fragment_fill, container, false);
}
}

View File

@@ -0,0 +1,66 @@
package com.qtagger.Activity.Test;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.qtagger.R;
/**
* A simple {@link Fragment} subclass.
* Use the {@link InfoFragment#newInstance} factory method to
* create an instance of this fragment.
*/
public class InfoFragment extends Fragment {
// TODO: Rename parameter arguments, choose names that match
// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
private static final String ARG_PARAM1 = "param1";
private static final String ARG_PARAM2 = "param2";
// TODO: Rename and change types of parameters
private String mParam1;
private String mParam2;
public InfoFragment() {
// Required empty public constructor
}
/**
* Use this factory method to create a new instance of
* this fragment using the provided parameters.
*
* @param param1 Parameter 1.
* @param param2 Parameter 2.
* @return A new instance of fragment InfoFragment.
*/
// TODO: Rename and change types and number of parameters
public static InfoFragment newInstance(String param1, String param2) {
InfoFragment fragment = new InfoFragment();
Bundle args = new Bundle();
args.putString(ARG_PARAM1, param1);
args.putString(ARG_PARAM2, param2);
fragment.setArguments(args);
return fragment;
}
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (getArguments() != null) {
mParam1 = getArguments().getString(ARG_PARAM1);
mParam2 = getArguments().getString(ARG_PARAM2);
}
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment
return inflater.inflate(R.layout.fragment_info, container, false);
}
}

View File

@@ -0,0 +1,66 @@
package com.qtagger.Activity.Test;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.qtagger.R;
/**
* A simple {@link Fragment} subclass.
* Use the {@link PhotographFragment#newInstance} factory method to
* create an instance of this fragment.
*/
public class PhotographFragment extends Fragment {
// TODO: Rename parameter arguments, choose names that match
// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
private static final String ARG_PARAM1 = "param1";
private static final String ARG_PARAM2 = "param2";
// TODO: Rename and change types of parameters
private String mParam1;
private String mParam2;
public PhotographFragment() {
// Required empty public constructor
}
/**
* Use this factory method to create a new instance of
* this fragment using the provided parameters.
*
* @param param1 Parameter 1.
* @param param2 Parameter 2.
* @return A new instance of fragment PhotographFragment.
*/
// TODO: Rename and change types and number of parameters
public static PhotographFragment newInstance(String param1, String param2) {
PhotographFragment fragment = new PhotographFragment();
Bundle args = new Bundle();
args.putString(ARG_PARAM1, param1);
args.putString(ARG_PARAM2, param2);
fragment.setArguments(args);
return fragment;
}
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (getArguments() != null) {
mParam1 = getArguments().getString(ARG_PARAM1);
mParam2 = getArguments().getString(ARG_PARAM2);
}
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment
return inflater.inflate(R.layout.fragment_photograph, container, false);
}
}

View File

@@ -0,0 +1,66 @@
package com.qtagger.Activity.Test;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import com.qtagger.R;
/**
* A simple {@link Fragment} subclass.
* Use the {@link WeightFragment#newInstance} factory method to
* create an instance of this fragment.
*/
public class WeightFragment extends Fragment {
// TODO: Rename parameter arguments, choose names that match
// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
private static final String ARG_PARAM1 = "param1";
private static final String ARG_PARAM2 = "param2";
// TODO: Rename and change types of parameters
private String mParam1;
private String mParam2;
public WeightFragment() {
// Required empty public constructor
}
/**
* Use this factory method to create a new instance of
* this fragment using the provided parameters.
*
* @param param1 Parameter 1.
* @param param2 Parameter 2.
* @return A new instance of fragment WeightFragment.
*/
// TODO: Rename and change types and number of parameters
public static WeightFragment newInstance(String param1, String param2) {
WeightFragment fragment = new WeightFragment();
Bundle args = new Bundle();
args.putString(ARG_PARAM1, param1);
args.putString(ARG_PARAM2, param2);
fragment.setArguments(args);
return fragment;
}
@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
if (getArguments() != null) {
mParam1 = getArguments().getString(ARG_PARAM1);
mParam2 = getArguments().getString(ARG_PARAM2);
}
}
@Override
public View onCreateView(LayoutInflater inflater, ViewGroup container,
Bundle savedInstanceState) {
// Inflate the layout for this fragment
return inflater.inflate(R.layout.fragment_weight2, container, false);
}
}

View File

@@ -0,0 +1,88 @@
package com.qtagger.Activity;
import androidx.appcompat.app.AppCompatActivity;
import androidx.fragment.app.Fragment;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.google.android.material.tabs.TabLayout;
import com.qtagger.Activity.Test.CaptureFragment;
import com.qtagger.Activity.Test.FillFragment;
import com.qtagger.Activity.Test.InfoFragment;
import com.qtagger.Activity.Test.PhotographFragment;
import com.qtagger.Activity.Test.WeightFragment;
import com.qtagger.R;
public class TestActivity extends AppCompatActivity {
Fragment surfaceFragment, m1Fragment, weightFragment, fillFragment, pictureFragment, infoFragment;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_test2);
surfaceFragment = new CaptureFragment();
m1Fragment = new CaptureFragment();
weightFragment = new WeightFragment();
fillFragment = new FillFragment();
pictureFragment = new PhotographFragment();
infoFragment = new InfoFragment();
findViewById(R.id.textViewRadiation).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getApplicationContext(), SearchActivity.class);
intent.putExtra("boolean",false);
startActivity(intent);
}
});
//기본 탭 세팅
getSupportFragmentManager().beginTransaction().add(R.id.frame,surfaceFragment).commit();
TabLayout tabs = (TabLayout) findViewById(R.id.tabs);
tabs.addOnTabSelectedListener(new TabLayout.OnTabSelectedListener() {
@Override
public void onTabSelected(TabLayout.Tab tab) {
int position = tab.getPosition();
Fragment selected = null;
if(position == 0){
selected = surfaceFragment;
}else if (position == 1){
selected = m1Fragment;
}
else if (position == 2){
selected = weightFragment;
}
else if (position == 3){
selected = fillFragment;
}
else if (position == 4){
selected = pictureFragment;
}
else if (position == 5){
selected = infoFragment;
}
if(selected != null) {
getSupportFragmentManager().beginTransaction().replace(R.id.frame, selected).commit();
}
}
@Override
public void onTabUnselected(TabLayout.Tab tab) {
}
@Override
public void onTabReselected(TabLayout.Tab tab) {
}
});
}
}

View File

@@ -0,0 +1,52 @@
package com.qtagger.Activity;
import androidx.appcompat.app.AppCompatActivity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import com.qtagger.Data.TestEnum;
import com.qtagger.R;
import com.qtagger.util.DataManager;
public class TestSelectActivity extends AppCompatActivity {
private DataManager dataManager = DataManager.getInstance();
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_test_select);
findViewById(R.id.button_발생지특성검사).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
dataManager.testEnum = TestEnum.발생지특성검사;
Intent intent = new Intent(getApplicationContext(), SearchActivity.class);
startActivity(intent);
}
});
findViewById(R.id.button_예비검사).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
dataManager.testEnum = TestEnum.예비검사;
}
});
findViewById(R.id.button_인수검사).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
dataManager.testEnum = TestEnum.인수검사;
}
});
findViewById(R.id.button_처분검사).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
dataManager.testEnum = TestEnum.처분검사;
}
});
}
}

View File

@@ -0,0 +1,31 @@
package com.qtagger.CustomPalette;
import android.content.Context;
import android.util.AttributeSet;
import android.widget.Button;
public class SquareButton extends androidx.appcompat.widget.AppCompatButton {
public SquareButton(Context context) {
super(context);
}
public SquareButton(Context context, AttributeSet attrs) {
super(context, attrs);
}
public SquareButton(Context context, AttributeSet attrs, int defStyle) {
super(context, attrs, defStyle);
}
@Override
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
int width = MeasureSpec.getSize(widthMeasureSpec);
int height = MeasureSpec.getSize(heightMeasureSpec);
width = Math.min(width, height);
height = width;
setMeasuredDimension(width, height);
}
}

View File

@@ -19,6 +19,7 @@ import android.widget.Toast;
import com.qtagger.Activity.AccountAdd;
import com.qtagger.Activity.AccountList;
import com.qtagger.Activity.NavigationActivity;
import com.qtagger.Activity.TestSelectActivity;
import com.qtagger.Database.Account;
import com.qtagger.Database.AppDatabase;
import com.qtagger.util.DataManager;
@@ -44,7 +45,10 @@ public class MainActivity extends AppCompatActivity {
findViewById(R.id.imageView).setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
Intent intent = new Intent(getApplicationContext(), test.class);
//Intent intent = new Intent(getApplicationContext(), test.class);
//startActivity(intent);
Intent intent = new Intent(getApplicationContext(), TestSelectActivity.class);
startActivity(intent);
}
});

View File

@@ -1,23 +1,70 @@
package com.qtagger;
import static android.content.ContentValues.TAG;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.core.content.ContextCompat;
import androidx.room.Room;
import android.graphics.Color;
import android.graphics.drawable.Drawable;
import android.os.AsyncTask;
import android.os.Bundle;
import android.util.Log;
import android.util.TypedValue;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import android.widget.TextView;
import com.qtagger.Database.Account;
import com.qtagger.Database.AppDatabase;
import com.qtagger.util.DataManager;
public class test extends AppCompatActivity {
import org.json.JSONObject;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.net.ConnectException;
import java.net.HttpURLConnection;
import java.net.MalformedURLException;
import java.net.URL;
public class test extends AppCompatActivity {
ListView list1;
private DataManager dataManager;
@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_test);
dataManager = DataManager.getInstance();
list1 = findViewById(R.id.list_test);
String testString[] = {"A","B","C"};//,"D","E","A","B","C","D","E"};
ArrayAdapter<String> aa_items = new ArrayAdapter<String>(this, androidx.appcompat.R.layout.support_simple_spinner_dropdown_item,testString)
{
@NonNull
@Override
public View getView(int position, @Nullable View convertView, @NonNull ViewGroup parent) {
View view = super.getView(position, convertView, parent);
view.setPadding(0,0,0,0);
ViewGroup.LayoutParams layoutParams = view.getLayoutParams();
layoutParams.height = (int)TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP,30,getResources().getDisplayMetrics());
//view.setBackground(ContextCompat.getDrawable(getContext(),R.drawable.searchview_background));
return view;
}
}
;
list1.setAdapter(aa_items);
AppDatabase db = Room.databaseBuilder(this,AppDatabase.class,"AccountDB").allowMainThreadQueries().build();
@@ -25,14 +72,80 @@ public class test extends AppCompatActivity {
@Override
public void onClick(View v) {
HttpGet();
//http://1.245.98.188:9085/api/cmmn/getNotPassTypeCombo
//URL url = new URL("http://1.245.98.188:9097/api/cmmn/getNotPassTypeCombo");
//url = new URL("https://api.upbit.com/v1/market/all");
/*
for (int i = 1;i<=10;i++)
{
String str = Integer.toString(i) ;
db.accountDao().insert(new Account("User"+str,"김이박","개발팀"));
}
}*/
}
});
}
private void HttpGet(){
new AsyncTask<Void, Void, JSONObject>(){
@Override
protected JSONObject doInBackground(Void... voids) {
JSONObject result = null;
try{
URL url = new URL("http://1.245.98.188:9097/api/cmmn/getNotPassTypeCombo");
HttpURLConnection connection = (HttpURLConnection) url.openConnection();
connection.setRequestProperty("content-type", "application/json");
connection.setRequestMethod("GET"); // 통신방식
connection.setDoInput(true); // 읽기모드 지정
connection.setUseCaches(false); // 캐싱데이터를 받을지 안받을지
connection.setConnectTimeout(15000); // 통신 타임아웃
int responseCode = connection.getResponseCode();
if (responseCode == HttpURLConnection.HTTP_OK || responseCode == HttpURLConnection.HTTP_CREATED) {
BufferedReader in = new BufferedReader(new InputStreamReader(connection.getInputStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
} else {
BufferedReader in = new BufferedReader(new InputStreamReader(connection.getErrorStream()));
String inputLine;
StringBuffer response = new StringBuffer();
while ((inputLine = in.readLine()) != null) {
response.append(inputLine);
}
in.close();
}
} catch (ConnectException e) {
Log.e(TAG, "ConnectException");
e.printStackTrace();
} catch (Exception e){
e.printStackTrace();
}
return result;
}
@Override
protected void onPostExecute(JSONObject jsonObject) {
super.onPostExecute(jsonObject);
}
}.execute();
}
}

View File

@@ -0,0 +1,6 @@
package com.qtagger.util;
import android.util.TypedValue;
public class CommonHelper {
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 432 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

View File

@@ -0,0 +1,7 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
</shape>

View File

@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<layer-list>
<item>
<shape android:shape="rectangle">
<corners
android:radius="6dp" />
<padding
android:left="10dp"
/>
<stroke
android:width="1dp"
android:color="#000000"/>
</shape>
</item>
</layer-list>
</item>
</selector>

View File

@@ -1,21 +1,29 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<selector xmlns:android="http://schemas.android.com/apk/res/android">
<item>
<layer-list>
<item>
<shape android:shape="rectangle">
<solid
android:color="#ffffff"/>
<corners
android:radius="6dp" />
<padding
android:left="10dp"
/>
<stroke
android:width="1dp"
android:color="#000000"/>
</shape>
</item>
<item
android:drawable="@drawable/dropdown_16"
android:gravity="center|end"
android:right="10dp"
/>
</layer-list>
</item>
</selector>
<!-- #f5f5f5" 색으로 채움 -->
<solid
android:color="#ffffff"/>
<corners
android:bottomLeftRadius="6dp"
android:bottomRightRadius="6dp"
android:topLeftRadius="6dp"
android:topRightRadius="6dp" />
<padding
android:left="10dp"
/>
<!-- 1dp 크기의 #000000 색 테두리 -->
<stroke
android:width="1dp"
android:color="#000000"/>
</shape>

View File

@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<!-- #f5f5f5" 색으로 채움 -->
<solid
android:color="#FFFFFF"/>
<corners
android:bottomLeftRadius="12dp"
android:bottomRightRadius="12dp"
android:topLeftRadius="12dp"
android:topRightRadius="12dp" />
<padding
android:left="20dp"
android:bottom="10dp"
android:right="10dp"
android:top="20dp"
/>
</shape>

View File

@@ -0,0 +1,86 @@
<?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=".Activity.SearchActivity">
<androidx.constraintlayout.utils.widget.ImageFilterButton
android:id="@+id/imageFilterButton_Back"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="#FFFFFF"
android:minWidth="48dp"
android:minHeight="48dp"
android:src="@drawable/back_arrow_5821"
android:layout_marginStart="16dp"
android:layout_marginTop="8dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"/>
<TextView
android:id="@+id/textViewAccountAccTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="조회"
android:textAlignment="center"
android:textSize="24sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<View
android:id="@+id/view2"
android:layout_width="0dp"
android:layout_height="1dp"
android:layout_marginTop="60dp"
android:background="#000000"
app:layout_constraintTop_toTopOf="parent" />
<androidx.constraintlayout.utils.widget.ImageFilterButton
android:id="@+id/imageFilterButton_Setting"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:layout_marginEnd="16dp"
android:background="#FFFFFF"
android:minWidth="32dp"
android:minHeight="32dp"
android:src="@drawable/setting_32"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<com.google.android.material.tabs.TabLayout
android:id="@+id/tabs"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/view2">
<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="RFID" />
<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="바코드" />
<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="목록" />
</com.google.android.material.tabs.TabLayout>
<FrameLayout
android:id="@+id/frame"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintTop_toBottomOf="@+id/tabs" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -0,0 +1,9 @@
<?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=".Activity.SettingActivity">
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -11,7 +11,45 @@
android:id="@+id/button3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginEnd="314dp"
android:text="Button"
tools:layout_editor_absoluteX="90dp"
tools:layout_editor_absoluteY="80dp" />
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<androidx.appcompat.widget.SearchView
android:id="@+id/searchView"
android:layout_width="0dp"
android:layout_height="37dp"
android:layout_marginStart="20dp"
android:layout_marginTop="60dp"
android:layout_marginEnd="20dp"
android:background="@drawable/searchview_background"
android:iconifiedByDefault="true"
android:paddingLeft="0dp"
android:queryHint="방폐물 검색"
app:defaultQueryHint="방폐물 검색"
app:iconifiedByDefault="false"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ListView
android:id="@+id/list_test"
android:layout_width="0dp"
android:layout_height="400dp"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="20dp"
android:scrollbars="none"
android:divider="@null"
android:dividerHeight="0dp"
android:background="@drawable/searchview_background"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/searchView" >
</ListView>
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -0,0 +1,107 @@
<?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=".Activity.TestActivity">
<androidx.constraintlayout.utils.widget.ImageFilterButton
android:id="@+id/imageFilterButton_Back"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="#FFFFFF"
android:minWidth="48dp"
android:minHeight="48dp"
android:src="@drawable/back_arrow_5821"
android:layout_marginStart="16dp"
android:layout_marginTop="8dp"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"/>
<TextView
android:id="@+id/textViewRadiation"
android:layout_width="0dp"
android:layout_height="30dp"
android:layout_marginStart="20dp"
android:layout_marginTop="16dp"
android:layout_marginEnd="20dp"
android:autoSizeMaxTextSize="24sp"
android:autoSizeMinTextSize="12sp"
android:autoSizeStepGranularity="2sp"
android:autoSizeTextType="uniform"
android:text="AR0000B000000"
android:gravity="center"
app:layout_constraintEnd_toStartOf="@+id/imageFilterButton_Setting"
app:layout_constraintStart_toEndOf="@+id/imageFilterButton_Back"
app:layout_constraintTop_toTopOf="parent" />
<View
android:id="@+id/view2"
android:layout_width="0dp"
android:layout_height="1dp"
android:layout_marginTop="60dp"
android:background="#000000"
app:layout_constraintTop_toTopOf="parent" />
<androidx.constraintlayout.utils.widget.ImageFilterButton
android:id="@+id/imageFilterButton_Setting"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:layout_marginEnd="16dp"
android:background="#FFFFFF"
android:minWidth="32dp"
android:minHeight="32dp"
android:src="@drawable/setting_32"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<com.google.android.material.tabs.TabLayout
android:id="@+id/tabs"
android:layout_width="0dp"
android:layout_height="wrap_content"
app:tabMode="scrollable"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/view2">
<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="표면 방사선량" />
<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="1m 방사선량" />
<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="무게 측정" />
<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="채움률 측정" />
<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="사진 촬영" />
<com.google.android.material.tabs.TabItem
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="정보" />
</com.google.android.material.tabs.TabLayout>
<FrameLayout
android:id="@+id/frame"
android:layout_width="match_parent"
android:layout_height="0dp"
app:layout_constraintTop_toBottomOf="@+id/tabs" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -0,0 +1,133 @@
<?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=".Activity.TestSelectActivity">
<TextView
android:id="@+id/textViewAccountAccTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="16dp"
android:text="검사"
android:textAlignment="center"
android:textSize="24sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<View
android:id="@+id/view2"
android:layout_width="0dp"
android:layout_height="1dp"
android:layout_marginTop="60dp"
android:background="#000000"
app:layout_constraintTop_toTopOf="parent" />
<androidx.constraintlayout.utils.widget.ImageFilterButton
android:id="@+id/imageFilterButton_Setting"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="12dp"
android:layout_marginEnd="16dp"
android:background="#FFFFFF"
android:minWidth="32dp"
android:minHeight="32dp"
android:src="@drawable/setting_32"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="61dp"
android:background="#F5F5F5"
android:orientation="vertical"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent">
<LinearLayout
android:id="@+id/linearlayout1"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="28dp"
app:layout_constraintTop_toBottomOf="@+id/view2">
<com.qtagger.CustomPalette.SquareButton
android:id="@+id/button_발생지특성검사"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:layout_weight="1"
android:adjustViewBounds="true"
android:background="@drawable/squrebutton_background"
android:foreground="@drawable/originchrct_86"
android:foregroundGravity="bottom|right"
android:gravity="left|top"
android:text="발생지 특성\n검사"
android:textSize="20sp" />
<com.qtagger.CustomPalette.SquareButton
android:id="@+id/button_예비검사"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginStart="20dp"
android:layout_marginTop="2dp"
android:layout_marginEnd="20dp"
android:layout_marginBottom="2dp"
android:layout_weight="1"
android:adjustViewBounds="true"
android:background="@drawable/squrebutton_background"
android:foreground="@drawable/prepare_86"
android:foregroundGravity="bottom|right"
android:gravity="left|top"
android:text="예비 검사"
android:textSize="20sp" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="20dp">
<com.qtagger.CustomPalette.SquareButton
android:id="@+id/button_인수검사"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:layout_weight="1"
android:adjustViewBounds="true"
android:background="@drawable/squrebutton_background"
android:foreground="@drawable/accept_64"
android:foregroundGravity="bottom|right"
android:gravity="left|top"
android:text="인수 검사"
android:textSize="20sp" />
<com.qtagger.CustomPalette.SquareButton
android:id="@+id/button_처분검사"
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_marginStart="20dp"
android:layout_marginTop="2dp"
android:layout_marginEnd="20dp"
android:layout_marginBottom="2dp"
android:layout_weight="1"
android:adjustViewBounds="true"
android:background="@drawable/squrebutton_background"
android:foreground="@drawable/disposal_86"
android:foregroundGravity="bottom|right"
android:gravity="left|top"
android:text="처분 검사"
android:textSize="20sp" />
</LinearLayout>
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -0,0 +1,78 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
tools:context=".Activity.Search.BarcodeFragment">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/textViewAccountAccTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:text="바코드"
android:textAlignment="center"
android:textSize="20sp"
app:layout_constraintStart_toEndOf="@+id/imageView2"
app:layout_constraintTop_toTopOf="@+id/imageView2" />
<ImageView
android:id="@+id/imageView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="40dp"
android:src="@drawable/barcode_64"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<android.widget.Button
android:id="@+id/button_BarcodeReader"
android:layout_width="0dp"
android:layout_height="56dp"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="20dp"
android:background="@drawable/button_normal_background"
android:text="바코드 인식"
android:textSize="20sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageView2" />
<TextView
android:id="@+id/textView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="60dp"
android:gravity="center"
android:text="AR0000B000000"
android:textAlignment="center"
android:textSize="24sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/button_BarcodeReader" />
<android.widget.Button
android:id="@+id/button_Ok"
android:layout_width="0dp"
android:layout_height="56dp"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="20dp"
android:background="@drawable/button_normal_background"
android:text="확인"
android:textSize="20sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView3" />
</androidx.constraintlayout.widget.ConstraintLayout>
</FrameLayout>

View File

@@ -0,0 +1,331 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Activity.Test.CaptureFragment">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/linearList"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="24sp"
android:layout_marginLeft="20dp"
android:layout_marginTop="10dp"
android:text="상단">
</TextView>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<com.qtagger.CustomPalette.SquareButton
android:id="@+id/button_top_front"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:layout_weight="1"
android:adjustViewBounds="true"
android:foreground="@drawable/picture_image_32"
android:foregroundGravity="center_vertical|center_horizontal" />
<com.qtagger.CustomPalette.SquareButton
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:layout_weight="1"
android:foreground="@drawable/picture_image_32"
android:foregroundGravity="center_vertical|center_horizontal"
android:adjustViewBounds="true" />
<com.qtagger.CustomPalette.SquareButton
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:layout_weight="1"
android:foreground="@drawable/picture_image_32"
android:foregroundGravity="center_vertical|center_horizontal"
android:adjustViewBounds="true" />
<com.qtagger.CustomPalette.SquareButton
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:layout_weight="1"
android:foreground="@drawable/picture_image_32"
android:foregroundGravity="center_vertical|center_horizontal"
android:adjustViewBounds="true" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text=" 앞쪽 ">
</TextView>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text=" 뒤쪽 ">
</TextView>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text=" 왼쪽 ">
</TextView>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="오른쪽">
</TextView>
</LinearLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="24sp"
android:layout_marginTop="10dp"
android:layout_marginLeft="20dp"
android:text="중단">
</TextView>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<com.qtagger.CustomPalette.SquareButton
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:layout_weight="1"
android:foreground="@drawable/picture_image_32"
android:foregroundGravity="center_vertical|center_horizontal"
android:adjustViewBounds="true" />
<com.qtagger.CustomPalette.SquareButton
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:layout_weight="1"
android:foreground="@drawable/picture_image_32"
android:foregroundGravity="center_vertical|center_horizontal"
android:adjustViewBounds="true" />
<com.qtagger.CustomPalette.SquareButton
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:layout_weight="1"
android:foreground="@drawable/picture_image_32"
android:foregroundGravity="center_vertical|center_horizontal"
android:adjustViewBounds="true" />
<com.qtagger.CustomPalette.SquareButton
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:layout_weight="1"
android:foreground="@drawable/picture_image_32"
android:foregroundGravity="center_vertical|center_horizontal"
android:adjustViewBounds="true" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text=" 앞쪽 ">
</TextView>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text=" 뒤쪽 ">
</TextView>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text=" 왼쪽 ">
</TextView>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="오른쪽">
</TextView>
</LinearLayout>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="24sp"
android:layout_marginTop="10dp"
android:layout_marginLeft="20dp"
android:text="하단">
</TextView>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
>
<com.qtagger.CustomPalette.SquareButton
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:layout_weight="1"
android:foreground="@drawable/picture_image_32"
android:foregroundGravity="center_vertical|center_horizontal"
android:adjustViewBounds="true" />
<com.qtagger.CustomPalette.SquareButton
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:layout_weight="1"
android:foreground="@drawable/picture_image_32"
android:foregroundGravity="center_vertical|center_horizontal"
android:adjustViewBounds="true" />
<com.qtagger.CustomPalette.SquareButton
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:layout_weight="1"
android:foreground="@drawable/picture_image_32"
android:foregroundGravity="center_vertical|center_horizontal"
android:adjustViewBounds="true" />
<com.qtagger.CustomPalette.SquareButton
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:layout_weight="1"
android:foreground="@drawable/picture_image_32"
android:foregroundGravity="center_vertical|center_horizontal"
android:adjustViewBounds="true" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text=" 앞쪽 ">
</TextView>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text=" 뒤쪽 ">
</TextView>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text=" 왼쪽 ">
</TextView>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center"
android:text="오른쪽">
</TextView>
</LinearLayout>
</LinearLayout>
</ScrollView>
</FrameLayout>

View File

@@ -0,0 +1,55 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Activity.Test.FillFragment">
<ScrollView
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/linearList"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="24sp"
android:layout_marginLeft="20dp"
android:layout_marginTop="10dp"
android:text="채움률">
</TextView>
<TextView
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:textSize="20sp"
android:text="25%"
android:layout_width="match_parent"
android:layout_height="match_parent">
</TextView>
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="24sp"
android:layout_marginLeft="20dp"
android:layout_marginTop="10dp"
android:text="사진">
</TextView>
<com.qtagger.CustomPalette.SquareButton
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:background="@drawable/fill_test"
/>
</LinearLayout>
</ScrollView>
</FrameLayout>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Activity.Test.InfoFragment">
<!-- TODO: Update blank fragment layout -->
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="@string/hello_blank_fragment" />
</FrameLayout>

View File

@@ -0,0 +1,51 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
xmlns:app="http://schemas.android.com/apk/res-auto"
tools:context=".Activity.Search.ListFragment">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.appcompat.widget.SearchView
android:id="@+id/searchView"
android:layout_width="0dp"
android:layout_height="37dp"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="20dp"
android:background="@drawable/searchview_background"
android:iconifiedByDefault="true"
android:paddingLeft="0dp"
android:queryHint="방폐물 검색"
app:defaultQueryHint="방폐물 검색"
app:iconifiedByDefault="false"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ListView
android:id="@+id/list_test"
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="20dp"
android:layout_marginBottom="20dp"
android:background="@drawable/searchview_background"
android:divider="@null"
android:dividerHeight="0dp"
android:scrollbars="none"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/searchView">
</ListView>
</androidx.constraintlayout.widget.ConstraintLayout>
</FrameLayout>

View File

@@ -0,0 +1,161 @@
<?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="center"
android:orientation="vertical"
tools:context=".Activity.Test.PhotographFragment">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_weight="1">
<ScrollView
android:id="@+id/scroll2"
android:fillViewport="true"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:id="@+id/linearList"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical">
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="20dp"
android:layout_marginTop="10dp"
android:text="사진"
android:textSize="24sp">
</TextView>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.qtagger.CustomPalette.SquareButton
android:id="@+id/button_top_front"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:layout_weight="1"
android:adjustViewBounds="true"
android:foreground="@drawable/picture_image_32"
android:foregroundGravity="center_vertical|center_horizontal" />
<com.qtagger.CustomPalette.SquareButton
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:layout_weight="1"
android:adjustViewBounds="true"
android:foreground="@drawable/picture_image_32"
android:foregroundGravity="center_vertical|center_horizontal" />
<com.qtagger.CustomPalette.SquareButton
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:layout_weight="1"
android:adjustViewBounds="true"
android:foreground="@drawable/picture_image_32"
android:foregroundGravity="center_vertical|center_horizontal" />
<com.qtagger.CustomPalette.SquareButton
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:layout_weight="1"
android:adjustViewBounds="true"
android:foreground="@drawable/picture_image_32"
android:foregroundGravity="center_vertical|center_horizontal" />
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content">
<com.qtagger.CustomPalette.SquareButton
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:layout_weight="1"
android:adjustViewBounds="true"
android:foreground="@drawable/picture_image_32"
android:foregroundGravity="center_vertical|center_horizontal" />
<com.qtagger.CustomPalette.SquareButton
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:layout_weight="1"
android:adjustViewBounds="true"
android:background="@color/white" />
<com.qtagger.CustomPalette.SquareButton
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:layout_weight="1"
android:adjustViewBounds="true"
android:foreground="@drawable/picture_image_32"
android:foregroundGravity="center_vertical|center_horizontal" />
<com.qtagger.CustomPalette.SquareButton
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginStart="3dp"
android:layout_marginTop="2dp"
android:layout_marginBottom="2dp"
android:layout_weight="1"
android:adjustViewBounds="true"
android:foreground="@drawable/picture_image_32"
android:foregroundGravity="center_vertical|center_horizontal" />
</LinearLayout>
</LinearLayout>
</ScrollView>
</LinearLayout>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="11" />
<Button
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="22" />
</LinearLayout>
</LinearLayout>

View File

@@ -0,0 +1,105 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout 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=".Activity.Search.RfidFragment">
<androidx.constraintlayout.widget.ConstraintLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
<TextView
android:id="@+id/textViewAccountAccTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:text="RFID"
android:textAlignment="center"
android:textSize="20sp"
app:layout_constraintStart_toEndOf="@+id/imageView2"
app:layout_constraintTop_toTopOf="@+id/imageView2" />
<SeekBar
android:id="@+id/seekbar_reader_type"
android:layout_width="0dp"
android:layout_height="20dp"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="20dp"
android:layout_weight="0.2"
android:max="300"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintHorizontal_bias="0.0"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageView2" />
<ImageView
android:id="@+id/imageView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginStart="20dp"
android:layout_marginTop="40dp"
android:src="@drawable/rfid_icon_64"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/textView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="20dp"
android:gravity="center"
android:text="강도 : 300"
android:textAlignment="center"
android:textSize="16sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/seekbar_reader_type" />
<android.widget.Button
android:id="@+id/button_RfidReader"
android:layout_width="0dp"
android:layout_height="56dp"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="20dp"
android:background="@drawable/button_normal_background"
android:text="RFID 인식"
android:textSize="20sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView2" />
<TextView
android:id="@+id/textView3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="60dp"
android:gravity="center"
android:text="AR0000B000000"
android:textAlignment="center"
android:textSize="24sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/button_RfidReader" />
<android.widget.Button
android:id="@+id/button_Ok"
android:layout_width="0dp"
android:layout_height="56dp"
android:layout_marginStart="20dp"
android:layout_marginTop="20dp"
android:layout_marginEnd="20dp"
android:background="@drawable/button_normal_background"
android:text="확인"
android:textSize="20sp"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/textView3" />
</androidx.constraintlayout.widget.ConstraintLayout>
</FrameLayout>

View File

@@ -3,12 +3,4 @@
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Activity.NaviFragment.SettingFragment">
<!-- TODO: Update blank fragment layout -->
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="Setting" />
</FrameLayout>
tools:context=".Activity.NaviFragment.SettingFragment"/>

View File

@@ -93,15 +93,14 @@
android:layout_height="56dp"
android:layout_marginStart="10dp"
android:layout_marginEnd="20dp"
android:layout_marginBottom="60dp"
android:layout_marginBottom="100dp"
android:background="@color/black"
android:backgroundTint="#000000"
android:text="측정 시작"
android:textColor="#FFFFFF"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/button_reader"
app:layout_constraintTop_toBottomOf="@+id/seekbar_reader_type" />
app:layout_constraintStart_toEndOf="@+id/button_reader" />
<android.widget.Button
android:id="@+id/button_reader"
@@ -109,15 +108,14 @@
android:layout_height="56dp"
android:layout_marginStart="20dp"
android:layout_marginEnd="10dp"
android:layout_marginBottom="60dp"
android:layout_marginBottom="100dp"
android:background="@color/black"
android:backgroundTint="#000000"
android:text="촬영"
android:textColor="#FFFFFF"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/button_start"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toBottomOf="@+id/imageView2" />
app:layout_constraintStart_toStartOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>

View File

@@ -0,0 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".Activity.Test.WeightFragment">
<!-- TODO: Update blank fragment layout -->
<TextView
android:layout_width="match_parent"
android:layout_height="match_parent"
android:text="@string/hello_blank_fragment" />
</FrameLayout>

View File

@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<network-security-config>
<domain-config cleartextTrafficPermitted="true">
<domain includeSubdomains="true">localhost</domain>
<domain includeSubdomains="true">1.245.98.188:9085</domain>
<domain includeSubdomains="true">1.245.98.188</domain>
</domain-config>
</network-security-config>