mirror of
https://github.com/freeedcom/ai-codereviewer.git
synced 2025-07-01 05:14:17 +00:00
add project adins
This commit is contained in:
parent
ad06ac5505
commit
f8f85d679d
5299 changed files with 625430 additions and 0 deletions
|
@ -0,0 +1,6 @@
|
|||
apply plugin: 'java'
|
||||
|
||||
dependencies {
|
||||
compile fileTree(dir: 'libs', include: ['*.jar'])
|
||||
compile 'org.greenrobot:greendao-generator-encryption:2.2.0'
|
||||
}
|
|
@ -0,0 +1,258 @@
|
|||
<?xml version="1.0" encoding="utf-8"?><!--
|
||||
/*
|
||||
** Copyright 2010, The Android Open Source Project
|
||||
**
|
||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||
** you may not use this file except in compliance with the License.
|
||||
** You may obtain a copy of the License at
|
||||
**
|
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
**
|
||||
** Unless required by applicable law or agreed to in writing, software
|
||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
*/
|
||||
|
||||
https://github.com/android/platform_frameworks_base/blob/master/core/res/res/layout/alert_dialog_holo.xml
|
||||
|
||||
-->
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/mainlayout"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingLeft="@dimen/dialog_padding"
|
||||
android:paddingRight="@dimen/dialog_padding">
|
||||
|
||||
<LinearLayout
|
||||
|
||||
android:id="@+id/parentPanelT"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:background="@drawable/dialog_bg"
|
||||
android:clickable="false"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/topPanelT"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="#22000000"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/title_templateT"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="48dp"
|
||||
|
||||
android:layout_margin="16dip">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iconT"
|
||||
android:layout_width="32dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_margin="8dip"
|
||||
android:scaleType="centerInside"
|
||||
android:src="@null" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/alertTitleT"
|
||||
style="@style/DialogWindowTitle"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true"
|
||||
android:layout_marginLeft="8dip"
|
||||
android:ellipsize="end"
|
||||
android:gravity="center"
|
||||
android:singleLine="true" />
|
||||
</RelativeLayout>
|
||||
|
||||
<View
|
||||
android:id="@+id/titleDividerT"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="0.5dp"
|
||||
android:background="@color/divider_color"
|
||||
android:visibility="visible" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/contentPanelT"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/ChoiceTaskList"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/Choice1"
|
||||
style="?android:attr/textAppearanceMedium"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:padding="16dip"
|
||||
android:paddingBottom="8dip"
|
||||
android:paddingTop="8dip"
|
||||
android:text="Task List"
|
||||
android:textColor="@color/msg_color"
|
||||
android:textIsSelectable="true" />
|
||||
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/ChoiceVerificationlist"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/Choice2"
|
||||
style="?android:attr/textAppearanceMedium"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:padding="16dip"
|
||||
android:paddingBottom="8dip"
|
||||
android:paddingTop="8dip"
|
||||
android:text="Verification List"
|
||||
android:textColor="@color/msg_color"
|
||||
android:textIsSelectable="true" />
|
||||
|
||||
</LinearLayout>
|
||||
<LinearLayout
|
||||
android:id="@+id/ChoiceApprovalList"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/Choice3"
|
||||
style="?android:attr/textAppearanceMedium"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:padding="16dip"
|
||||
android:paddingBottom="8dip"
|
||||
android:paddingTop="8dip"
|
||||
android:text="Approval List"
|
||||
android:textColor="@color/msg_color"
|
||||
android:textIsSelectable="true" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/messageT"
|
||||
style="?android:attr/textAppearanceMedium"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:paddingBottom="8dip"
|
||||
android:padding="16dip"
|
||||
|
||||
android:paddingTop="8dip"
|
||||
android:textColor="@color/msg_color"
|
||||
android:textIsSelectable="true" />
|
||||
</LinearLayout>
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/customPanelT"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:layout_margin="5dp">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/voiceLayout"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" >
|
||||
|
||||
<ToggleButton
|
||||
android:id="@+id/btnVoiceNotes"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:background="@android:color/transparent"
|
||||
android:drawableTop="@drawable/ic_voice_note"
|
||||
android:textColor="@color/tv_darker"
|
||||
android:textOff="Record"
|
||||
android:textOn="Stop" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txtNoVoiceNote"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="7dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:maxLength="500"
|
||||
android:shadowColor="@color/tv_darker"
|
||||
android:text="Voice Notes Not Available"
|
||||
android:textColor="#555555"
|
||||
android:visibility="gone" >
|
||||
</TextView>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/recorderLayout"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="visible" >
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/btnPlay"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/circle_button"
|
||||
android:src="@drawable/ic_play" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/btnStop"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:background="@drawable/circle_button"
|
||||
android:src="@drawable/ic_stop" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="8dp">
|
||||
|
||||
<Button
|
||||
android:id="@+id/button1T"
|
||||
style="@style/dialog_btn"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:text="OK"
|
||||
android:visibility="gone" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/button2T"
|
||||
style="@style/dialog_btn"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="10dp"
|
||||
android:text="Cancle"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
|
@ -0,0 +1,41 @@
|
|||
package com.adins.mss.foundation.scheme.sync;
|
||||
|
||||
import com.adins.mss.foundation.http.MssRequestType;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
/**
|
||||
* Created by angga.permadi on 5/10/2016.
|
||||
*/
|
||||
public class SyncQuestionSetRequest extends MssRequestType {
|
||||
/**
|
||||
* Property uuid_scheme
|
||||
*/
|
||||
@SerializedName("uuid_scheme")
|
||||
String uuid_scheme;
|
||||
|
||||
@SerializedName("form_version")
|
||||
String form_version;
|
||||
|
||||
|
||||
/**
|
||||
* Gets the uuid_scheme
|
||||
*/
|
||||
public String getUuid_scheme() {
|
||||
return this.uuid_scheme;
|
||||
}
|
||||
|
||||
/**
|
||||
* Sets the uuid_scheme
|
||||
*/
|
||||
public void setUuid_scheme(String value) {
|
||||
this.uuid_scheme = value;
|
||||
}
|
||||
|
||||
public String getForm_version() {
|
||||
return form_version;
|
||||
}
|
||||
|
||||
public void setForm_version(String form_version) {
|
||||
this.form_version = form_version;
|
||||
}
|
||||
}
|
|
@ -0,0 +1,162 @@
|
|||
package com.adins.mss.base.tasklog;
|
||||
|
||||
import android.content.Context;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
import android.view.LayoutInflater;
|
||||
import android.view.View;
|
||||
import android.view.ViewGroup;
|
||||
import android.widget.ImageView;
|
||||
import android.widget.TextView;
|
||||
|
||||
import com.adins.mss.base.R;
|
||||
import com.adins.mss.base.crashlytics.FireCrash;
|
||||
import com.adins.mss.base.todolist.form.OnTaskListClickListener;
|
||||
import com.adins.mss.constant.Global;
|
||||
|
||||
import com.adins.mss.dao.TaskH;
|
||||
import com.adins.mss.dao.Timeline;
|
||||
|
||||
import com.adins.mss.foundation.db.dataaccess.TaskHDataAccess;
|
||||
import com.adins.mss.foundation.db.dataaccess.TimelineDataAccess;
|
||||
import com.adins.mss.foundation.formatter.Formatter;
|
||||
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by olivia.dg on 3/16/2018.
|
||||
*/
|
||||
|
||||
public class SurveyTaskAdapter extends RecyclerView.Adapter<SurveyTaskAdapter.SurveyTaskViewHolder> {
|
||||
|
||||
private static boolean isLog = false;
|
||||
private static Context context;
|
||||
private List<TaskH> objects;
|
||||
private final OnTaskListClickListener mListener;
|
||||
|
||||
@Override
|
||||
public int getItemViewType(int position) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
public SurveyTaskAdapter(Context context, List<TaskH> objects, OnTaskListClickListener listener) {
|
||||
this.context = context;
|
||||
this.objects = objects;
|
||||
mListener = listener;
|
||||
}
|
||||
|
||||
static class SurveyTaskViewHolder extends RecyclerView.ViewHolder {
|
||||
final View mView;
|
||||
TextView txtName;
|
||||
TextView txtTime;
|
||||
TextView txtScheme;
|
||||
TextView txtCollResult;
|
||||
ImageView logIcon;
|
||||
ImageView imgPrint;
|
||||
|
||||
public SurveyTaskViewHolder(View itemView) {
|
||||
super(itemView);
|
||||
mView = itemView;
|
||||
txtName = (TextView) itemView.findViewById(R.id.taskName);
|
||||
txtTime = (TextView) itemView.findViewById(R.id.txtTime);
|
||||
txtScheme = (TextView) itemView.findViewById(R.id.taskForm);
|
||||
txtCollResult = (TextView) itemView.findViewById(R.id.taskCollResult);
|
||||
logIcon = (ImageView) itemView.findViewById(R.id.logIcon);
|
||||
imgPrint = (ImageView) itemView.findViewById(R.id.imgPrint);
|
||||
}
|
||||
|
||||
public void bind(TaskH task) {
|
||||
String taskId = task.getTask_id();
|
||||
String custName = task.getCustomer_name();
|
||||
String formId = "";
|
||||
if (task.getScheme() != null)
|
||||
formId = task.getScheme().getForm_id();
|
||||
Date dTime = task.getSubmit_date();
|
||||
String sTime = "";
|
||||
try {
|
||||
sTime = Formatter.formatDate(dTime, Global.DATE_TIME_STR_FORMAT);
|
||||
} catch (Exception e) {
|
||||
FireCrash.log(e);
|
||||
try {
|
||||
sTime = Formatter.formatDate(task.getDtm_crt(), Global.DATE_TIME_STR_FORMAT);
|
||||
} catch (Exception e2) {
|
||||
}
|
||||
}
|
||||
|
||||
txtName.setText(custName);
|
||||
|
||||
if (taskId != null) {
|
||||
if (taskId.contains("belum di-mapping")) {
|
||||
txtScheme.setText(taskId);
|
||||
txtTime.setVisibility(View.GONE);
|
||||
} else {
|
||||
txtScheme.setText(formId);
|
||||
txtTime.setVisibility(View.VISIBLE);
|
||||
txtTime.setText(sTime);
|
||||
}
|
||||
}
|
||||
|
||||
logIcon.setVisibility(View.VISIBLE);
|
||||
List<Timeline> timeline = TimelineDataAccess.getTimelineByTask(context, task.getUuid_user(), task.getUuid_task_h());
|
||||
if (null!=timeline && timeline.get(timeline.size()-1).getTimelineType().getTimeline_type().equals(Global.TIMELINE_TYPE_FAILEDDRAFT)){
|
||||
logIcon.setImageResource(R.drawable.task_failed_draft);
|
||||
} else if (task.getStatus().equalsIgnoreCase(TaskHDataAccess.STATUS_SEND_SAVEDRAFT)){
|
||||
logIcon.setImageResource(R.drawable.task_draft);
|
||||
} else if (task.getIs_prepocessed() != null && task.getIs_prepocessed().equals(Global.FORM_TYPE_VERIFICATION)) {
|
||||
logIcon.setImageResource(R.drawable.task_verification);
|
||||
} else if (task.getIs_prepocessed() != null && task.getIs_prepocessed().equals(Global.FORM_TYPE_APPROVAL)) {
|
||||
logIcon.setImageResource(R.drawable.task_approval);
|
||||
} else if (task.getPriority() != null && task.getPriority().equals(TaskHDataAccess.PRIORITY_HIGH)){
|
||||
logIcon.setImageResource(R.drawable.task_highpriority);
|
||||
} else if (task.getPriority() != null && task.getPriority().equals(TaskHDataAccess.PRIORITY_NORMAL)){
|
||||
logIcon.setImageResource(R.drawable.task_normalpriority);
|
||||
} else if (task.getPriority() != null && task.getPriority().equals(TaskHDataAccess.PRIORITY_LOW)){
|
||||
logIcon.setImageResource(R.drawable.task_lowpriority);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public SurveyTaskViewHolder onCreateViewHolder(ViewGroup parent, int viewType) {
|
||||
View v = LayoutInflater.from(parent.getContext()).inflate(R.layout.new_log_item, parent, false);
|
||||
SurveyTaskViewHolder viewHolder = new SurveyTaskViewHolder(v);
|
||||
return viewHolder;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onBindViewHolder(final SurveyTaskViewHolder holder, final int position) {
|
||||
holder.bind(objects.get(position));
|
||||
holder.mView.setOnClickListener(new View.OnClickListener() {
|
||||
@Override
|
||||
public void onClick(View v) {
|
||||
if (null != mListener) {
|
||||
mListener.onItemClickListener(objects.get(position), position);
|
||||
}
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
public int getItemCount() {
|
||||
if (objects != null)
|
||||
return objects.size();
|
||||
else
|
||||
return 0;
|
||||
}
|
||||
|
||||
public List<TaskH> getObjects() {
|
||||
return objects;
|
||||
}
|
||||
|
||||
public void setObjects(List<TaskH> objectList) {
|
||||
this.objects.clear();
|
||||
if (objectList != null) {
|
||||
if (objectList.size() > 0) {
|
||||
for (TaskH task : objectList) {
|
||||
this.objects.add(task);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,89 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
<fragment
|
||||
android:id="@+id/maps"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
class="com.google.android.gms.maps.SupportMapFragment"
|
||||
android:tag="maps" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/buttonDirection"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:text="Get Direction" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/buttonAnimate"
|
||||
android:visibility="gone"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:text="Show animate" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:layout_alignParentTop="true"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<TableLayout
|
||||
android:id="@+id/ResultValue"
|
||||
android:visibility="gone"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content" >
|
||||
|
||||
<TableRow
|
||||
android:id="@+id/tableRow1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView1"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Total Distance" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textDistance"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
</TableRow>
|
||||
|
||||
<TableRow
|
||||
android:id="@+id/tableRow2"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textView3"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="Total Time" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/textTime"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
</TableRow>
|
||||
</TableLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<CheckBox
|
||||
android:id="@+id/cbAvoidTolls"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_marginBottom="48dp"
|
||||
android:layout_alignParentLeft="true"
|
||||
android:text="avoid tolls" />
|
||||
|
||||
</RelativeLayout>
|
|
@ -0,0 +1,43 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<com.adins.mss.foundation.questiongenerator.form.QuestionView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:id="@+id/questionImageLayout">
|
||||
<TextView
|
||||
android:id="@+id/questionImageLabel"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="0. Label"
|
||||
android:textAppearance="?android:attr/textAppearanceSmall"/>
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_margin="5dp">
|
||||
<ImageView
|
||||
android:id="@+id/imgPhotoAnswer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/icon_camera"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="0.5"/>
|
||||
<ImageView
|
||||
android:id="@+id/imgLocationAnswer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@drawable/ic_absent"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="0.5"/>
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:id="@+id/questionImageAnswer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="10dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:textSize="10dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:visibility="gone"/>
|
||||
</com.adins.mss.foundation.questiongenerator.form.QuestionView>
|
|
@ -0,0 +1,13 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="14dp"
|
||||
android:height="14dp"
|
||||
android:viewportWidth="24.0"
|
||||
android:viewportHeight="24.0">
|
||||
<path
|
||||
android:fillColor="@color/gradient_end"
|
||||
android:pathData="M14.47,13.5L11,20v-5.5H9l0.53,-1H7v7.17C7,21.4 7.6,22 8.33,22h7.33c0.74,0 1.34,-0.6 1.34,-1.33V13.5h-2.53z"/>
|
||||
<path
|
||||
android:fillColor="@color/gradient_end"
|
||||
android:pathData="M15.67,4H14V2h-4v2H8.33C7.6,4 7,4.6 7,5.33v8.17h2.53L13,7v5.5h2l-0.53,1H17V5.33C17,4.6 16.4,4 15.67,4z"
|
||||
android:fillAlpha=".3"/>
|
||||
</vector>
|
Binary file not shown.
After Width: | Height: | Size: 505 B |
|
@ -0,0 +1,21 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2009 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="18sp"
|
||||
android:padding="5dp"
|
||||
/>
|
|
@ -0,0 +1,24 @@
|
|||
package com.adins.mss.base.depositreport;
|
||||
|
||||
import com.adins.mss.dao.TaskD;
|
||||
import com.adins.mss.foundation.http.MssResponseType;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* Created by angga.permadi on 8/30/2016.
|
||||
*/
|
||||
public class GetImageResponse extends MssResponseType {
|
||||
|
||||
@SerializedName("img")
|
||||
private List<TaskD> image;
|
||||
|
||||
public List<TaskD> getImage() {
|
||||
return image;
|
||||
}
|
||||
|
||||
public void setImage(List<TaskD> image) {
|
||||
this.image = image;
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue