SlideShare ist ein Scribd-Unternehmen logo
1 von 65
Downloaden Sie, um offline zu lesen
compile ‘com.android.support:design:23.2.1'
compile ‘com.android.support:appcompat-v7:23.2.1’
<resources>



<!-- Base application theme. -->



<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">

<item name="colorAccent">#FF4081</item>

<item name="colorPrimary">#3F51B5</item>

<item name="colorPrimaryDark">#303F9F</item>

<item name="colorControlHighlight">#00CC55</item>

<item name="colorControlNormal">#FF0000</item>

</style>



</resources>

<resources>



<!-- Base application theme. -->



<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">

<item name="colorAccent">#FF4081</item>

<item name="colorPrimary">#3F51B5</item>

<item name="colorPrimaryDark">#303F9F</item>

<item name="colorControlHighlight">#00CC55</item>

<item name="colorControlNormal">#FF0000</item>

</style>



</resources>

<manifest>

<application

android:allowBackup="true"

android:icon="@drawable/ic_launcher"

android:label="@string/app_name"

android:theme="@style/AppTheme" >

<activity

android:name="com.androidhuman.example.materialcolor.MainActivity"

android:windowSoftInputMode="stateHidden"

android:label="@string/app_name" >

<intent-filter>

<action android:name="android.intent.action.MAIN" />



<category android:name="android.intent.category.LAUNCHER" />

</intent-filter>

</activity>

</application>



</manifest>
<manifest>

<application

android:allowBackup="true"

android:icon="@drawable/ic_launcher"

android:label="@string/app_name"

android:theme="@style/AppTheme" >

<activity

android:name="com.androidhuman.example.materialcolor.MainActivity"

android:windowSoftInputMode="stateHidden"

android:label="@string/app_name" >

<intent-filter>

<action android:name="android.intent.action.MAIN" />



<category android:name="android.intent.category.LAUNCHER" />

</intent-filter>

</activity>

</application>



</manifest>
colorPrimaryDark
colorPrimary
colorControlNormal
colorAccent
colorControlNormal
colorAccent
android:navigationBarColor
colorAccent
colorControlHighlight
colorControlHighlight
colorControlNormal
colorPrimary
<menu>

<item android:id="@+id/nv_refill_coin"

android:icon="@drawable/ic_refill_coin"

android:title="@string/lzb_refill_coin" />



<group android:id="@+id/nv_group_extras">

<item

android:id="@+id/nv_notice"

android:icon="@drawable/ic_notice"

android:title="@string/notice" />



<item

android:id="@+id/nv_customer_support"

android:icon="@drawable/ic_help"

android:title="@string/customer_support" />

</group>

</menu>
<menu>

<item android:id="@+id/nv_refill_coin"

android:icon="@drawable/ic_refill_coin"

android:title="@string/lzb_refill_coin" />



<group android:id="@+id/nv_group_extras">

<item

android:id="@+id/nv_notice"

android:icon="@drawable/ic_notice"

android:title="@string/notice" />



<item

android:id="@+id/nv_customer_support"

android:icon="@drawable/ic_help"

android:title="@string/customer_support" />

</group>

</menu>
<android.support.v4.widget.DrawerLayout

android:fitsSystemWindows="true">



<android.support.design.widget.CoordinatorLayout>



<android.support.design.widget.AppBarLayout/>



<FrameLayout/>



</android.support.design.widget.CoordinatorLayout>



<com.lezhin.ui.widget.LezhinNavigationView

android:id="@+id/nv_activity_main"

android:layout_width="wrap_content"

android:layout_height="match_parent"

android:layout_gravity="start"

android:fitsSystemWindows="true"

app:menu="@menu/nv_default" />



</android.support.v4.widget.DrawerLayout>
<android.support.v4.widget.DrawerLayout
android:fitsSystemWindows="true">



<android.support.design.widget.CoordinatorLayout>


<android.support.design.widget.AppBarLayout/>


<FrameLayout/>


</android.support.design.widget.CoordinatorLayout>



<com.lezhin.ui.widget.LezhinNavigationView

android:id="@+id/nv_activity_main"

android:layout_width="wrap_content"

android:layout_height="match_parent"

android:layout_gravity="start"

android:fitsSystemWindows="true"

app:menu="@menu/nv_default" />



</android.support.v4.widget.DrawerLayout>
<android.support.design.widget.TextInputLayout

android:id="@+id/lza_til_activity_sign_up_email"

android:layout_width="match_parent"

android:layout_height="wrap_content"

app:errorEnabled="true">



<EditText

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:hint="@string/lza_email"

android:inputType="textEmailAddress"

android:singleLine="true" />



</android.support.design.widget.TextInputLayout>
<android.support.design.widget.TextInputLayout

android:id="@+id/lza_til_activity_sign_up_email"

android:layout_width="match_parent"

android:layout_height="wrap_content"

app:errorEnabled="true">



<EditText

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:hint="@string/lza_email"

android:inputType="textEmailAddress"

android:singleLine="true" />



</android.support.design.widget.TextInputLayout>
<android.support.design.widget.CoordinatorLayout>



<android.support.design.widget.AppBarLayout
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">



<android.support.v7.widget.Toolbar

android:id="@+id/lzc_toolbar"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:minHeight="?attr/actionBarSize"

app:layout_scrollFlags="scroll|enterAlways"

app:popupTheme=“@style/ThemeOverlay.AppCompat.Light"/>
<android.support.design.widget.TabLayout

android:id="@+id/tl_activity_base_content"

android:layout_width="match_parent"

android:layout_height=“wrap_content" />


