Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f77f3f72 authored by Itzhak Katzenelson's avatar Itzhak Katzenelson Committed by Isaac Katzenelson
Browse files

Center world clocks

Bug: 7427216
Change-Id: I56e016fbd3d075d80f6eb67d0404ed64b5380dc4
parent e85aa294
Loading
Loading
Loading
Loading
+7 −4
Original line number Diff line number Diff line
@@ -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"
+6 −16
Original line number Diff line number Diff line
@@ -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>