-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
Description
์์ฃผ ์ฐ์ด๋ ๋ฒํผ Style์ themes.xml ํ์ผ์ ์ง์ ํด ๋์์ต๋๋ค
style ์์ฑ ์ฌ์ฉ ์
- ์ผ์ผ์ด ๋ชจ๋ ์์ฑ์ ์ง์ ํด ์ฃผ์ด์ผํจ
<androidx.appcompat.widget.AppCompatButton
android:layout_width="match_parent"
android:layout_height="60dp"
android:background="@drawable/selector_btn_sign_in"
android:text="@string/msg_store"
android:textSize="18sp"
android:textStyle="bold"
android:textColor="@color/white" />style ์์ฑ ์ฌ์ฉ ํ
android:text์์ฑ๋ง ์ง์ ํด์ฃผ๋ฉด๋จ
<androidx.appcompat.widget.AppCompatButton
android:layout_width="match_parent"
android:layout_height="60dp"
android:text="@string/msg_store"
style="@style/MyDailyButtonStyle" />Style ๋ด์ฉ
<style name="MyDailyButtonStyle" parent="Widget.AppCompat.Button">
<item name="android:textSize">18sp</item>
<item name="android:textStyle">bold</item>
<item name="android:textColor">@color/white</item>
<item name="android:background">@drawable/selector_btn_sign_in</item>
</style>Metadata
Metadata
Assignees
Labels
documentationImprovements or additions to documentationImprovements or additions to documentation
