[2.8.0-f] him ui适配
This commit is contained in:
@@ -23,6 +23,8 @@ import com.mogo.eagle.core.function.hmi.R;
|
||||
import com.mogo.eagle.core.function.hmi.ui.utils.SearchCriteria;
|
||||
import com.mogo.eagle.core.function.hmi.ui.utils.TagColorUtil;
|
||||
|
||||
import me.jessyan.autosize.AutoSizeCompat;
|
||||
|
||||
|
||||
public class LogItemAdapter extends AbsRecyclerAdapter<AbsViewBinder<LogLine>, LogLine> implements Filterable {
|
||||
|
||||
|
||||
@@ -11,10 +11,10 @@
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:textColor="@color/color_FFFFFF"
|
||||
android:textSize="16sp"
|
||||
android:textSize="@dimen/dp_31"
|
||||
android:text="@string/ipc_report_time"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginTop="26dp"
|
||||
android:layout_marginStart="26dp"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -24,9 +24,9 @@
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:layout_constraintLeft_toRightOf="@id/tvReportTimeTitle"
|
||||
android:textColor="@color/color_FFFFFF"
|
||||
android:textSize="16sp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:textSize="@dimen/dp_31"
|
||||
android:layout_marginTop="26dp"
|
||||
android:layout_marginEnd="26dp"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -36,10 +36,10 @@
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/tvReportTimeTitle"
|
||||
android:textColor="@color/color_FFFFFF"
|
||||
android:textSize="16sp"
|
||||
android:textSize="@dimen/dp_31"
|
||||
android:text="@string/ipc_report_type"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginTop="26dp"
|
||||
android:layout_marginStart="26dp"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -50,9 +50,9 @@
|
||||
app:layout_constraintLeft_toRightOf="@id/tvReportResultTitle"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:textColor="@color/color_FFFFFF"
|
||||
android:textSize="16sp"
|
||||
android:textSize="@dimen/dp_31"
|
||||
android:minLines="1"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginEnd="26dp"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -62,10 +62,10 @@
|
||||
app:layout_constraintTop_toBottomOf="@id/tvReportResultContent"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
android:textColor="@color/color_FFFFFF"
|
||||
android:textSize="16sp"
|
||||
android:textSize="@dimen/dp_31"
|
||||
android:text="@string/ipc_report_msg"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginTop="26dp"
|
||||
android:layout_marginStart="26dp"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -77,8 +77,8 @@
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:minLines="1"
|
||||
android:textColor="@color/color_FFFFFF"
|
||||
android:textSize="16sp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:textSize="@dimen/dp_31"
|
||||
android:layout_marginEnd="26dp"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -88,10 +88,10 @@
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@id/tvReportMsgContent"
|
||||
android:textColor="@color/color_FFFFFF"
|
||||
android:textSize="16sp"
|
||||
android:textSize="@dimen/dp_31"
|
||||
android:text="@string/ipc_report_action"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginTop="26dp"
|
||||
android:layout_marginStart="26dp"
|
||||
/>
|
||||
|
||||
<TextView
|
||||
@@ -103,8 +103,8 @@
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
android:minLines="1"
|
||||
android:textColor="@color/color_FFFFFF"
|
||||
android:textSize="16sp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:textSize="@dimen/dp_31"
|
||||
android:layout_marginEnd="26dp"
|
||||
/>
|
||||
|
||||
<View
|
||||
@@ -113,10 +113,10 @@
|
||||
android:background="#F0F0F0"
|
||||
app:layout_constraintTop_toBottomOf="@id/tvReportActionContent"
|
||||
android:textColor="@color/color_FFFFFF"
|
||||
android:textSize="16sp"
|
||||
android:textSize="@dimen/dp_31"
|
||||
android:layout_marginTop="5dp"
|
||||
android:layout_marginStart="10dp"
|
||||
android:layout_marginEnd="10dp"
|
||||
android:layout_marginStart="26dp"
|
||||
android:layout_marginEnd="26dp"
|
||||
/>
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -17,7 +17,7 @@
|
||||
android:paddingRight="2dp"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_FFFFFF"
|
||||
android:textSize="12sp" />
|
||||
android:textSize="@dimen/dp_24" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/timestamp_text"
|
||||
@@ -29,7 +29,7 @@
|
||||
android:paddingRight="2dp"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_FFFFFF"
|
||||
android:textSize="12sp" />
|
||||
android:textSize="@dimen/dp_24" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tag_text"
|
||||
@@ -43,7 +43,7 @@
|
||||
android:paddingRight="2dp"
|
||||
android:singleLine="true"
|
||||
android:textColor="@color/color_000000"
|
||||
android:textSize="12sp" />
|
||||
android:textSize="@dimen/dp_24" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/log_level_text"
|
||||
@@ -54,7 +54,7 @@
|
||||
android:layout_toRightOf="@+id/tag_text"
|
||||
android:gravity="center_horizontal"
|
||||
android:singleLine="true"
|
||||
android:textSize="12sp" />
|
||||
android:textSize="@dimen/dp_24" />
|
||||
|
||||
|
||||
<TextView
|
||||
@@ -68,7 +68,7 @@
|
||||
android:paddingLeft="2dp"
|
||||
android:paddingRight="2dp"
|
||||
android:singleLine="true"
|
||||
android:textSize="12sp" />
|
||||
android:textSize="@dimen/dp_24" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -14,7 +14,7 @@
|
||||
<com.mogo.eagle.core.function.hmi.ui.logcatch.LogTitleBar
|
||||
android:id="@+id/title_bar"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="68dp"
|
||||
android:layout_height="120dp"
|
||||
android:layout_alignParentTop="true"
|
||||
android:background="#ffffff"
|
||||
app:Back="@string/log_min"
|
||||
@@ -31,7 +31,7 @@
|
||||
<EditText
|
||||
android:id="@+id/log_filter"
|
||||
style="@style/Input"
|
||||
android:layout_height="50dp"
|
||||
android:layout_height="100dp"
|
||||
android:layout_below="@id/view_divider"
|
||||
android:layout_marginLeft="16dp"
|
||||
android:layout_marginTop="15dp"
|
||||
@@ -159,6 +159,7 @@
|
||||
android:background="#337CC4"
|
||||
android:singleLine="true"
|
||||
android:text="@string/log_info"
|
||||
android:textSize="@dimen/dp_24"
|
||||
android:visibility="gone" />
|
||||
|
||||
</FrameLayout>
|
||||
@@ -1,44 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="@dimen/module_push_dialog_check_width"
|
||||
android:layout_height="@dimen/module_push_dialog_check_height">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/module_push_dialog_close"
|
||||
android:layout_width="@dimen/module_push_dialog_close_width"
|
||||
android:layout_height="@dimen/module_push_dialog_close_height"
|
||||
android:layout_marginLeft="@dimen/module_push_dialog_close_margin"
|
||||
android:layout_marginTop="@dimen/module_push_dialog_close_margin"
|
||||
android:scaleType="fitXY"
|
||||
android:src="@drawable/module_push_dialog_close"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
tools:ignore="ContentDescription" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/module_push_dialog_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/module_push_dialog_title_margin"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/module_push_dialog_title_size"
|
||||
android:text="官方公告"
|
||||
android:textStyle="bold"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/module_push_dialog_content"
|
||||
android:layout_width="@dimen/module_push_dialog_content_width"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="@dimen/module_push_dialog_content_margin_top"
|
||||
android:textColor="@android:color/white"
|
||||
android:textSize="@dimen/module_push_dialog_content_size"
|
||||
app:layout_constraintLeft_toLeftOf="parent"
|
||||
app:layout_constraintRight_toRightOf="parent"
|
||||
app:layout_constraintTop_toBottomOf="@+id/module_push_dialog_title" />
|
||||
|
||||
</androidx.constraintlayout.widget.ConstraintLayout>
|
||||
@@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<ImageView
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:elevation="@dimen/dp_10"
|
||||
android:scaleType="center"
|
||||
tools:layout_width="@dimen/module_hmi_check_size"
|
||||
tools:layout_height="@dimen/module_hmi_check_size"
|
||||
android:background="@drawable/icon_car_ap_badcase_entrance" />
|
||||
@@ -19,8 +19,8 @@
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image_brake"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_width="@dimen/dp_74"
|
||||
android:layout_height="@dimen/dp_74"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:src="@drawable/bus_shache_nor_daytime"
|
||||
android:layout_marginLeft="15dp"
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
<style name="TitleBig">
|
||||
<item name="android:layout_width">wrap_content</item>
|
||||
<item name="android:layout_height">wrap_content</item>
|
||||
<item name="android:textSize">@dimen/dp_48</item>
|
||||
<item name="android:textSize">@dimen/dp_24</item>
|
||||
<item name="android:textColor">#324456</item>
|
||||
<item name="android:gravity">center</item>
|
||||
<item name="android:textStyle">bold</item>
|
||||
|
||||
Reference in New Issue
Block a user