java - How to set Holo light theme for all android application -
i accidentally did in layout , of activities dark colored white text "inside textviews", before of them grey color black text, searched internet believe somehow changed activities "holo light" "holo dark", how can default theme back?
ps. don't believe problem layouts because didn't touch them. ps. here manifest :
<?xml version="1.0" encoding="utf-8"?> <manifest xmlns:android="http://schemas.android.com/apk/res/android" package="com.excellence.youniversity" android:versioncode="2" android:versionname="1.1" > <uses-sdk android:minsdkversion="9" android:targetsdkversion="22" /> <supports-screens android:largescreens="true" android:normalscreens="true" android:resizeable="true" android:smallscreens="true" /> <application android:allowbackup="true" android:icon="@drawable/blue" android:label="@string/app_name" android:theme="@style/apptheme" > <activity android:name=".mainactivity" android:label="@string/app_name" android:theme="@android:style/theme.notitlebar" > <intent-filter> <action android:name="android.intent.action.main" /> <category android:name="android.intent.category.launcher" /> </intent-filter> </activity> <activity android:name=".coursesactivity" android:label="@string/title_activity_courses" android:theme="@android:style/theme.notitlebar" > </activity> <activity android:name=".technology" android:label="@string/title_activity_technology" android:theme="@android:style/theme.notitlebar" > </activity> <activity android:name=".science" android:label="@string/title_activity_science" android:theme="@android:style/theme.notitlebar" > </activity> <activity android:name=".langauges" android:label="@string/title_activity_langauges" android:theme="@android:style/theme.notitlebar" > </activity> <activity android:name=".thinking" android:label="@string/title_activity_thinking" android:theme="@android:style/theme.notitlebar" > </activity> <activity android:name=".art" android:label="@string/title_activity_art" android:theme="@android:style/theme.notitlebar" > </activity> <activity android:name=".medicine" android:label="@string/title_activity_medicine" android:theme="@android:style/theme.notitlebar" > </activity> <activity android:name=".roboticactivity" android:label="@string/title_activity_robotic" android:theme="@android:style/theme.notitlebar" > </activity> <activity android:name=".techactivity" android:label="@string/title_activity_tech" android:theme="@android:style/theme.notitlebar" > </activity> <activity android:name=".androidactivity" android:label="@string/title_activity_android" android:theme="@android:style/theme.notitlebar" > </activity> <activity android:name=".wedooactivity" android:label="@string/title_activity_wedoo" android:theme="@android:style/theme.notitlebar" > </activity> <activity android:name=".androiddactivity" android:label="@string/title_activity_androidd" android:theme="@android:style/theme.notitlebar" > </activity> <activity android:name=".csiactivity" android:label="@string/title_activity_csi" android:theme="@android:style/theme.notitlebar" > </activity> <activity android:name=".chemistryactivity" android:label="@string/title_activity_chemistry" android:theme="@android:style/theme.notitlebar" > </activity> <activity android:name=".astronomyactivity" android:label="@string/title_activity_astronomy" android:theme="@android:style/theme.notitlebar" > </activity> <activity android:name=".architectureactivity" android:label="@string/title_activity_architecture" android:theme="@android:style/theme.notitlebar" > </activity> <activity android:name=".astronomyyactivity" android:label="@string/title_activity_astronomyy" android:theme="@android:style/theme.notitlebar" > </activity> <activity android:name=".fashionactivity" android:label="@string/title_activity_fashion" android:theme="@android:style/theme.notitlebar" > </activity> <activity android:name=".photographyactivity" android:label="@string/title_activity_photography" android:theme="@android:style/theme.notitlebar" > </activity> <activity android:name=".videoactivity" android:label="@string/title_activity_video" android:theme="@android:style/theme.notitlebar" > </activity> <activity android:name=".englishactivity" android:label="@string/title_activity_english" android:theme="@android:style/theme.notitlebar" > </activity> <activity android:name=".chessactivity" android:label="@string/title_activity_chess" android:theme="@android:style/theme.notitlebar" > </activity> <activity android:name=".budactivity" android:label="@string/title_activity_bud" android:theme="@android:style/theme.notitlebar" > </activity> <activity android:name=".firstaidactivity" android:label="@string/title_activity_firstaid" android:theme="@android:style/theme.notitlebar" > </activity> <activity android:name=".aboutus" android:label="@string/title_activity_about_us" android:theme="@android:style/theme.notitlebar" > </activity> </application> </manifest>
here styles.xml inside values folder
<!-- base application theme, dependent on api level. theme replaced appbasetheme res/values-vxx/styles.xml on newer devices. --> <style name="appbasetheme" parent="theme.appcompat.light"> <!-- theme customizations available in newer api levels can go in res/values-vxx/styles.xml, while customizations related backward-compatibility can go here. --> </style> <!-- application theme. --> <style name="apptheme" parent="appbasetheme"> <!-- customizations not specific particular api-level can go here. --> </style>
you have set android:theme="@android:style/theme.notitlebar"
in activities , style give holo dark theme.
you have replace with
android:theme="@android:style/theme.light.notitlebar"
Comments
Post a Comment