diff options
author | Peter Ng <petergng@google.com> | 2012-10-03 12:44:26 -0700 |
---|---|---|
committer | Isaac Katzenelson <isaack@android.com> | 2012-10-03 13:20:10 -0700 |
commit | fdf315209cc7a63e3b1dd125dcacdade962aa297 (patch) | |
tree | 9334f211546e6087af72239cea1344fbaf673c70 /res/layout-land | |
parent | 733afe52e37148f2f1d36436c1a1eadcad5b471b (diff) | |
download | android_packages_apps_DeskClock-fdf315209cc7a63e3b1dd125dcacdade962aa297.tar.gz android_packages_apps_DeskClock-fdf315209cc7a63e3b1dd125dcacdade962aa297.tar.bz2 android_packages_apps_DeskClock-fdf315209cc7a63e3b1dd125dcacdade962aa297.zip |
Making tablet layouts work and spaced out evenly
Change-Id: Ie17cce096b50161bb51fb9c279bf42235e003646
Diffstat (limited to 'res/layout-land')
-rw-r--r-- | res/layout-land/stopwatch_fragment.xml | 10 | ||||
-rw-r--r-- | res/layout-land/timer_list_item.xml | 5 |
2 files changed, 9 insertions, 6 deletions
diff --git a/res/layout-land/stopwatch_fragment.xml b/res/layout-land/stopwatch_fragment.xml index 7b797333d..85d3e5a9c 100644 --- a/res/layout-land/stopwatch_fragment.xml +++ b/res/layout-land/stopwatch_fragment.xml @@ -27,8 +27,8 @@ <FrameLayout android:layout_width="0dip" android:layout_height="match_parent" - android:layout_marginLeft="16dip" - android:layout_marginRight="16dip" + android:layout_marginLeft="@dimen/circle_margin" + android:layout_marginRight="@dimen/circle_margin" android:layout_weight="1" > <com.android.deskclock.timer.CountingTimerView @@ -45,11 +45,11 @@ <ListView android:id="@+id/laps_list" android:layout_weight="1" - android:layout_marginLeft="16dip" - android:layout_marginRight="32dip" + android:layout_marginLeft="@dimen/laps_margin" + android:layout_marginRight="@dimen/laps_margin" android:layout_gravity="center" android:layout_width="0dip" - android:layout_height="match_parent" /> + android:layout_height="wrap_content" /> </LinearLayout> <View android:layout_width="match_parent" diff --git a/res/layout-land/timer_list_item.xml b/res/layout-land/timer_list_item.xml index 4e164328c..f1db09b60 100644 --- a/res/layout-land/timer_list_item.xml +++ b/res/layout-land/timer_list_item.xml @@ -21,7 +21,10 @@ <FrameLayout android:layout_width="@dimen/timer_circle_diameter" - android:layout_height="@dimen/timer_circle_diameter"> + android:layout_height="@dimen/timer_circle_diameter" + android:layout_marginLeft="@dimen/circle_margin" + android:layout_marginRight="@dimen/circle_margin"> + <com.android.deskclock.CircleTimerView android:id="@+id/timer_time" android:layout_width="match_parent" |