Clone this repo:
  1. 3053927 OmniStyle: Q update rodeo by maxwen · 6 years ago p9.0
  2. 099a8bc Add in line to show creator of Bliss Headers by pimpmaneaton · 6 years ago
  3. 629e602 Bliss Headers by pimpmaneaton · 6 years ago
  4. 58d679c OmniStyle: Added 'Colorful' headers by Alex Cruz · 7 years ago
  5. 7677e24 OmniStyle: Add more headers by Pranav Vashi · 7 years ago

Daylight header images

Activity activity name is used to defined name of the config file

<action android:name="org.omnirom.DaylightHeaderPack1" />
		<activity
			android:name=".<tag>"
			android:label="<label>" >
			<intent-filter>
				<action android:name="org.omnirom.DaylightHeaderPack1" />

				<category android:name="android.intent.category.DEFAULT" />
			</intent-filter>
		</activity>

Config file

assets/<tag>.xml

hour_header - display image if hour is larger then value

day_header - display image on this day and hour - will overrule hour header

random_header - choose a random image from the image list

list_header - sequential iterate over the image list

change_interval - change interval in minutes - default interval is one hour only valid in random or sequential mode

meta-data - additional optional information about the header pack creator text will be displayed in BrowseHeaderActivity

<daylight_headers>
    <hour_header hour="21" image="night" />
    <day_header day="25" month="12" image="christmas" />
    <day_header day="1" month="1" hour="0" image="new_year_1" />
    <day_header day="1" month="1" hour="12" image="new_year_2" />
</daylight_headers>

<daylight_headers>
    <random_header image="nature01" />
    <random_header image="nature02" />
    <random_header image="nature03" />
</daylight_headers>

<daylight_headers>
    <meta-data creator="maxwen" />
    <change_interval minutes="10" />
    <list_header image="nature01" />
    <list_header image="nature02" />
    <list_header image="nature03" />
</daylight_headers>

Label will be the name your pack will appear when selecting

Images size should have a 4:1 ratio. Images will be resized to fit and cropped as necessary.

Images are drawn behind quickbar in collapsed state so you should avoid to use too bright colors in that area else the quickbar images will become hard to see.

Contributors

  • Travis Hall
  • Syed Sajid

TODO

Show pack properties like type (random, list, time context) and change interval when selecting

Omni wallpapers

Using Picasso http://square.github.io/picasso/

Contributors

  • JP Kenji
  • PartimusPrime

Contributing wallpapers

Put images files into drawable-nodpi

assets/wallpaper.xml
    <wallpaper image="wall_name" creator="optional creator name" />