업로드
This commit is contained in:
14
.idea/misc.xml
generated
14
.idea/misc.xml
generated
@@ -63,11 +63,25 @@
|
||||
<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/drawable/circle_check_foreground.xml" value="0.397" />
|
||||
<entry key="..\:/QTagger/a/QTagger_Android4/app/src/main/res/drawable/circle_foreground.xml" value="0.384" />
|
||||
<entry key="..\:/QTagger/a/QTagger_Android4/app/src/main/res/drawable/default_fragment_background.xml" value="0.396" />
|
||||
<entry key="..\:/QTagger/a/QTagger_Android4/app/src/main/res/drawable/image_squrebutton_background.xml" value="0.385" />
|
||||
<entry key="..\:/QTagger/a/QTagger_Android4/app/src/main/res/drawable/searchview_background.xml" value="0.385" />
|
||||
<entry key="..\:/QTagger/a/QTagger_Android4/app/src/main/res/drawable/spinner_background.xml" value="0.385" />
|
||||
<entry key="..\:/QTagger/a/QTagger_Android4/app/src/main/res/drawable/squrebutton_background.xml" value="0.385" />
|
||||
<entry key="..\:/QTagger/a/QTagger_Android4/app/src/main/res/drawable/tablelayout_background.xml" value="0.385" />
|
||||
<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/activity_test_select.xml" value="0.39739583333333334" />
|
||||
<entry key="..\:/QTagger/a/QTagger_Android4/app/src/main/res/layout/fragment_barcode.xml" value="0.39739583333333334" />
|
||||
<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_info.xml" value="0.39739583333333334" />
|
||||
<entry key="..\:/QTagger/a/QTagger_Android4/app/src/main/res/layout/fragment_list.xml" value="0.39739583333333334" />
|
||||
<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_rfid.xml" value="0.39739583333333334" />
|
||||
<entry key="..\:/QTagger/a/QTagger_Android4/app/src/main/res/layout/fragment_weight.xml" value="0.39739583333333334" />
|
||||
<entry key="..\:/QTagger/a/QTagger_Android4/app/src/main/res/layout/fragment_weight2.xml" value="0.5536458333333333" />
|
||||
</map>
|
||||
</option>
|
||||
|
||||
@@ -1,12 +1,17 @@
|
||||
package com.qtagger.Activity.Test;
|
||||
|
||||
import android.graphics.drawable.Drawable;
|
||||
import android.os.Build;
|
||||
import android.os.Bundle;
|
||||
|
||||
import androidx.annotation.RequiresApi;
|
||||
import androidx.fragment.app.Fragment;
|
||||
|
||||
import android.view.Gravity;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.Button;
|
||||
|
||||
import com.qtagger.R;
|
||||
|
||||
@@ -16,7 +21,7 @@ import com.qtagger.R;
|
||||
* create an instance of this fragment.
|
||||
*/
|
||||
public class PhotographFragment extends Fragment {
|
||||
|
||||
View view;
|
||||
// TODO: Rename parameter arguments, choose names that match
|
||||
// the fragment initialization parameters, e.g. ARG_ITEM_NUMBER
|
||||
private static final String ARG_PARAM1 = "param1";
|
||||
@@ -60,7 +65,31 @@ public class PhotographFragment extends Fragment {
|
||||
@Override
|
||||
public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
||||
Bundle savedInstanceState) {
|
||||
view = inflater.inflate(R.layout.fragment_photograph, container, false);
|
||||
Button t1 = view.findViewById(R.id.button_picture1_test);
|
||||
|
||||
t1.setOnLongClickListener(new View.OnLongClickListener() {
|
||||
@RequiresApi(api = Build.VERSION_CODES.M)
|
||||
@Override
|
||||
public boolean onLongClick(View v) {
|
||||
t1.setForeground(getActivity().getDrawable(R.drawable.circle_foreground));
|
||||
t1.setForegroundGravity(Gravity.TOP|Gravity.RIGHT);
|
||||
|
||||
view.findViewById(R.id.linearlayout_tool).setVisibility(View.VISIBLE);
|
||||
return false;
|
||||
//linearlayout_tool
|
||||
}
|
||||
});
|
||||
t1.setOnClickListener(new View.OnClickListener() {
|
||||
@RequiresApi(api = Build.VERSION_CODES.M)
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
t1.setForeground(getActivity().getDrawable(R.drawable.circle_check_foreground));
|
||||
t1.setForegroundGravity(Gravity.TOP|Gravity.RIGHT);
|
||||
}
|
||||
});
|
||||
|
||||
// Inflate the layout for this fragment
|
||||
return inflater.inflate(R.layout.fragment_photograph, container, false);
|
||||
return view;
|
||||
}
|
||||
}
|
||||
BIN
app/src/main/res/drawable-v24/weight_test_image.png
Normal file
BIN
app/src/main/res/drawable-v24/weight_test_image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 64 KiB |
38
app/src/main/res/drawable/circle_check_foreground.xml
Normal file
38
app/src/main/res/drawable/circle_check_foreground.xml
Normal file
@@ -0,0 +1,38 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item
|
||||
android:right="5dp"
|
||||
android:top="5dp">
|
||||
<shape android:shape="oval">
|
||||
<solid android:color="#FFD400" />
|
||||
<size
|
||||
android:width="24dp"
|
||||
android:height="24dp" />
|
||||
</shape>
|
||||
</item>
|
||||
<item
|
||||
android:width="8dp"
|
||||
android:height="2dp"
|
||||
android:left="4dp"
|
||||
android:top="18dp">
|
||||
<rotate android:fromDegrees="45">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@android:color/black" />
|
||||
</shape>
|
||||
</rotate>
|
||||
|
||||
</item>
|
||||
<item
|
||||
android:width="13dp"
|
||||
android:height="2dp"
|
||||
android:left="8.3dp"
|
||||
android:top="16.5dp">
|
||||
<rotate android:fromDegrees="-45">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@android:color/black" />
|
||||
</shape>
|
||||
</rotate>
|
||||
|
||||
</item>
|
||||
</layer-list>
|
||||
29
app/src/main/res/drawable/circle_foreground.xml
Normal file
29
app/src/main/res/drawable/circle_foreground.xml
Normal file
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item
|
||||
android:top="5dp"
|
||||
android:right="5dp">
|
||||
<shape
|
||||
android:shape="oval">
|
||||
<solid android:color="#7EFFFFFF"/>
|
||||
<stroke
|
||||
android:width="2dp"
|
||||
android:color="@color/black"/>
|
||||
<size android:width="24dp"
|
||||
android:height="24dp"/>
|
||||
<margin
|
||||
android:top="5dp"
|
||||
android:right="5dp"
|
||||
android:bottom="0dp"
|
||||
android:left="0dp"
|
||||
/>
|
||||
<padding
|
||||
android:top="5dp"
|
||||
android:right="5dp"
|
||||
android:bottom="0dp"
|
||||
android:left="0dp"/>
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
||||
|
||||
17
app/src/main/res/drawable/default_fragment_background.xml
Normal file
17
app/src/main/res/drawable/default_fragment_background.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?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" />
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="#5C000000"/>
|
||||
|
||||
</shape>
|
||||
@@ -1,65 +1,69 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<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:orientation="vertical"
|
||||
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"/>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<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" />
|
||||
<androidx.constraintlayout.utils.widget.ImageFilterButton
|
||||
android:id="@+id/imageFilterButton_Back"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="16dp"
|
||||
android:layout_marginTop="8dp"
|
||||
android:background="#FFFFFF"
|
||||
android:minWidth="48dp"
|
||||
android:minHeight="48dp"
|
||||
android:src="@drawable/back_arrow_5821"
|
||||
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" />
|
||||
<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" />
|
||||
<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" />
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
<com.google.android.material.tabs.TabLayout
|
||||
android:id="@+id/tabs"
|
||||
android:layout_width="0dp"
|
||||
android:layout_width="match_parent"
|
||||
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"
|
||||
@@ -80,7 +84,7 @@
|
||||
<FrameLayout
|
||||
android:id="@+id/frame"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
app:layout_constraintTop_toBottomOf="@+id/tabs" />
|
||||
android:layout_height="match_parent"
|
||||
android:background="#F5F5F5" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</LinearLayout>
|
||||
@@ -1,72 +1,76 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
<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=".Activity.TestActivity">
|
||||
tools:context=".Activity.TestActivity"
|
||||
android:orientation="vertical">
|
||||
|
||||
|
||||
<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"/>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content">
|
||||
<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" />
|
||||
<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" />
|
||||
<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" />
|
||||
<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" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
|
||||
|
||||
<com.google.android.material.tabs.TabLayout
|
||||
android:id="@+id/tabs"
|
||||
android:layout_width="0dp"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
app:tabMode="scrollable"
|
||||
app:layout_constraintEnd_toEndOf="parent"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/view2">
|
||||
app:tabMode="scrollable">
|
||||
|
||||
<com.google.android.material.tabs.TabItem
|
||||
android:layout_width="wrap_content"
|
||||
@@ -100,8 +104,8 @@
|
||||
<FrameLayout
|
||||
android:id="@+id/frame"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0dp"
|
||||
android:layout_height="match_parent"
|
||||
android:background="#F5F5F5"
|
||||
/>
|
||||
|
||||
app:layout_constraintTop_toBottomOf="@+id/tabs" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
</LinearLayout>
|
||||
@@ -3,6 +3,8 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="10dp"
|
||||
android:background="@drawable/default_fragment_background"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
tools:context=".Activity.Search.BarcodeFragment">
|
||||
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="10dp"
|
||||
android:background="@drawable/default_fragment_background"
|
||||
tools:context=".Activity.Test.CaptureFragment">
|
||||
|
||||
<ScrollView
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="10dp"
|
||||
android:background="@drawable/default_fragment_background"
|
||||
tools:context=".Activity.Test.FillFragment">
|
||||
|
||||
<ScrollView
|
||||
|
||||
@@ -3,6 +3,8 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="10dp"
|
||||
android:background="@drawable/default_fragment_background"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
tools:context=".Activity.Search.ListFragment">
|
||||
|
||||
|
||||
@@ -11,6 +11,8 @@
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="10dp"
|
||||
android:background="@drawable/default_fragment_background"
|
||||
android:layout_weight="1">
|
||||
|
||||
<ScrollView
|
||||
@@ -30,8 +32,10 @@
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="20dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:text="사진"
|
||||
android:textSize="24sp">
|
||||
android:layout_marginBottom="10dp"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="24sp"
|
||||
android:text="사진">
|
||||
|
||||
</TextView>
|
||||
|
||||
@@ -40,7 +44,7 @@
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<com.qtagger.CustomPalette.SquareButton
|
||||
android:id="@+id/button_top_front"
|
||||
android:id="@+id/button_picture1_test"
|
||||
android:layout_width="0dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="3dp"
|
||||
@@ -48,8 +52,9 @@
|
||||
android:layout_marginBottom="2dp"
|
||||
android:layout_weight="1"
|
||||
android:adjustViewBounds="true"
|
||||
android:foreground="@drawable/picture_image_32"
|
||||
android:foregroundGravity="center_vertical|center_horizontal" />
|
||||
android:foregroundGravity="top|right"
|
||||
|
||||
android:background="@drawable/fill_test" />
|
||||
|
||||
<com.qtagger.CustomPalette.SquareButton
|
||||
android:layout_width="0dp"
|
||||
@@ -58,9 +63,9 @@
|
||||
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" />
|
||||
android:background="@drawable/capture_test_image"
|
||||
android:foregroundGravity="top|right"
|
||||
android:adjustViewBounds="true"/>
|
||||
|
||||
<com.qtagger.CustomPalette.SquareButton
|
||||
android:layout_width="0dp"
|
||||
@@ -69,9 +74,9 @@
|
||||
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" />
|
||||
android:background="@drawable/capture_test_image2"
|
||||
android:foregroundGravity="top|right"
|
||||
android:adjustViewBounds="true" />
|
||||
|
||||
<com.qtagger.CustomPalette.SquareButton
|
||||
android:layout_width="0dp"
|
||||
@@ -80,9 +85,9 @@
|
||||
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" />
|
||||
android:background="@drawable/fill_test"
|
||||
android:foregroundGravity="top|right"
|
||||
android:adjustViewBounds="true" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
@@ -96,9 +101,9 @@
|
||||
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" />
|
||||
android:background="@drawable/fill_test"
|
||||
android:foregroundGravity="top|right"
|
||||
android:adjustViewBounds="true" />
|
||||
|
||||
<com.qtagger.CustomPalette.SquareButton
|
||||
android:layout_width="0dp"
|
||||
@@ -108,7 +113,7 @@
|
||||
android:layout_marginBottom="2dp"
|
||||
android:layout_weight="1"
|
||||
android:adjustViewBounds="true"
|
||||
android:background="@color/white" />
|
||||
android:background="@drawable/image_squrebutton_background" />
|
||||
|
||||
<com.qtagger.CustomPalette.SquareButton
|
||||
android:layout_width="0dp"
|
||||
@@ -118,8 +123,7 @@
|
||||
android:layout_marginBottom="2dp"
|
||||
android:layout_weight="1"
|
||||
android:adjustViewBounds="true"
|
||||
android:foreground="@drawable/picture_image_32"
|
||||
android:foregroundGravity="center_vertical|center_horizontal" />
|
||||
android:background="@drawable/image_squrebutton_background" />
|
||||
|
||||
<com.qtagger.CustomPalette.SquareButton
|
||||
android:layout_width="0dp"
|
||||
@@ -129,8 +133,7 @@
|
||||
android:layout_marginBottom="2dp"
|
||||
android:layout_weight="1"
|
||||
android:adjustViewBounds="true"
|
||||
android:foreground="@drawable/picture_image_32"
|
||||
android:foregroundGravity="center_vertical|center_horizontal" />
|
||||
android:background="@drawable/image_squrebutton_background" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -141,19 +144,22 @@
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/linearlayout_tool"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<Button
|
||||
android:layout_width="wrap_content"
|
||||
<com.qtagger.CustomPalette.SquareButton
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="11" />
|
||||
android:background="@android:drawable/ic_menu_close_clear_cancel" />
|
||||
|
||||
<Button
|
||||
android:layout_width="wrap_content"
|
||||
<com.qtagger.CustomPalette.SquareButton
|
||||
android:layout_width="48dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="22" />
|
||||
|
||||
android:background="@drawable/trash_bin_icon_icons_com_67981" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
@@ -4,6 +4,8 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="10dp"
|
||||
android:background="@drawable/default_fragment_background"
|
||||
tools:context=".Activity.Search.RfidFragment">
|
||||
|
||||
<androidx.constraintlayout.widget.ConstraintLayout
|
||||
|
||||
@@ -3,12 +3,55 @@
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_margin="10dp"
|
||||
android:background="@drawable/default_fragment_background"
|
||||
tools:context=".Activity.Test.WeightFragment">
|
||||
|
||||
<!-- TODO: Update blank fragment layout -->
|
||||
<TextView
|
||||
<ScrollView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:text="@string/hello_blank_fragment" />
|
||||
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="43.9"
|
||||
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/weight_test_image" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
</ScrollView>
|
||||
|
||||
</FrameLayout>
|
||||
Reference in New Issue
Block a user