From ddf949ac36c2a3b7a45918814d2c7bc57480aa9b Mon Sep 17 00:00:00 2001 From: James Kung Date: Mon, 8 Apr 2013 17:40:49 -0700 Subject: Layout for smaller devices e.g. Nexus S Bug: Change-Id: I210fbab377f49ec58bfa811d76e3dc5172fede63 --- res/layout/date_picker_header_view.xml | 25 ++++++++++ res/layout/date_picker_selected_date.xml | 79 +++++++++++++------------------- 2 files changed, 56 insertions(+), 48 deletions(-) create mode 100644 res/layout/date_picker_header_view.xml (limited to 'res/layout') diff --git a/res/layout/date_picker_header_view.xml b/res/layout/date_picker_header_view.xml new file mode 100644 index 0000000..a141616 --- /dev/null +++ b/res/layout/date_picker_header_view.xml @@ -0,0 +1,25 @@ + + + diff --git a/res/layout/date_picker_selected_date.xml b/res/layout/date_picker_selected_date.xml index c65fd20..3dda64c 100644 --- a/res/layout/date_picker_selected_date.xml +++ b/res/layout/date_picker_selected_date.xml @@ -14,73 +14,56 @@ See the License for the specific language governing permissions and limitations under the License. --> + - - + android:layout_height="wrap_content" + android:layout_gravity="center" + android:clickable="true" + android:orientation="vertical" + android:textColor="@color/date_picker_selector" > - - - - - - + android:duplicateParentState="true" + android:gravity="center_horizontal|bottom" + android:includeFontPadding="false" + android:textColor="@color/date_picker_selector" + android:textSize="@dimen/selected_date_month_size" /> + android:textSize="@dimen/selected_date_day_size" /> + + \ No newline at end of file -- cgit v1.2.3