Sfoglia il codice sorgente

Set ReaderSettingActivity accent color as bright blue

Wayne 5 anni fa
parent
commit
46a82a6ffa

+ 1 - 0
reader/src/main/res/layout/activity_reader_setting.xml

@@ -6,6 +6,7 @@
     xmlns:tools="http://schemas.android.com/tools"
     android:layout_width="match_parent"
     android:layout_height="match_parent"
+    android:theme="@style/ReaderSettingActivityTheme"
     tools:context=".setting.ReaderSettingActivity">
 
     <android.support.v7.widget.Toolbar

+ 3 - 0
reader/src/main/res/values/styles.xml

@@ -37,4 +37,7 @@
         <item name="android:layout_height">48dp</item>
         <item name="android:padding">6dp</item>
     </style>
+    <style name="ReaderSettingActivityTheme" parent="Theme.AppCompat.Light.DarkActionBar">
+        <item name="colorAccent">@color/bright_blue</item>
+    </style>
 </resources>