Skip to content

Commit

Permalink
#513 - Bug fix for world clock utility (#517)
Browse files Browse the repository at this point in the history
  • Loading branch information
vallividhya authored and Swati4star committed Oct 19, 2018
1 parent 1321d12 commit a6ec186
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,17 +13,19 @@
android:layout_height="wrap_content">

<TextView
android:id="@+id/tvTimeZone"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="5sp"
android:layout_marginTop="5sp"
android:textSize="@dimen/text_size_normal"
android:text="@string/select_timezone"
android:textColor="@color/green" />

<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_below="@+id/to"
android:layout_below="@+id/tvTimeZone"
android:layout_marginTop="25sp"
android:background="#f5f5f5"
android:padding="10sp">
Expand Down Expand Up @@ -81,7 +83,8 @@
android:textColor="@android:color/black"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="450dp"
android:layout_gravity="center|top" />
android:layout_marginTop="@dimen/clockTextMargin"
android:layout_gravity="center|bottom"
android:layout_marginBottom="@dimen/clockTextMarginBottom"/>

</FrameLayout>
2 changes: 2 additions & 0 deletions Android/app/src/main/res/values/dimens.xml
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,6 @@
<dimen name="margin_16dp">16dp</dimen>
<dimen name="margin_20dp">20dp</dimen>

<dimen name="clockTextMargin">450dp</dimen>
<dimen name="clockTextMarginBottom">20dp</dimen>
</resources>

0 comments on commit a6ec186

Please sign in to comment.