Fixes #3197 Replace hardcoded dimensions with dimen resource values (#3402)

This commit is contained in:
Yash Khare 2020-02-12 09:56:33 +05:30 committed by GitHub
parent 9b3f3e9d3c
commit 69e7161c61
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
125 changed files with 542 additions and 506 deletions

View file

@ -10,21 +10,21 @@
android:orientation="horizontal">
<com.facebook.drawee.view.SimpleDraweeView
android:id="@+id/orginalImage"
android:layout_width="160dp"
android:layout_height="240dp"
android:layout_margin="3dp"
android:layout_width="@dimen/giant_height"
android:layout_height="@dimen/very_large_height"
android:layout_margin="@dimen/progressbar_stroke"
app:actualImageScaleType="fitCenter" />
<com.facebook.drawee.view.SimpleDraweeView
android:id="@+id/possibleImage"
android:layout_width="160dp"
android:layout_height="240dp"
android:layout_margin="3dp"
android:layout_width="@dimen/giant_height"
android:layout_height="@dimen/very_large_height"
android:layout_margin="@dimen/progressbar_stroke"
app:actualImageScaleType="fitCenter" />
</LinearLayout>
<TextView
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="6dp"
android:layout_margin="@dimen/dimen_6"
android:layout_gravity="center"
android:textAlignment="center"
android:text="Did you shoot these two pictures at the same place? Do you want to use the latitude/longitude of the picture on the right?"/>
@ -33,15 +33,15 @@
android:orientation="horizontal"
android:layout_height="match_parent">
<View
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_width="@dimen/dimen_0"
android:layout_height="@dimen/dimen_0"
android:layout_weight="1"/>
<Button
style="@style/Widget.AppCompat.Button.Borderless"
android:layout_width="wrap_content"
android:layout_gravity="right"
android:id="@+id/negative_button"
android:layout_marginRight="3dp"
android:layout_marginRight="@dimen/progressbar_stroke"
android:layout_height="wrap_content"
android:text="No" />
@ -51,7 +51,7 @@
android:layout_height="wrap_content"
android:id="@+id/postive_button"
android:layout_gravity="right"
android:layout_marginLeft="3dp"
android:layout_marginLeft="@dimen/progressbar_stroke"
android:text="Yes" />
</LinearLayout>
</LinearLayout>