[image: enter image description here]

I am trying to figure out how the UI was designed for the Android Alarm 
Clock app. This appears to be using the Holo Dark Theme.

The screenshot included is the Create/Edit Alarm Activity screen. It looks 
similar to Android 
Settings<http://developer.android.com/guide/topics/ui/settings.html>. 
Is this case? Because the "Turn the alarm on" & "Vibrate" rows look like
ChexboxPreferences. The "Ringtone" row looks like a RingtonePreference. 
What about the "Time" row?

As @eric mentioned in the comments to one of the answers below, I am trying 
to recreate a similar interface to the alarm clock app. I do not want to 
send an intent to start the Alarm Manager from my app.

What about the "Label" row? That functions a lot like an EditText view. Can 
you have a combination of Views and Preferences inside a PreferenceScreen xml 
tag?

Also the ActionBar has a vertical pipe, I am not sure how this was created 
but is the "Done" view anImageButton?

I am not completely convinced that it is a combination of Preferences, 
since the Alarm app can have multiple alarms and not just one alarm. If 
there are multiple alarms and you don't use multipleSharedPreferences files, 
it would naturally make sense to create a content provider to store the 
information related to multiple alarms.

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to