Home | History | Annotate | Download | only in plugin
      1 /*
      2  * Copyright (C) 2008 Esmertec AG.
      3  * Copyright (C) 2008 The Android Open Source Project
      4  *
      5  * Licensed under the Apache License, Version 2.0 (the "License");
      6  * you may not use this file except in compliance with the License.
      7  * You may obtain a copy of the License at
      8  *
      9  *      http://www.apache.org/licenses/LICENSE-2.0
     10  *
     11  * Unless required by applicable law or agreed to in writing, software
     12  * distributed under the License is distributed on an "AS IS" BASIS,
     13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     14  * See the License for the specific language governing permissions and
     15  * limitations under the License.
     16  */
     17 package com.android.im.plugin;
     18 
     19 /**
     20  * Defines the IDs of branding resources.
     21  *
     22  */
     23 public interface BrandingResourceIDs {
     24 
     25     /**
     26      * The logo icon of the provider which is displayed in the landing page.
     27      */
     28     public static final int DRAWABLE_LOGO                = 100;
     29     /**
     30      * The icon of online presence status.
     31      */
     32     public static final int DRAWABLE_PRESENCE_ONLINE     = 102;
     33     /**
     34      * The icon of busy presence status.
     35      */
     36     public static final int DRAWABLE_PRESENCE_BUSY       = 103;
     37     /**
     38      * The icon of away presence status.
     39      */
     40     public static final int DRAWABLE_PRESENCE_AWAY       = 104;
     41     /**
     42      * The icon of invisible presence status.
     43      */
     44     public static final int DRAWABLE_PRESENCE_INVISIBLE  = 105;
     45     /**
     46      * The icon of offline presence status.
     47      */
     48     public static final int DRAWABLE_PRESENCE_OFFLINE    = 106;
     49     /**
     50      * The label of the menu to go to the contact list screen.
     51      */
     52     public static final int STRING_MENU_CONTACT_LIST     = 107;
     53 
     54     /**
     55      * The image displayed on the splash screen while logging in.
     56      */
     57     public static final int DRAWABLE_SPLASH_SCREEN       = 200;
     58     /**
     59      * The icon for blocked contacts.
     60      */
     61     public static final int DRAWABLE_BLOCK               = 201;
     62     /**
     63      * The water mark background for chat screen.
     64      */
     65     public static final int DRAWABLE_CHAT_WATERMARK      = 202;
     66     /**
     67      * The icon for the read conversation.
     68      */
     69     public static final int DRAWABLE_READ_CHAT           = 203;
     70     /**
     71      * The icon for the unread conversation.
     72      */
     73     public static final int DRAWABLE_UNREAD_CHAT         = 204;
     74 
     75     /**
     76      * The title of buddy list screen. It's conjuncted with the current username
     77      * and should be formatted as a string like
     78      * "Contact List - <xliff:g id="username">%1$s</xliff:g>
     79      */
     80     public static final int STRING_BUDDY_LIST_TITLE      = 301;
     81 
     82     /**
     83      * A string array of the smiley names.
     84      */
     85     public static final int STRING_ARRAY_SMILEY_NAMES    = 302;
     86     /**
     87      * A string array of the smiley texts.
     88      */
     89     public static final int STRING_ARRAY_SMILEY_TEXTS    = 303;
     90 
     91     /**
     92      * The string of available presence status.
     93      */
     94     public static final int STRING_PRESENCE_AVAILABLE    = 304;
     95     /**
     96      * The string of away presence status.
     97      */
     98     public static final int STRING_PRESENCE_AWAY         = 305;
     99     /**
    100      * The string of busy presence status.
    101      */
    102     public static final int STRING_PRESENCE_BUSY         = 306;
    103     /**
    104      * The string of the idle presence status.
    105      */
    106     public static final int STRING_PRESENCE_IDLE         = 307;
    107     /**
    108      * The string of the invisible presence status.
    109      */
    110     public static final int STRING_PRESENCE_INVISIBLE    = 308;
    111     /**
    112      * The string of the offline presence status.
    113      */
    114     public static final int STRING_PRESENCE_OFFLINE      = 309;
    115 
    116     /**
    117      * The label of username displayed on the account setup screen.
    118      */
    119     public static final int STRING_LABEL_USERNAME        = 310;
    120     /**
    121      * The label of the ongoing conversation group.
    122      */
    123     public static final int STRING_ONGOING_CONVERSATION  = 311;
    124     /**
    125      * The title of add contact screen.
    126      */
    127     public static final int STRING_ADD_CONTACT_TITLE     = 312;
    128     /**
    129      * The label of the contact input box on the add contact screen.
    130      */
    131     public static final int STRING_LABEL_INPUT_CONTACT   = 313;
    132     /**
    133      * The label of the add contact button on the add contact screen
    134      */
    135     public static final int STRING_BUTTON_ADD_CONTACT    = 314;
    136     /**
    137      * The title of the contact info dialog.
    138      */
    139     public static final int STRING_CONTACT_INFO_TITLE    = 315;
    140     /**
    141      * The label of the menu to add a contact.
    142      */
    143     public static final int STRING_MENU_ADD_CONTACT      = 316;
    144     /**
    145      * The label of the menu to start a conversation.
    146      */
    147     public static final int STRING_MENU_START_CHAT       = 317;
    148     /**
    149      * The label of the menu to view contact profile info.
    150      */
    151     public static final int STRING_MENU_VIEW_PROFILE     = 318;
    152     /**
    153      * The label of the menu to end a conversation.
    154      */
    155     public static final int STRING_MENU_END_CHAT         = 319;
    156     /**
    157      * The label of the menu to block a contact.
    158      */
    159     public static final int STRING_MENU_BLOCK_CONTACT    = 320;
    160     /**
    161      * The label of the menu to delete a contact.
    162      */
    163     public static final int STRING_MENU_DELETE_CONTACT   = 321;
    164     /**
    165      * The label of the menu to insert a smiley.
    166      */
    167     public static final int STRING_MENU_INSERT_SMILEY    = 322;
    168     /**
    169      * The label of the menu to switch conversations.
    170      */
    171     public static final int STRING_MENU_SWITCH_CHATS     = 323;
    172     /**
    173      * The string of the toast displayed when auto sign in button on the account
    174      * setup screen is checked.
    175      */
    176     public static final int STRING_TOAST_CHECK_AUTO_SIGN_IN  = 324;
    177     /**
    178      * The string of the toast displayed when the remember password button on
    179      * the account setup screen is checked.
    180      */
    181     public static final int STRING_TOAST_CHECK_SAVE_PASSWORD = 325;
    182     /**
    183      * The label of sign up a new account on the account setup screen.
    184      */
    185     public static final int STRING_LABEL_SIGN_UP         = 326;
    186     /**
    187      * The term of use message. If provided, a dialog will be shown at the first
    188      * time login to ask the user if he would accept the term or not.
    189      */
    190     public static final int STRING_TOU_MESSAGE           = 327;
    191     /**
    192      * The title of the term of use dialog.
    193      */
    194     public static final int STRING_TOU_TITLE             = 328;
    195     /**
    196      * The label of the button to accept the term of use.
    197      */
    198     public static final int STRING_TOU_ACCEPT            = 329;
    199     /**
    200      * The label of the button to decline the term of use.
    201      */
    202     public static final int STRING_TOU_DECLINE           = 330;
    203 }
    204