Merge "Replace the fixed size values with the new dimen resources." into sc-dev
This commit is contained in:
@@ -25,7 +25,7 @@
|
|||||||
|
|
||||||
<LinearLayout
|
<LinearLayout
|
||||||
android:layout_width="match_parent"
|
android:layout_width="match_parent"
|
||||||
android:layout_height="300dp"
|
android:layout_height="@dimen/settingslib_illustration_height"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
android:gravity="center_vertical"
|
android:gravity="center_vertical"
|
||||||
android:padding="@dimen/settingslib_illustration_padding"
|
android:padding="@dimen/settingslib_illustration_padding"
|
||||||
@@ -33,7 +33,7 @@
|
|||||||
<com.airbnb.lottie.LottieAnimationView
|
<com.airbnb.lottie.LottieAnimationView
|
||||||
android:id="@+id/lottie_view"
|
android:id="@+id/lottie_view"
|
||||||
android:adjustViewBounds="true"
|
android:adjustViewBounds="true"
|
||||||
android:maxWidth="412dp"
|
android:maxWidth="@dimen/settingslib_illustration_width"
|
||||||
android:layout_width="wrap_content"
|
android:layout_width="wrap_content"
|
||||||
android:layout_height="match_parent"
|
android:layout_height="match_parent"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
@@ -44,8 +44,8 @@
|
|||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/middleground_layout"
|
android:id="@+id/middleground_layout"
|
||||||
android:layout_width="412dp"
|
android:layout_width="@dimen/settingslib_illustration_width"
|
||||||
android:layout_height="300dp"
|
android:layout_height="@dimen/settingslib_illustration_height"
|
||||||
android:padding="@dimen/settingslib_illustration_padding"
|
android:padding="@dimen/settingslib_illustration_padding"
|
||||||
android:background="@android:color/transparent"
|
android:background="@android:color/transparent"
|
||||||
android:layout_gravity="center"
|
android:layout_gravity="center"
|
||||||
|
|||||||
@@ -18,4 +18,7 @@
|
|||||||
<resources>
|
<resources>
|
||||||
<!-- Padding of illustration -->
|
<!-- Padding of illustration -->
|
||||||
<dimen name="settingslib_illustration_padding">12dp</dimen>
|
<dimen name="settingslib_illustration_padding">12dp</dimen>
|
||||||
|
|
||||||
|
<dimen name="settingslib_illustration_width">412dp</dimen>
|
||||||
|
<dimen name="settingslib_illustration_height">300dp</dimen>
|
||||||
</resources>
|
</resources>
|
||||||
|
|||||||
Reference in New Issue
Block a user