summaryrefslogtreecommitdiff
path: root/res/layout
diff options
context:
space:
mode:
authorJames Kung <kingkung@google.com>2013-04-10 17:37:26 -0700
committerJames Kung <kingkung@google.com>2013-04-10 19:25:39 -0700
commit2e00aa34c051111529290cf23c6ba940c2c0c142 (patch)
tree6fa588f28300d9bda10c7bc2cac16726b0b3103e /res/layout
parent541b40d9c4cef3805b2eff91968669a1a9aa901a (diff)
downloaddatetimepicker-2e00aa34c051111529290cf23c6ba940c2c0c142.tar.gz
Date picker layout modifications
Bug: 8581974 Change-Id: I3c547c2ebf1bb6488b823044bd7fd7bdffdab69e
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/date_picker_done_button.xml3
-rw-r--r--res/layout/year_label_text_view.xml (renamed from res/layout/month_text_view.xml)9
2 files changed, 6 insertions, 6 deletions
diff --git a/res/layout/date_picker_done_button.xml b/res/layout/date_picker_done_button.xml
index 8d61f4b..4556f7a 100644
--- a/res/layout/date_picker_done_button.xml
+++ b/res/layout/date_picker_done_button.xml
@@ -25,5 +25,6 @@
style="?android:attr/buttonBarButtonStyle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:text="@string/done_label" />
+ android:text="@string/done_label"
+ android:textColor="@color/done_text_color" />
</LinearLayout>
diff --git a/res/layout/month_text_view.xml b/res/layout/year_label_text_view.xml
index df2bfde..33d6b25 100644
--- a/res/layout/month_text_view.xml
+++ b/res/layout/year_label_text_view.xml
@@ -13,13 +13,12 @@
See the License for the specific language governing permissions and
limitations under the License.
-->
-<com.android.datetimepicker.date.SelectableTextView
+<com.android.datetimepicker.date.TextViewWithCircularIndicator
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/month_text_view"
android:layout_width="match_parent"
- android:layout_height="wrap_content"
+ android:layout_height="@dimen/year_label_height"
android:layout_gravity="center"
android:gravity="center"
- android:padding="@dimen/month_list_item_padding"
- android:textColor="@color/calendar_day_number"
- android:textSize="@dimen/month_list_item_size" />
+ android:textColor="@color/date_picker_year_selector"
+ android:textSize="@dimen/year_label_text_size" />