Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(330)

Side by Side Diff: third_party/android_data_chart/java/res/layout/data_usage_chart.xml

Issue 866813004: Add third_party/android_data_chart for data chart widget. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: renamed to third_party/android_data_chart Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="utf-8"?>
2 <!-- Copyright (C) 2013 The Android Open Source Project
3
4 Licensed under the Apache License, Version 2.0 (the "License");
5 you may not use this file except in compliance with the License.
6 You may obtain a copy of the License at
7
8 http://www.apache.org/licenses/LICENSE-2.0
9
10 Unless required by applicable law or agreed to in writing, software
11 distributed under the License is distributed on an "AS IS" BASIS,
12 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 See the License for the specific language governing permissions and
14 limitations under the License.
15 -->
16
17 <com.google.android.apps.chrome.third_party.datausagechart.ChartDataUsageView
18 xmlns:android="http://schemas.android.com/apk/res/android"
19 xmlns:settings="http://schemas.android.com/apk/res-auto"
20 android:id="@+id/chart"
21 android:layout_width="match_parent"
22 android:layout_height="@dimen/data_usage_chart_height"
23 android:paddingTop="16dp"
24 android:paddingBottom="8dp" >
25
26 <com.google.android.apps.chrome.third_party.datausagechart.ChartNetworkSerie sView
27 android:id="@+id/series"
28 android:layout_width="match_parent"
29 android:layout_height="match_parent"
30 android:layout_gravity="start|bottom"
31 android:background="@color/data_reduction_chart_background_color"
32 settings:strokeColor="@color/data_reduction_original_color"
33 settings:fillColor="@color/data_reduction_original_color"
34 settings:fillColorSecondary="@color/data_reduction_original_color" />
35
36 <com.google.android.apps.chrome.third_party.datausagechart.ChartNetworkSerie sView
37 android:id="@+id/detail_series"
38 android:layout_width="match_parent"
39 android:layout_height="match_parent"
40 android:layout_gravity="start|bottom"
41 settings:strokeColor="@color/data_reduction_compressed_color"
42 settings:fillColor="@color/data_reduction_compressed_color"
43 settings:fillColorSecondary="@color/data_reduction_compressed_color" />
44 </com.google.android.apps.chrome.third_party.datausagechart.ChartDataUsageView>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698