Settings

  • Host activity: DialerSettingsActivity
  • Fragment: DialerSettingsFragment
  • Root layout: @layout/dialer_settings_activity
  • Theme: @style/Theme.Dialer.Setting
  • Preferences: R.xml.settings_page

Settings screen

Figure 1. Settings screen

Component Property Value
Toolbar appearance android:toolbarStyle
  • Theme
@style/Widget.Dialer.Toolbar
android:navigationIcon
  • Style
@drawable/ic_arrow_back
android:actionBarSize
  • Theme
96dp
android:label
  • Manifest
@string/setting_title
Preference appearance preferenceTheme
  • Theme
@style/PreferenceTheme

Preference appearance

Figure 2. Preference appearance

Start screen setting:

  android:entries="@array/tabs_title"
  android:entryValues="@array/tabs_config"
  • Dialog. android.app.AlertDialog
  • Theme. Theme.DeviceDefault.Dialog.Alert

Contact Order setting

Figure 2. Contact Order setting

Contact order setting:

android:entries="@array/contact_order_entries"
android:entryValues="@array/contact_order_entry_values"
  • Dialog. android.app.AlertDialog
  • Theme. Theme.DeviceDefault.Dialog.Alert