progress-bar-example-theme.json 1.63 KB
/*
 * Copyright (c) 2016 Samsung Electronics Co., Ltd.
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 *
 */

{
  "styles":
  {
    "ProgressBar":
    {
      "trackVisual":{
        "url":"{APPLICATION_RESOURCE_PATH}/images/new-progress-bar-track.9.png"
      },
      "progressVisual":{
        "url":"{APPLICATION_RESOURCE_PATH}/images/new-progress-bar-progress.9.png"
      },
      "secondaryProgressVisual":{
        "url":"{APPLICATION_RESOURCE_PATH}/images/new-progress-bar-secondary-progress.9.png"
      }
    },
    "CircularProgressBar":
    {
      "trackVisual":{
        "visualType":"ARC",
        "mixColor":[1.0, 0.898, 0.769, 1.0],
        "thickness":8.0
      },
      "progressVisual":{
        "visualType":"ARC",
        "mixColor":[0.965, 0.494, 0.49, 1.0],
        "thickness":8.0
      },
      "secondaryProgressVisual":{
        "visualType":"ARC",
        "mixColor":[1.0, 0.757, 0.655, 1.0],
        "thickness":8.0
      },
      "indeterminateVisual":{
        "visualType":"ARC",
        "mixColor":[0.49, 0.478, 0.635, 1.0],
        "thickness":8.0,
        "startAngle":267.0,
        "sweepAngle":75.0
      }
    }
  }
}