</android.support.design.widget.AppBarLayout>



<android.support.v7.widget.RecyclerView

android:id="@+id/rv_activity_main"

android:layout_width="match_parent"

android:layout_height="match_parent"

app:layout_behavior="@string/appbar_scrolling_view_behavior" />



</android.support.design.widget.CoordinatorLayout>
<android.support.design.widget.CoordinatorLayout>



<android.support.design.widget.AppBarLayout
android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar">



<android.support.v7.widget.Toolbar

android:id="@+id/lzc_toolbar"

android:layout_width="match_parent"

android:layout_height="wrap_content"

android:minHeight="?attr/actionBarSize"

app:layout_scrollFlags="scroll|enterAlways"

app:popupTheme=“@style/ThemeOverlay.AppCompat.Light"/>
<android.support.design.widget.TabLayout

android:id="@+id/tl_activity_base_content"

android:layout_width="match_parent"

android:layout_height=“wrap_content" />


</android.support.design.widget.AppBarLayout>



<android.support.v7.widget.RecyclerView

android:id="@+id/rv_activity_main"

android:layout_width="match_parent"

android:layout_height="match_parent"

app:layout_behavior="@string/appbar_scrolling_view_behavior" />



</android.support.design.widget.CoordinatorLayout>
Material Design with Support Design Library
Material Design with Support Design Library
Material Design with Support Design Library
Material Design with Support Design Library
Material Design with Support Design Library
Material Design with Support Design Library
Material Design with Support Design Library
Material Design with Support Design Library
Material Design with Support Design Library
Material Design with Support Design Library
Material Design with Support Design Library
Material Design with Support Design Library
Material Design with Support Design Library
Material Design with Support Design Library
Material Design with Support Design Library
Material Design with Support Design Library
Material Design with Support Design Library
Material Design with Support Design Library
Material Design with Support Design Library

Weitere ähnliche Inhalte

Mehr von Taeho Kim

Kotlin: Let's Make Android Great Again
Kotlin: Let's Make Android Great AgainKotlin: Let's Make Android Great Again
Kotlin: Let's Make Android Great AgainTaeho Kim
 
레진코믹스가 코틀린으로 간 까닭은?
레진코믹스가 코틀린으로 간 까닭은?레진코믹스가 코틀린으로 간 까닭은?
레진코믹스가 코틀린으로 간 까닭은?Taeho Kim
 
(안드로이드 개발자를 위한) 오픈소스 라이브러리 사용 가이드
(안드로이드 개발자를 위한) 오픈소스 라이브러리 사용 가이드(안드로이드 개발자를 위한) 오픈소스 라이브러리 사용 가이드
(안드로이드 개발자를 위한) 오픈소스 라이브러리 사용 가이드Taeho Kim
 
RxJava in Action
RxJava in ActionRxJava in Action
RxJava in ActionTaeho Kim
 
Android Studio 2.2 - What's new in Android development tools
Android Studio 2.2 - What's new in Android development toolsAndroid Studio 2.2 - What's new in Android development tools
Android Studio 2.2 - What's new in Android development toolsTaeho Kim
 
Multi Window in Android N
Multi Window in Android NMulti Window in Android N
Multi Window in Android NTaeho Kim
 
Support Design Library
Support Design LibrarySupport Design Library
Support Design LibraryTaeho Kim
 
Material design for everyone
Material design for everyoneMaterial design for everyone
Material design for everyoneTaeho Kim
 
Notifications for Android L & wear
Notifications for Android L & wearNotifications for Android L & wear
Notifications for Android L & wearTaeho Kim
 
[Hello World 천안아산] 안드로이드 입문
[Hello World 천안아산] 안드로이드 입문[Hello World 천안아산] 안드로이드 입문
[Hello World 천안아산] 안드로이드 입문Taeho Kim
 

Mehr von Taeho Kim (10)

Kotlin: Let's Make Android Great Again
Kotlin: Let's Make Android Great AgainKotlin: Let's Make Android Great Again
Kotlin: Let's Make Android Great Again
 
레진코믹스가 코틀린으로 간 까닭은?
레진코믹스가 코틀린으로 간 까닭은?레진코믹스가 코틀린으로 간 까닭은?
레진코믹스가 코틀린으로 간 까닭은?
 
(안드로이드 개발자를 위한) 오픈소스 라이브러리 사용 가이드
(안드로이드 개발자를 위한) 오픈소스 라이브러리 사용 가이드(안드로이드 개발자를 위한) 오픈소스 라이브러리 사용 가이드
(안드로이드 개발자를 위한) 오픈소스 라이브러리 사용 가이드
 
RxJava in Action
RxJava in ActionRxJava in Action
RxJava in Action
 
Android Studio 2.2 - What's new in Android development tools
Android Studio 2.2 - What's new in Android development toolsAndroid Studio 2.2 - What's new in Android development tools
Android Studio 2.2 - What's new in Android development tools
 
Multi Window in Android N
Multi Window in Android NMulti Window in Android N
Multi Window in Android N
 
Support Design Library
Support Design LibrarySupport Design Library
Support Design Library
 
Material design for everyone
Material design for everyoneMaterial design for everyone
Material design for everyone
 
Notifications for Android L & wear
Notifications for Android L & wearNotifications for Android L & wear
Notifications for Android L & wear
 
[Hello World 천안아산] 안드로이드 입문
[Hello World 천안아산] 안드로이드 입문[Hello World 천안아산] 안드로이드 입문
[Hello World 천안아산] 안드로이드 입문
 

Material Design with Support Design Library