Loading res/layout/world_clock_item.xml +7 −4 Original line number Diff line number Diff line Loading @@ -16,20 +16,23 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingTop="@dimen/medium_space_top" android:paddingBottom="@dimen/medium_space_bottom" android:orientation="vertical"> <FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content"> android:layout_width="match_parent" android:layout_height="match_parent"> <include layout="@layout/desk_clock_time_small" android:id="@+id/digital_clock" android:gravity="center" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content"/> <com.android.deskclock.AnalogClock android:id="@+id/analog_clock" android:gravity="center" android:layout_width="@dimen/world_clock_analog_size" android:layout_height="@dimen/world_clock_analog_size" android:layout_gravity="center_horizontal" Loading res/layout/world_clock_list_item.xml +6 −16 Original line number Diff line number Diff line Loading @@ -22,29 +22,19 @@ android:layout_marginLeft="@dimen/circle_margin" android:orientation="horizontal"> <Space android:layout_weight="1" android:layout_width="0dp" android:layout_height="match_parent"/> <include layout="@layout/world_clock_item" android:id="@+id/city_left" android:layout_width="wrap_content" android:layout_height="wrap_content"/> <Space android:gravity="center" android:layout_width="0dip" android:layout_weight="1" android:layout_width="0dp" android:layout_height="match_parent"/> android:layout_height="wrap_content"/> <include layout="@layout/world_clock_item" android:id="@+id/city_right" android:layout_width="wrap_content" android:layout_height="wrap_content"/> <Space android:gravity="center" android:layout_width="0dip" android:layout_weight="1" android:layout_width="0dp" android:layout_height="match_parent"/> android:layout_height="wrap_content"/> </LinearLayout> Loading
res/layout/world_clock_item.xml +7 −4 Original line number Diff line number Diff line Loading @@ -16,20 +16,23 @@ <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_width="match_parent" android:layout_height="match_parent" android:paddingTop="@dimen/medium_space_top" android:paddingBottom="@dimen/medium_space_bottom" android:orientation="vertical"> <FrameLayout android:layout_width="wrap_content" android:layout_height="wrap_content"> android:layout_width="match_parent" android:layout_height="match_parent"> <include layout="@layout/desk_clock_time_small" android:id="@+id/digital_clock" android:gravity="center" android:layout_gravity="center" android:layout_width="wrap_content" android:layout_height="wrap_content"/> <com.android.deskclock.AnalogClock android:id="@+id/analog_clock" android:gravity="center" android:layout_width="@dimen/world_clock_analog_size" android:layout_height="@dimen/world_clock_analog_size" android:layout_gravity="center_horizontal" Loading
res/layout/world_clock_list_item.xml +6 −16 Original line number Diff line number Diff line Loading @@ -22,29 +22,19 @@ android:layout_marginLeft="@dimen/circle_margin" android:orientation="horizontal"> <Space android:layout_weight="1" android:layout_width="0dp" android:layout_height="match_parent"/> <include layout="@layout/world_clock_item" android:id="@+id/city_left" android:layout_width="wrap_content" android:layout_height="wrap_content"/> <Space android:gravity="center" android:layout_width="0dip" android:layout_weight="1" android:layout_width="0dp" android:layout_height="match_parent"/> android:layout_height="wrap_content"/> <include layout="@layout/world_clock_item" android:id="@+id/city_right" android:layout_width="wrap_content" android:layout_height="wrap_content"/> <Space android:gravity="center" android:layout_width="0dip" android:layout_weight="1" android:layout_width="0dp" android:layout_height="match_parent"/> android:layout_height="wrap_content"/> </LinearLayout>