consistent redbox theme, bigger text and spacing

Differential Revision: D2569981

fb-gh-sync-id: 20b9bfc6801544795d6d13aa029ae5e1f5ee1dee
This commit is contained in:
Felix Oghină
2015-10-22 03:38:04 -07:00
committed by facebook-github-bot-7
parent 8c18a24277
commit ff17789e98
4 changed files with 10 additions and 6 deletions

View File

@@ -2,14 +2,17 @@
android:layout_width="match_parent"
android:layout_height="match_parent"
android:orientation="vertical"
android:padding="8dp"
android:paddingTop="8dp"
android:paddingBottom="8dp"
android:paddingLeft="16dp"
android:paddingRight="16dp"
>
<TextView
android:id="@+id/rn_frame_method"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@android:color/white"
android:textSize="10sp"
android:textSize="14sp"
android:fontFamily="monospace"
/>
<TextView
@@ -17,7 +20,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="#E6B8B8"
android:textSize="8sp"
android:textSize="12sp"
android:fontFamily="monospace"
/>
</LinearLayout>

View File

@@ -2,9 +2,9 @@
android:id="@+id/catalyst_redbox_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:padding="8dp"
android:padding="16dp"
android:gravity="center_vertical"
android:textColor="@android:color/white"
android:textSize="14sp"
android:textSize="16sp"
android:textStyle="bold"
/>

View File

@@ -15,6 +15,7 @@
android:id="@+id/rn_redbox_reloadjs"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:text="@string/catalyst_reloadjs"
/>
</LinearLayout>

View File

@@ -2,7 +2,7 @@
<resources>
<style name="Theme"/>
<style name="Theme.Catalyst"/>
<style name="Theme.Catalyst.RedBox">
<style name="Theme.Catalyst.RedBox" parent="@style/Theme.AppCompat.DialogWhenLarge">
<item name="android:windowBackground">@color/catalyst_redbox_background</item>
<item name="android:windowAnimationStyle">@style/Animation.Catalyst.RedBox</item>
<item name="android:inAnimation">@android:anim/fade_in</item>