12 lines
4.9 KiB
XML
12 lines
4.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<androidx.constraintlayout.widget.ConstraintLayout android:tag="layout/traffic_signal_layout_0" android:layout_width="wrap_content" android:layout_height="wrap_content"
|
|
xmlns:android="http://schemas.android.com/apk/res/android" xmlns:app="http://schemas.android.com/apk/res-auto" xmlns:bind="http://schemas.android.com/apk/res-auto">
|
|
<androidx.appcompat.widget.AppCompatImageView android:id="@id/background" android:background="@drawable/traffic_light_anim_rectangle_bg" android:layout_width="@dimen/tmap_128dp" android:layout_height="@dimen/tmap_56dp" android:alpha="0.0" bind:layout_constraintBottom_toBottomOf="parent" bind:layout_constraintStart_toStartOf="parent" bind:layout_constraintTop_toTopOf="parent" />
|
|
<androidx.appcompat.widget.AppCompatImageView android:id="@id/red_light" android:tag="binding_1" android:background="@android:color/transparent" android:layout_width="@dimen/tmap_32dp" android:layout_height="@dimen/tmap_32dp" android:src="@drawable/red_light_selector" android:alpha="0.0" bind:layout_constraintBottom_toBottomOf="@id/background" bind:layout_constraintEnd_toStartOf="@id/left_light" bind:layout_constraintStart_toStartOf="parent" bind:layout_constraintTop_toTopOf="@id/background" />
|
|
<androidx.appcompat.widget.AppCompatImageView android:id="@id/left_light" android:tag="binding_2" android:background="@android:color/transparent" android:layout_width="@dimen/tmap_32dp" android:layout_height="@dimen/tmap_32dp" android:src="@drawable/arrow_left_selector" android:alpha="0.0" bind:layout_constraintBottom_toBottomOf="@id/background" bind:layout_constraintEnd_toStartOf="@id/green_light" bind:layout_constraintStart_toEndOf="@id/red_light" bind:layout_constraintTop_toTopOf="@id/background" />
|
|
<androidx.appcompat.widget.AppCompatImageView android:id="@id/green_light" android:tag="binding_3" android:background="@android:color/transparent" android:layout_width="@dimen/tmap_32dp" android:layout_height="@dimen/tmap_32dp" android:src="@drawable/green_light_selector" android:alpha="0.0" bind:layout_constraintBottom_toBottomOf="@id/background" bind:layout_constraintEnd_toEndOf="parent" bind:layout_constraintStart_toEndOf="@id/left_light" bind:layout_constraintTop_toTopOf="@id/background" />
|
|
<com.skt.tmap.view.TmapCustomTextView android:textSize="@dimen/tmap_15dp" android:textStyle="bold" android:textColor="@color/traffic_light_red" android:id="@id/red_light_time" android:tag="binding_4" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/tmap_42dp" android:alpha="0.0" android:fontFamily="@font/roboto_bold" bind:fontFamily="@font/roboto_bold" bind:layout_constraintEnd_toEndOf="@id/red_light" bind:layout_constraintStart_toStartOf="@id/red_light" bind:layout_constraintTop_toTopOf="@id/background" bind:textStroke="true" bind:textStrokeColor="@color/color_000000" bind:textStrokeWidth="@dimen/tmap_2dp" />
|
|
<com.skt.tmap.view.TmapCustomTextView android:textSize="@dimen/tmap_15dp" android:textStyle="bold" android:textColor="@color/traffic_light_green" android:id="@id/left_light_time" android:tag="binding_5" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/tmap_42dp" android:alpha="0.0" android:fontFamily="@font/roboto_bold" bind:fontFamily="@font/roboto_bold" bind:layout_constraintEnd_toEndOf="@id/left_light" bind:layout_constraintStart_toStartOf="@id/left_light" bind:layout_constraintTop_toTopOf="@id/background" bind:textStroke="true" bind:textStrokeColor="@color/color_000000" bind:textStrokeWidth="@dimen/tmap_2dp" />
|
|
<com.skt.tmap.view.TmapCustomTextView android:textSize="@dimen/tmap_15dp" android:textStyle="bold" android:textColor="@color/traffic_light_green" android:id="@id/green_light_time" android:tag="binding_6" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginTop="@dimen/tmap_42dp" android:alpha="0.0" android:fontFamily="@font/roboto_bold" bind:fontFamily="@font/roboto_bold" bind:layout_constraintEnd_toEndOf="@id/green_light" bind:layout_constraintStart_toStartOf="@id/green_light" bind:layout_constraintTop_toTopOf="@id/background" bind:textStroke="true" bind:textStrokeColor="@color/color_000000" bind:textStrokeWidth="@dimen/tmap_2dp" />
|
|
<com.skt.tmap.view.TmapCustomTextView android:textSize="@dimen/tmap_17dp" android:textStyle="bold" android:textColor="@color/color_ffffff" android:id="@id/distance_textview" android:tag="binding_7" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginBottom="@dimen/tmap_48dp" android:alpha="0.0" android:fontFamily="@font/roboto_bold" bind:fontFamily="@font/roboto_bold" bind:layout_constraintBottom_toBottomOf="@id/background" bind:layout_constraintEnd_toEndOf="parent" bind:layout_constraintStart_toStartOf="parent" bind:textStroke="true" bind:textStrokeColor="@color/color_000000" bind:textStrokeWidth="@dimen/tmap_3dp" />
|
|
</androidx.constraintlayout.widget.ConstraintLayout> |