/
layout_done_button.xml
34 lines (29 loc) · 1.13 KB
/
layout_done_button.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools">
<data>
<variable
name="text"
type="String" />
<variable
name="background"
type="android.graphics.drawable.Drawable" />
<variable
name="textColor"
type="Integer" />
</data>
<TextView
style="@style/TextAppearance.AppCompat.Subhead"
android:layout_width="wrap_content"
android:background="@{background}"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="vertical"
android:paddingStart="@dimen/ted_image_picker_done_button_horizontal_padding"
android:paddingTop="@dimen/ted_image_picker_done_button_vertical_padding"
android:paddingEnd="@dimen/ted_image_picker_done_button_horizontal_padding"
android:paddingBottom="@dimen/ted_image_picker_done_button_vertical_padding"
android:text="@{text}"
android:textColor="@{textColor}"
tools:text="완료" />
</layout>